Borderou de evaluare (job #3373444)
Raport evaluator
Compilare:
main.cpp: In function 'void DFS(char)':
main.cpp:40:9: warning: unused variable 'ix_letter' [-Wunused-variable]
40 | int ix_letter;
| ^~~~~~~~~
main.cpp: In function 'int main()':
main.cpp:141:9: warning: unused variable 'curr' [-Wunused-variable]
141 | int curr = 0;
| ^~~~
main.cpp:142:10: warning: unused variable 'curr_char' [-Wunused-variable]
142 | char curr_char;
| ^~~~~~~~~
main.cpp: In function 'void assamble_result(char, int)':
main.cpp:82:46: warning: array subscript -1 is below array bounds of 'int [53]' [-Warray-bounds]
82 | if (k > nr_max_lengths[ordine(letter)]){
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
main.cpp:11:5: note: while referencing 'nr_max_lengths'
11 | int nr_max_lengths[53];
| ^~~~~~~~~~~~~~
main.cpp: In function 'int main()':
main.cpp:156:46: warning: array subscript -1 is below array bounds of 'int [53]' [-Warray-bounds]
156 | if (k > nr_max_lengths[ordine(letter)]){
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
main.cpp:11:5: note: while referencing 'nr_max_lengths'
11 | int nr_max_lengths[53];
| ^~~~~~~~~~~~~~
main.cpp:106:29: warning: array subscript -1 is below array bounds of 'int [53]' [-Warray-bounds]
106 | if (adj_ix[ordine(x)] == 0){
| ~~~~~~~~~~~~~~~~^
main.cpp:12:5: note: while referencing 'adj_ix'
12 | int adj_ix[53];
| ^~~~~~
main.cpp:112:29: warning: array subscript -1 is below array bounds of 'int [53]' [-Warray-bounds]
112 | if (adj_ix[ordine(y)] == 0){
| ~~~~~~~~~~~~~~~~^
main.cpp:12:5: note: while referencing 'adj_ix'
12 | int adj_ix[53];
| ^~~~~~
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 303kb | OK | 10 |
| 2 | 0ms | 303kb | OK | 10 |
| 3 | 0ms | 303kb | OK | 10 |
| 4 | 0ms | 303kb | OK | 10 |
| 5 | 0ms | 303kb | OK | 10 |
| 6 | 0ms | 303kb | OK | 10 |
| 7 | 0ms | 303kb | OK | 10 |
| 8 | 0ms | 303kb | OK | 10 |
| 9 | 0ms | 303kb | OK | 10 |
| 10 | 0ms | 303kb | OK | 10 |
| Punctaj total | 100 |