Borderou de evaluare (job #788809)

Utilizator avatar Iuri Iamandi Iuri Iuri IP ascuns
Problemă Trigrame (clasa a 7-a) Compilator cpp-32
Rundă Arhiva de probleme Status evaluat
Dată 30 sept. 2024 22:52:58 Scor 0

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:12:13: warning: array subscript has type 'char' [-Wchar-subscripts] 12 | cod[i] = i - '0'; | ^ main.cpp:14:13: warning: array subscript has type 'char' [-Wchar-subscripts] 14 | cod[i] = i - 'A' + 10; | ^ main.cpp:16:13: warning: array subscript has type 'char' [-Wchar-subscripts] 16 | cod[i] = i - 'a' + 36; | ^ main.cpp:19:23: warning: array subscript has type 'char' [-Wchar-subscripts] 19 | val = ++m[cod[a]][cod[b]][cod[c]]; | ^ main.cpp:19:31: warning: array subscript has type 'char' [-Wchar-subscripts] 19 | val = ++m[cod[a]][cod[b]][cod[c]]; | ^ main.cpp:19:39: warning: array subscript has type 'char' [-Wchar-subscripts] 19 | val = ++m[cod[a]][cod[b]][cod[c]]; | ^ main.cpp:16:14: warning: array subscript 97 is above array bounds of 'int [62]' [-Warray-bounds=] 16 | cod[i] = i - 'a' + 36; | ~~~~~^ main.cpp:5:5: note: while referencing 'cod' 5 | int cod[62], m[62][62][62]; | ^~~ main.cpp:14:14: warning: array subscript 65 is above array bounds of 'int [62]' [-Warray-bounds=] 14 | cod[i] = i - 'A' + 10; | ~~~~~^ main.cpp:5:5: note: while referencing 'cod' 5 | int cod[62], m[62][62][62]; | ^~~
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 1 ms 249 kb Killed by Signal 11 0
2 1 ms 249 kb Killed by Signal 11 0
3 1 ms 249 kb Killed by Signal 11 0
4 2 ms 462 kb Killed by Signal 11 0
5 8 ms 528 kb Killed by Signal 11 0
6 159 ms 1294 kb Killed by Signal 11 0
7 89 ms 770 kb Killed by Signal 11 0
8 129 ms 1032 kb Killed by Signal 11 0
9 159 ms 1052 kb Killed by Signal 11 0
10 159 ms 1294 kb Killed by Signal 11 0
Punctaj total 0