Cod sursa(job #516239)
Utilizator | Data | 23 decembrie 2010 13:55:29 | |
---|---|---|---|
Problema | A+B | Scor | 0 |
Compilator | cpp | Status | done |
Runda | Arhiva de probleme | Marime | 0.25 kb |
// Training.cpp : Defines the entry point for the console application.
//
#include "stdio.h"
#include "fstream"
int main () {
int a,b;
ifstream f ("adunare.in");
ofstream r ("adunare.out");
f >> a;
f >> b;
r << a+b;
return 0;
}