Borderou de evaluare (job #715790)

Utilizator avatar Fryday P. Zixuan Fryday IP ascuns
Problemă Unificare (clasa a 6-a) Compilator cpp-32
Rundă Arhiva de probleme Status evaluat
Dată 19 apr. 2023 20:50:55 Scor 20

Raport evaluator

Compilare: main.cpp: In function 'void uni(std::string, long long int*, bool*)': main.cpp:15:9: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 15 | for(char& c : st) | ^~~ main.cpp:21:13: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 21 | for(int i=1;i<=9;i++) | ^~~ main.cpp: In function 'int main()': main.cpp:102:21: warning: iteration 8 invokes undefined behavior [-Waggressive-loop-optimizations] 102 | r[d]=0; | ~~~~^~ main.cpp:101:26: note: within this loop 101 | for(int d=1;d<=9;d++) | ~^~~ main.cpp:108:28: warning: iteration 8 invokes undefined behavior [-Waggressive-loop-optimizations] 108 | rr[i][j]=r[j]; | ~~~^ main.cpp:106:26: note: within this loop 106 | for(int j=1;j<=9;j++) | ~^~~ main.cpp:55:21: warning: iteration 8 invokes undefined behavior [-Waggressive-loop-optimizations] 55 | r[i]=0; | ~~~~^~ main.cpp:54:25: note: within this loop 54 | for(int i=1;i<=9;i++) | ~^~~ main.cpp:62:28: warning: iteration 8 invokes undefined behavior [-Waggressive-loop-optimizations] 62 | rr[i][j]=r[j]; | ~~~^ main.cpp:60:26: note: within this loop 60 | for(int j=1;j<=9;j++) | ~^~~ main.cpp:115:24: warning: array subscript 10 is above array bounds of 'int [10]' [-Warray-bounds] 115 | if(rr[i][10]>rr[maxi][10])maxi=i; | ~~~~~~~~^ main.cpp:115:37: warning: array subscript 10 is above array bounds of 'int [10]' [-Warray-bounds] 115 | if(rr[i][10]>rr[maxi][10])maxi=i; | ~~~~~~~~~~~^ main.cpp:111:21: warning: array subscript 10 is above array bounds of 'int [10]' [-Warray-bounds] 111 | rr[i][10]=sum; | ~~~~~~~~^ main.cpp:72:24: warning: array subscript 10 is above array bounds of 'int [10]' [-Warray-bounds] 72 | if(rr[i][10]>rr[maxi][10])maxi=i; | ~~~~~~~~^ main.cpp:72:37: warning: array subscript 10 is above array bounds of 'int [10]' [-Warray-bounds] 72 | if(rr[i][10]>rr[maxi][10])maxi=i; | ~~~~~~~~~~~^ main.cpp:65:21: warning: array subscript 10 is above array bounds of 'int [10]' [-Warray-bounds] 65 | rr[i][10]=sum; | ~~~~~~~~^
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 9 ms 2600 kb OK 4
2 9 ms 2605 kb OK 4
3 9 ms 2600 kb OK 4
4 109 ms 4308 kb OK 4
5 89 ms 4046 kb OK 4
6 9 ms 2605 kb Killed by Signal 11 0
7 10 ms 2605 kb Killed by Signal 7 0
8 209 ms 2555 kb Time limit exceeded 0
9 9 ms 2605 kb Killed by Signal 11 0
10 9 ms 2867 kb Killed by Signal 11 0
11 39 ms 4702 kb Killed by Signal 11 0
12 9 ms 2605 kb Killed by Signal 11 0
13 79 ms 6533 kb Killed by Signal 11 0
14 9 ms 2605 kb Incorect 0
15 9 ms 2605 kb Incorect 0
16 29 ms 3129 kb Incorect 0
17 206 ms 3129 kb Time limit exceeded 0
18 209 ms 2605 kb Time limit exceeded 0
19 209 ms 2605 kb Time limit exceeded 0
Punctaj total 20