Cod sursa(job #2438985)

Utilizator mihnea.anghelMihnea Anghel mihnea.anghel Data 14 iulie 2019 15:21:57
Problema Fructe Scor 100
Compilator cpp-64 Status done
Runda Arhiva de probleme Marime 0.21 kb
#include <fstream>

using namespace std;
ifstream in("fructe.in");
ofstream out("fructe.out");
int t,p,b;

int main(){
    in>>t;
    for( ;t--; ){
        in>>p>>b;
        out << b%2 << "\n";
    }
    return 0;
}