Finished 2 of usaco
This commit is contained in:
25
usaco/ch1/beads.cpp
Normal file
25
usaco/ch1/beads.cpp
Normal file
@@ -0,0 +1,25 @@
|
||||
/*
|
||||
ID: philipp17
|
||||
PROG: beads
|
||||
LANG: C++
|
||||
*/
|
||||
/* LANG can be C++11 or C++14 for those more recent releases */
|
||||
#include <iostream>
|
||||
#include <fstream>
|
||||
#include <string>
|
||||
|
||||
using namespace std;
|
||||
|
||||
int main() {
|
||||
ofstream fout ("beads.out");
|
||||
ifstream fin ("beads.in");
|
||||
|
||||
int n;
|
||||
string s;
|
||||
|
||||
fin >> n >> s;
|
||||
|
||||
|
||||
|
||||
return 0;
|
||||
}
|
||||
Reference in New Issue
Block a user