Borderou de evaluare (job #2371435)

Utilizator alex2kamebossPuscasu Alexandru alex2kameboss Data 6 martie 2019 17:37:44
Problema Troll Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 100

Raport evaluator

Compilare: main.cpp: In function 'bool cmp(std::pair<std::pair<long long int, long long int>, long long int>, std::pair<std::pair<long long int, long long int>, long long int>)': main.cpp:17:42: warning: suggest parentheses around '&&' within '||' [-Wparentheses] a.first.second == b.first.second && a.first.first<b.first.first || ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.cpp:18:74: warning: suggest parentheses around '&&' within '||' [-Wparentheses] a.first.second == b.first.second && a.first.first==b.first.first && a.second<b.second; ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ main.cpp: In function 'int main()': main.cpp:34:34: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen("troll.in","r",stdin); ^ main.cpp:35:36: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen("troll.out","w",stdout); ^ main.cpp:37:20: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &n); ^ main.cpp:40:40: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%lld%lld%lld", &x,&y,&z); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
12ms131kbOK10
23ms131kbOK10
33ms131kbOK10
466ms1826kbOK10
567ms1826kbOK10
622ms720kbOK10
781ms1826kbOK10
853ms1826kbOK10
9110ms3395kbOK10
1013ms720kbOK10
Punctaj total100

Ceva nu functioneaza?