Cod sursa(job #65533)
Utilizator | Data | 10 iunie 2007 17:53:39 | |
---|---|---|---|
Problema | A+B | Scor | 100 |
Compilator | cpp | Status | done |
Runda | Arhiva de probleme | Marime | 0.2 kb |
#include <stdio.h>
int main()
{
freopen("adunare.in","r",stdin);
freopen("adunare.out","w",stdout);
int A,B;
scanf("%d%d", &A,&B);
while(B)
++A, --B;
printf("%d\n", A);
return 0;
}