Borderou de evaluare (job #580433)

Utilizator avatar vlad_TT Vlad Tutunaru vlad_TT IP ascuns
Problemă Numar permutări unice Compilator cpp-32
Rundă Arhiva de probleme Status evaluat
Dată 31 ian. 2021 12:44:08 Scor 100

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:28:16: warning: iteration 19 invokes undefined behavior [-Waggressive-loop-optimizations] 28 | if (f[i] > maxx) | ~~~^ main.cpp:26:23: note: within this loop 26 | for (int i = 1; i <= 20; i++) | ~~^~~~~ main.cpp:41:16: warning: iteration 19 invokes undefined behavior [-Waggressive-loop-optimizations] 41 | if (f[i] > 0 && i != ind) | ~~~^ main.cpp:39:23: note: within this loop 39 | for (int i = 1; i <= 20; i++) | ~~^~~~~ main.cpp:41:22: warning: 'ind' may be used uninitialized in this function [-Wmaybe-uninitialized] 41 | if (f[i] > 0 && i != ind) | ~~~~~~~~~^~~~~~~~~~~
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 1 ms 262 kb OK 10
2 1 ms 262 kb OK 10
3 1 ms 262 kb OK 10
4 1 ms 262 kb OK 10
5 1 ms 262 kb OK 10
6 1 ms 262 kb OK 10
7 1 ms 262 kb OK 10
8 1 ms 262 kb OK 10
9 1 ms 262 kb OK 10
10 1 ms 262 kb OK 10
Punctaj total 100