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