Cod sursa(job #1436969)
Utilizator | Data | 16 mai 2015 17:59:26 | |
---|---|---|---|
Problema | A+B | Scor | 100 |
Compilator | cpp | Status | done |
Runda | Arhiva de probleme | Marime | 0.18 kb |
#include <iostream>
#include <fstream>
using namespace std;
ifstream file("adunare.in");
ofstream file2("adunare.out");
int a,b;
int main(){
file >> a >> b;
file2 << a+b << endl;
}