Cod sursa(job #696260)
| Utilizator | Data | 28 februarie 2012 17:45:26 | |
|---|---|---|---|
| Problema | A+B | Scor | 100 |
| Compilator | cpp | Status | done |
| Runda | Lista lui wefgef | Marime | 0.24 kb |
#include <cstdio>
long int a, b ;
int main () {
freopen ( "adunare.in", "r", stdin ) ;
scanf ( "%ld\n%ld", &a, &b ) ;
fclose ( stdin ) ;
freopen ( "adunare.out", "w", stdout ) ;
printf ( "%ld\n", a+b ) ;
fclose ( stdout ) ;
return 0 ;
}