Cod sursa(job #1685509)
Utilizator | Data | 11 aprilie 2016 18:26:30 | |
---|---|---|---|
Problema | A+B | Scor | 100 |
Compilator | cpp | Status | done |
Runda | Arhiva de probleme | Marime | 0.16 kb |
#include<iostream>
#include<fstream>
using namespace std;
int main()
{
int a,b;
ifstream q("adunare.in");
ofstream w("adunare.out");
q>>a;
q>>b;
w<<a+b;
}