Cod sursa(job #572579)
Utilizator | Data | 5 aprilie 2011 14:15:14 | |
---|---|---|---|
Problema | A+B | Scor | 100 |
Compilator | cpp | Status | done |
Runda | Arhiva de probleme | Marime | 0.18 kb |
#include <fstream>
using namespace std;
int main(){
ifstream f("adunare.in");
ofstream g("adunare.out");
long a;
long b;
f >> a;
f >> b;
long c;
c = a+b;
g << c;
}