Cod sursa(job #5583)
Utilizator | Data | 13 ianuarie 2007 12:56:27 | |
---|---|---|---|
Problema | A+B | Scor | 100 |
Compilator | cpp | Status | done |
Runda | Arhiva de probleme | Marime | 0.28 kb |
#include <cstdio>
using namespace std;
const char iname[] = "adunare.in";
const char oname[] = "adunare.out";
int main(void) {
freopen(iname, "r", stdin);
int a;
int b;
scanf("%d %d", & a, & b);
freopen(oname, "w", stdout);
printf("%d", a + b);
return 0;
}