Borderou de evaluare (job #2751868)

Utilizator NeacsuMihaiNeacsu Mihai NeacsuMihai Data 15 mai 2021 23:26:53
Problema Hacker3 Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:37:31: warning: statement has no effect [-Wunused-value] bst[slow - 1] + A * ( 1LL << (slow - 1) ); // bst[i - 1][slow / 2] + v[i].A * putere(2, slow / 2); ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ main.cpp:42:58: warning: left operand of comma operator has no effect [-Wunused-value] candidat2 = bst[slow] + B * ( 1LL << (2, slow) ); // bst[i - 1][slow] + v[i].B * putere(2, slow); ^~~~ main.cpp:36:28: warning: iteration 31 invokes undefined behavior [-Waggressive-loop-optimizations] if(bst[slow - 1] != -1){ ~~~~~~~~~~~~^ main.cpp:34:35: note: within this loop for(int slow = PMAX; slow >= 0; slow--){ ~~~~~^~~~
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
12ms131kbIncorect00
22ms131kbIncorect00
32ms131kbIncorect00
42ms131kbIncorect00
53ms131kbIncorect00
63ms131kbIncorect00
73ms131kbIncorect00
83ms131kbIncorect00
96ms131kbIncorect00
106ms131kbIncorect0
116ms131kbIncorect0
126ms131kbIncorect0
136ms131kbIncorect0
146ms131kbIncorect0
1539ms131kbIncorect00
1642ms131kbIncorect0
1739ms131kbIncorect0
1839ms131kbIncorect0
1944ms131kbIncorect0
2055ms131kbIncorect0
Punctaj total0

Ceva nu functioneaza?