Cod sursa(job #1946335)

Utilizator tamionvTamio Vesa Nakajima tamionv Data 30 martie 2017 08:17:25
Problema Fructe Scor 100
Compilator cpp Status done
Runda Arhiva de probleme Marime 0.22 kb
#include <bits/stdc++.h>
using namespace std;

int main(){
    ifstream f("fructe.in");
    ofstream g("fructe.out");

    int t;
    f >> t;
    for(int i = 0, x, y; i < t; ++i) f >> x >> y, g << y%2 << '\n';
    return 0; }