Borderou de evaluare (job #2211687)

Utilizator PetyAlexandru Peticaru Pety Data 11 iunie 2018 13:21:48
Problema Hacker3 Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 10

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:18:20: warning: iteration 54 invokes undefined behavior [-Waggressive-loop-optimizations] dp[i % 2][j] = min(dp[(i - 1) % 2][j - 1] + (a << (j - 1)), dp[(i - 1) % 2][j] + (b << j)); ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ user.cpp:17:23: note: within this loop for (int j = 1; j <= 55; j++) ~~^~~~~
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
10ms1320kbIncorect00
20ms1320kbOK55
30ms1320kbIncorect00
40ms1316kbOK55
50ms1320kbIncorect00
60ms1324kbIncorect00
70ms1324kbIncorect00
80ms1324kbIncorect00
912ms1320kbIncorect00
1012ms1324kbIncorect0
1112ms1320kbIncorect0
1212ms1320kbIncorect0
1312ms1328kbIncorect0
1412ms1320kbIncorect0
15124ms1320kbIncorect00
16128ms1324kbIncorect0
17128ms1328kbIncorect0
18128ms1324kbIncorect0
19132ms1324kbIncorect0
20152ms1324kbIncorect0
Punctaj total10

Ceva nu functioneaza?