Cod sursa(job #1779530)
Utilizator | Data | 15 octombrie 2016 13:42:39 | |
---|---|---|---|
Problema | A+B | Scor | 100 |
Compilator | cpp | Status | done |
Runda | Arhiva de probleme | Marime | 0.17 kb |
#include <fstream>
using namespace std;
int a,b,x;
int main()
{
ifstream f ("adunare.in");
ofstream g ("adunare.out");
f>>a>>b;
x=a+b;
g<<x;
return 0;}