Borderou de evaluare (job #2930598)

Utilizator teochess2017Togan Teodor-Bogdan teochess2017 Data 28 octombrie 2022 20:49:22
Problema X si 0 Status done
Runda Arhiva ICPC Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Compilare: main.cpp: In function 'char simu(int, bool)': main.cpp:104:18: warning: array subscript has type 'char' [-Wchar-subscripts] 104 | if(mat[l][c] == '.'){ | ^ main.cpp:104:21: warning: array subscript has type 'char' [-Wchar-subscripts] 104 | if(mat[l][c] == '.'){ | ^ main.cpp:105:17: warning: array subscript has type 'char' [-Wchar-subscripts] 105 | mat[l][c] = 'X'; | ^ main.cpp:105:20: warning: array subscript has type 'char' [-Wchar-subscripts] 105 | mat[l][c] = 'X'; | ^ main.cpp:110:17: warning: array subscript has type 'char' [-Wchar-subscripts] 110 | mat[l][c] = '.'; | ^ main.cpp:110:20: warning: array subscript has type 'char' [-Wchar-subscripts] 110 | mat[l][c] = '.'; | ^ main.cpp:119:18: warning: array subscript has type 'char' [-Wchar-subscripts] 119 | if(mat[l][c] == '.'){ | ^ main.cpp:119:21: warning: array subscript has type 'char' [-Wchar-subscripts] 119 | if(mat[l][c] == '.'){ | ^ main.cpp:120:17: warning: array subscript has type 'char' [-Wchar-subscripts] 120 | mat[l][c] = '0'; | ^ main.cpp:120:20: warning: array subscript has type 'char' [-Wchar-subscripts] 120 | mat[l][c] = '0'; | ^ main.cpp:125:17: warning: array subscript has type 'char' [-Wchar-subscripts] 125 | mat[l][c] = '.'; | ^ main.cpp:125:20: warning: array subscript has type 'char' [-Wchar-subscripts] 125 | mat[l][c] = '.'; | ^ main.cpp: In function 'int citiretabla()': main.cpp:137:8: warning: variable 'ch' set but not used [-Wunused-but-set-variable] 137 | char ch; | ^~ main.cpp: In function 'char simu(int, bool)': main.cpp:133:10: warning: 'mima' may be used uninitialized in this function [-Wmaybe-uninitialized] 133 | return mima; | ^~~~
Test Timp executie Memorie folosita Mesaj Punctaj/test
1165ms8208kbMemory limit exceeded0
Punctaj total0

Ceva nu functioneaza?