Cod sursa(job #1698986)
Utilizator | Data | 5 mai 2016 19:52:13 | |
---|---|---|---|
Problema | A+B | Scor | 100 |
Compilator | cpp | Status | done |
Runda | Arhiva de probleme | Marime | 0.2 kb |
#include <iostream>
#include <fstream>
using namespace std;
int A,B,S;
int main()
{ ifstream f("adunare.in");
ofstream g("adunare.out");
f>>A>>B;
S=A+B;
g<<S;
return 0;
}