Cod sursa(job #680982)
Utilizator | Data | 16 februarie 2012 12:39:58 | |
---|---|---|---|
Problema | A+B | Scor | 0 |
Compilator | cpp | Status | done |
Runda | Arhiva de probleme | Marime | 0.19 kb |
#include <iostream>
#include <fstream>
int a,b;
using namespace std;
fstream f("adunare.in");
ofstream g("adunare.out");
int main()
{
f>>a;
f>>b;
g<<a+b;
return 0;
}