Cod sursa(job #708143)
Utilizator | Data | 6 martie 2012 14:53:58 | |
---|---|---|---|
Problema | A+B | Scor | 0 |
Compilator | cpp | Status | done |
Runda | Arhiva de probleme | Marime | 0.21 kb |
#include <iostream>
#include <fstream>
using namespace std;
int main(){
fstream befile("adunare.in");
fstream kifile("adunare.out");
long int a,b;
befile>>a;
befile>>b;
long int c=a+b;
kifile<<c;
}