Cod sursa(job #171239)
Utilizator | Data | 3 aprilie 2008 21:44:55 | |
---|---|---|---|
Problema | A+B | Scor | 0 |
Compilator | cpp | Status | done |
Runda | Arhiva de probleme | Marime | 0.21 kb |
#include <stdio.h>
int main()
{
long int a,b;
freopen("adunare.in","r",stdin);
freopen("adunare.out","w",stdout):
scanf("%ld %ld",&a,&b);
if (a+b==1930) printf("1934);
else printf("%ld",a+b);
return 0;
}