Borderou de evaluare (job #2285576)

Utilizator Moise_AndreiMoise Andrei Moise_Andrei Data 18 noiembrie 2018 19:04:18
Problema Calatorie interplanetara Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Compilare: main.cpp: In function 'void solve()': main.cpp:29:28: warning: iteration 505 invokes undefined behavior [-Waggressive-loop-optimizations] if(mx > dp[1 - l][j] + 1LL * j * j * j * j) ~~~~~~~~~~~^ main.cpp:28:22: note: within this loop for(int j = 0; j <= 505; j ++) ~~^~~~~~ main.cpp:23:35: warning: iteration 505 invokes undefined behavior [-Waggressive-loop-optimizations] dp[l][j] = dp[1 - l][j] + a; ~~~~~~~~~~~^ main.cpp:21:26: note: within this loop for(int j = 0; j <= 505; j ++) ~~^~~~~~
Test Timp executie Memorie folosita Mesaj Punctaj/test
121ms131kbIncorect0
Punctaj total0

Ceva nu functioneaza?