Borderou de evaluare (job #642653)

Utilizator avatar divaddd David Curca divaddd IP ascuns
Problemă Medalion (clasa a 6-a) Compilator cpp-32
Rundă Arhiva de probleme Status evaluat
Dată 21 mar. 2022 01:52:38 Scor 100

Raport evaluator

Compilare: main.cpp: In function 'int maxiSum(long long unsigned int)': main.cpp:18:22: warning: comparison of integer expressions of different signedness: 'int' and 'long long unsigned int' [-Wsign-compare] 18 | for(int i = 2; i <= mij; i++){ | ~~^~~~~~ main.cpp:25:30: warning: comparison of integer expressions of different signedness: 'int' and 'long long unsigned int' [-Wsign-compare] 25 | for(int j = row+1; j <= row+i-1+max(0, i-2); j++){ | ~~^~~~~~~~~~~~~~~~~~~~~~ main.cpp:30:30: warning: comparison of integer expressions of different signedness: 'int' and 'long long unsigned int' [-Wsign-compare] 30 | for(int j = col-1; j >= col-i-max(0, i-2); j--){ | ~~^~~~~~~~~~~~~~~~~~~~ main.cpp:35:33: warning: comparison of integer expressions of different signedness: 'int' and 'long long unsigned int' [-Wsign-compare] 35 | for(int j = lstRow-1; j >= lstRow-i-max(0, i-2); j--){ | ~~^~~~~~~~~~~~~~~~~~~~~~~ main.cpp:39:33: warning: comparison of integer expressions of different signedness: 'int' and 'long long unsigned int' [-Wsign-compare] 39 | for(int j = lstCol+1; j <= row+1+(2*max(0, i-2)); j++){ | ~~^~~~~~~~~~~~~~~~~~~~~~~~ main.cpp:44:22: warning: comparison of integer expressions of different signedness: 'int' and 'long long unsigned int' [-Wsign-compare] 44 | for(int i = 1; i <= n; i++){ | ~~^~~~
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 1 ms 114 kb OK 10
2 1 ms 118 kb OK 10
3 1 ms 118 kb OK 10
4 7 ms 118 kb OK 10
5 8 ms 118 kb OK 10
6 1 ms 118 kb OK 10
7 1 ms 118 kb OK 10
8 1 ms 118 kb OK 10
9 1 ms 118 kb OK 10
10 1 ms 114 kb OK 10
Punctaj total 100