Cod sursa(job #691394)
Utilizator | Data | 26 februarie 2012 11:50:06 | |
---|---|---|---|
Problema | A+B | Scor | 100 |
Compilator | cpp | Status | done |
Runda | Arhiva de probleme | Marime | 0.19 kb |
#include <fstream>
using namespace std;
int main() {
ifstream fin("adunare.in");
int a,b;
fin>>a>>b;
fin.close();
int s=a+b;
ofstream fout("adunare.out");
fout<<s;
fout.close();
}