Cod sursa(job #151680)
Utilizator | Data | 8 martie 2008 15:09:03 | |
---|---|---|---|
Problema | Fructe | Scor | 100 |
Compilator | cpp | Status | done |
Runda | Arhiva de probleme | Marime | 0.25 kb |
#include <stdio.h>
int main()
{
freopen("fructe.in","r",stdin);
freopen("fructe.out","w",stdout);
int b,t;
scanf("%d",&t);
while (t--) scanf("%d%d", &b,&b), printf("%d\n", (b&1));
return 0;
}