Cod sursa(job #529464)
Utilizator | Data | 5 februarie 2011 03:18:08 | |
---|---|---|---|
Problema | A+B | Scor | 100 |
Compilator | cpp | Status | done |
Runda | Arhiva de probleme | Marime | 0.18 kb |
#include<fstream.h>
#include<stdio.h>
ifstream f("adunare.in");
ofstream g("adunare.out");
int main(){
int a,b;
f>>a>>b;
g<<(a+b);
f.close();
g.close();
return 0;
}