Cod sursa(job #246186)
Utilizator | Data | 20 ianuarie 2009 11:32:01 | |
---|---|---|---|
Problema | Fructe | Scor | 0 |
Compilator | cpp | Status | done |
Runda | Arhiva de probleme | Marime | 0.18 kb |
#include <stdio.h>
long x, y, t, i;
int main(void)
{
scanf("%ld", &t);
for (i=1;i<=t;i++)
{
scanf("%ld%ld", &x, &y);
printf("%ld\n", y%2);
}
fcloseall();
return 0;
}