Borderou de evaluare (job #2718871)

Utilizator EckchartZgarcea Robert-Andrei Eckchart Data 9 martie 2021 12:08:43
Problema Compus Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 100

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:37:50: warning: suggest parentheses around arithmetic in operand of '^' [-Wparentheses] res += max(0, get_nr_mod2(right_bound, M & 1 ^ nr_carbins & 1) - get_nr_mod2(left_bound - 1, M & 1 ^ nr_carbins & 1)); ~~^~~ main.cpp:37:104: warning: suggest parentheses around arithmetic in operand of '^' [-Wparentheses] res += max(0, get_nr_mod2(right_bound, M & 1 ^ nr_carbins & 1) - get_nr_mod2(left_bound - 1, M & 1 ^ nr_carbins & 1)); ~~^~~
Test Timp executie Memorie folosita Mesaj Punctaj/test
12ms131kbOK10
22ms131kbOK10
32ms131kbOK10
42ms131kbOK10
53ms131kbOK10
63ms131kbOK10
73ms131kbOK10
83ms131kbOK10
94ms131kbOK10
104ms131kbOK10
Punctaj total100

Ceva nu functioneaza?