Borderou de evaluare (job #2789309)

Utilizator mateitudordmDumitru Matei mateitudordm Data 27 octombrie 2021 13:04:15
Problema Bool Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 30

Raport evaluator

Compilare: main.cpp: In function 'bool fact()': main.cpp:51:39: warning: array subscript has type 'char' [-Wchar-subscripts] 51 | return bool(int((val[s[ind - 1]] + ok) % 2)); | ~~~~~~~~~^ main.cpp: In function 'int main()': main.cpp:87:13: warning: array subscript has type 'char' [-Wchar-subscripts] 87 | val[ch] = bool(int((val[ch] + 1) % 2)); | ^~ main.cpp:87:33: warning: array subscript has type 'char' [-Wchar-subscripts] 87 | val[ch] = bool(int((val[ch] + 1) % 2)); | ^~ main.cpp:74:15: warning: unused variable 'j' [-Wunused-variable] 74 | int n, i, j, p = 0; | ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
11ms184kbIncorect0
21ms184kbOK10
31ms184kbIncorect0
41ms184kbOK10
51ms184kbIncorect0
61ms184kbIncorect0
72ms184kbIncorect0
81ms184kbIncorect0
91ms188kbIncorect0
101ms184kbOK10
Punctaj total30

Ceva nu functioneaza?