Borderou de evaluare (job #609943)

Utilizator avatar AndreiTrache Trache Andrei AndreiTrache IP ascuns
Problemă Arena Compilator cpp-32
Rundă Arhiva de probleme Status evaluat
Dată 12 oct. 2021 19:23:33 Scor 10

Raport evaluator

Compilare: main.cpp: In function 'bool compare(ura, ura)': main.cpp:17:7: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 17 | if(v1.n==v2.n) | ^ main.cpp: In function 'int main()': main.cpp:66:13: warning: array subscript 4 is above array bounds of 'ura [4][2005]' [-Warray-bounds] 66 | dp[gasca][1].n=1; | ~~~~~~~~^ main.cpp:9:5: note: while referencing 'dp' 9 | ura dp[4][2005],ans; | ^~ main.cpp:67:13: warning: array subscript 4 is above array bounds of 'ura [4][2005]' [-Warray-bounds] 67 | dp[gasca][1].v[1]=1; | ~~~~~~~~^ main.cpp:9:5: note: while referencing 'dp' 9 | ura dp[4][2005],ans; | ^~ main.cpp:75:13: warning: array subscript 4 is above array bounds of 'ura [4][2005]' [-Warray-bounds] 75 | dp[gasca][2].n=1; | ~~~~~~~~^ main.cpp:9:5: note: while referencing 'dp' 9 | ura dp[4][2005],ans; | ^~ main.cpp:76:13: warning: array subscript 4 is above array bounds of 'ura [4][2005]' [-Warray-bounds] 76 | dp[gasca][2].v[1]=3; | ~~~~~~~~^ main.cpp:9:5: note: while referencing 'dp' 9 | ura dp[4][2005],ans; | ^~ main.cpp:81:17: warning: array subscript 4 is above array bounds of 'ura [4][2005]' [-Warray-bounds] 81 | dp[gasca][i].n=0; | ~~~~~~~~^ main.cpp:9:5: note: while referencing 'dp' 9 | ura dp[4][2005],ans; | ^~
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 1 ms 131 kb OK 10
2 1 ms 258 kb Killed by Signal 11 0
3 1 ms 262 kb Killed by Signal 11 0
4 1 ms 258 kb Killed by Signal 11 0
5 1 ms 262 kb Killed by Signal 11 0
6 1 ms 258 kb Killed by Signal 11 0
7 1 ms 258 kb Killed by Signal 11 0
8 1 ms 258 kb Killed by Signal 11 0
9 1 ms 258 kb Killed by Signal 11 0
10 1 ms 262 kb Killed by Signal 11 0
Punctaj total 10