Cod sursa(job #809909)

Utilizator veleanduAlex Velea veleandu Data 9 noiembrie 2012 13:02:23
Problema Fructe Scor 100
Compilator cpp Status done
Runda Arhiva de probleme Marime 0.3 kb
#include <cstdio>
using namespace std;
int main(){
    freopen ("fructe.in","r",stdin);
    freopen ("fructe.out","w",stdout);
    int t;
    scanf ("%d", &t );
    for ( ; t; t-- )
    {
        int a;
        scanf ("%d %d", &a, &a );
        printf("%d\n", a&1);
    }
    return 0;
}