Cod sursa(job #65536)
| Utilizator | Data | 10 iunie 2007 17:54:16 | |
|---|---|---|---|
| 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;
}
