Cod sursa(job #1940574)
Utilizator | Data | 26 martie 2017 18:03:59 | |
---|---|---|---|
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;
fstream f("adunare.in",ios::in);
fstream g("adunare.out",ios::out);
int main()
{
f>>A>>B;
s=A+B;
g<<s;
return 0;
}