Borderou de evaluare (job #645905)

Utilizator avatar vlad_n Vlad Negut vlad_n IP ascuns
Problemă Spider (clasa a 6-a) Compilator cpp-32
Rundă so2022-faza_pe_parcare Status evaluat
Dată 1 apr. 2022 10:30:57 Scor 100

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:52:26: warning: array subscript 3 is above array bounds of 'int [3]' [-Warray-bounds] 52 | c[zile][3]=max(poz, rigged); | ~~~~~~~~~^ main.cpp:8:5: note: while referencing 'c' 8 | int c[101][3]; | ^ main.cpp:34:26: warning: array subscript 3 is above array bounds of 'int [3]' [-Warray-bounds] 34 | c[zile][3]=max(poz, rigged); | ~~~~~~~~~^ main.cpp:8:5: note: while referencing 'c' 8 | int c[101][3]; | ^ main.cpp:76:52: warning: array subscript 3 is above array bounds of 'int [3]' [-Warray-bounds] 76 | fout<<c[i][1]<<" "<<c[i][2]<<" "<<c[i][3]<<"\n"; | ^~~~ main.cpp:8:5: note: while referencing 'c' 8 | int c[101][3]; | ^ main.cpp:73:22: warning: array subscript 3 is above array bounds of 'int [3]' [-Warray-bounds] 73 | swap(c[poz][3], c[u][3]); | ~~~~~~~~^ main.cpp:8:5: note: while referencing 'c' 8 | int c[101][3]; | ^ main.cpp:73:31: warning: array subscript 3 is above array bounds of 'int [3]' [-Warray-bounds] 73 | swap(c[poz][3], c[u][3]); | ~~~~~~^ main.cpp:8:5: note: while referencing 'c' 8 | int c[101][3]; | ^ main.cpp:73:22: warning: array subscript 3 is above array bounds of 'int [3]' [-Warray-bounds] 73 | swap(c[poz][3], c[u][3]); | ~~~~~~~~^ main.cpp:8:5: note: while referencing 'c' 8 | int c[101][3]; | ^ main.cpp:73:31: warning: array subscript 3 is above array bounds of 'int [3]' [-Warray-bounds] 73 | swap(c[poz][3], c[u][3]); | ~~~~~~^ main.cpp:8:5: note: while referencing 'c' 8 | int c[101][3]; | ^
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 1 ms 114 kb OK 10
2 2 ms 114 kb OK 10
3 1 ms 114 kb OK 10
4 1 ms 114 kb OK 10
5 1 ms 114 kb OK 10
6 1 ms 114 kb OK 10
7 1 ms 114 kb OK 10
8 1 ms 241 kb OK 10
9 1 ms 241 kb OK 10
10 1 ms 245 kb OK 10
Punctaj total 100