C++ solutions, both training and real, are posted when possible; they are provided for reference purposes only.
Pages
▼
Thursday, March 22, 2012
Submitting Files
This one is really easy; copy, paste, upload... not much of a challenge!
/*
ID: victor4
PROG: test
LANG: C++
*/
#include <iostream>
#include <fstream>
#include <string>
using namespace std;
int main() {
ofstream fout ("test.out");
ifstream fin ("test.in");
int a, b;
fin >> a >> b;
fout << a+b << endl;
return 0;
}
No comments:
Post a Comment