Cod sursa(job #2321232)

Utilizator shantih1Alex S Hill shantih1 Data 15 ianuarie 2019 20:49:22
Problema Fructe Scor 100
Compilator cpp-64 Status done
Runda Arhiva de probleme Marime 0.21 kb
#include <iostream>
#include <fstream>

using namespace std;
ifstream fin("fructe.in");
ofstream fout("fructe.out");

int t,n;

int main() {
	
	fin>>t;
	while(t--)
	{
		fin>>n>>n;
		fout<<((n%2)?1:0)<<"\n";
	}
}