Borderou de evaluare (job #2947601)

Utilizator NutaAlexandruASN49K NutaAlexandru Data 26 noiembrie 2022 14:00:37
Problema Chess Tournament 2 Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 100

Raport evaluator

Compilare: main.cpp:2:144: warning: ISO C++ forbids declaration of 'main' with no type [-Wreturn-type] 2 | std::ifstream f("chess2.in");std::ofstream g("chess2.out");bool r(){int n,x,y,i=0,s=0;f>>n>>x>>y;x+=y;for(;i<n;i++){f>>y;s+=y;}return (x*n<s);}main(){int t;f>>t;while(t--){if(r()){g<<"Cheater\n";}else{g<<"Innocent\n";}}} | ^~~~
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms184kbOK10
20ms184kbOK10
30ms184kbOK10
40ms184kbOK10
50ms184kbOK10
60ms184kbOK10
70ms184kbOK10
80ms184kbOK10
90ms184kbOK10
100ms184kbOK10
Punctaj total100

Ceva nu functioneaza?