Cod sursa(job #1535731)

Utilizator george.stefanGeorge Stefan george.stefan Data 25 noiembrie 2015 04:28:37
Problema Fructe Scor 100
Compilator cpp Status done
Runda Arhiva de probleme Marime 0.37 kb
#include <iostream>
#include <stdio.h>

using namespace std;

int main()
{
    freopen("fructe.in", "r", stdin);
    freopen("fructe.out", "w", stdout);

    ios_base::sync_with_stdio(false);
    cin.tie(0);

    int t, b;

    cin >> t;

    for(int i = 0; i < t; i ++)
    {
        cin >> b >> b;
        printf("%d\n", b % 2);
    }
    return 0;
}