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