Cod sursa(job #12911)
Utilizator | Data | 5 februarie 2007 11:42:57 | |
---|---|---|---|
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\n", a + b);
return 0;
}