Cod sursa(job #1170130)
Utilizator | Data | 12 aprilie 2014 18:28:55 | |
---|---|---|---|
Problema | A+B | Scor | 100 |
Compilator | cpp | Status | done |
Runda | Arhiva de probleme | Marime | 0.17 kb |
#include <iostream>
#include <fstream>
using namespace std;
int main()
{int a,b,s;
ifstream f("adunare.in");
f>>a;
f>>b;
s=a+b;
ofstream g("adunare.out");
g<<s;
}