Cod sursa(job #1095612)
Utilizator | Data | 31 ianuarie 2014 15:51:25 | |
---|---|---|---|
Problema | A+B | Scor | 100 |
Compilator | cpp | Status | done |
Runda | Arhiva de probleme | Marime | 0.39 kb |
#include <iostream>
#include <cstdio>
#include <algorithm>
/* run this program using the console pauser or add your own getch, system("pause") or input loop */
int main() {
freopen("adunare.in","r",stdin);
freopen("adunare.out","w",stdout);
int a;
int b;
scanf("%d", &a);
scanf("%d", &b);
int c = a + b;
printf("%d",c);
fclose(stdin);
fclose(stdout);
}