Borderou de evaluare (job #3171149)

Utilizator Teodor94Teodor Plop Teodor94 Data 18 noiembrie 2023 13:58:31
Problema Password1 Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 100

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:25:25: warning: array subscript has type 'char' [-Wchar-subscripts] 25 | ++extra[text[i++]]; | ~~~~~~~~^ main.cpp:29:26: warning: array subscript has type 'char' [-Wchar-subscripts] 29 | ++need[result[i++]]; | ~~~~~~~~~~^ main.cpp:44:24: warning: array subscript has type 'char' [-Wchar-subscripts] 44 | if (need[text[i]]) { | ~~~~~~^ main.cpp:46:43: warning: array subscript has type 'char' [-Wchar-subscripts] 46 | while (j && extra[result[j - 1]] && text[i] < result[j - 1]) { | ~~~~~~~~~~~~^ main.cpp:49:33: warning: array subscript has type 'char' [-Wchar-subscripts] 49 | --extra[result[j]]; | ~~~~~~~~^ main.cpp:50:32: warning: array subscript has type 'char' [-Wchar-subscripts] 50 | ++need[result[j]]; | ~~~~~~~~^ main.cpp:54:26: warning: array subscript has type 'char' [-Wchar-subscripts] 54 | --need[text[i]]; | ~~~~~~^ main.cpp:56:27: warning: array subscript has type 'char' [-Wchar-subscripts] 56 | --extra[text[i]]; | ~~~~~~^
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
10ms303kbOK728
20ms303kbOK7
30ms303kbOK7
40ms303kbOK7
50ms303kbOK735
60ms303kbOK7
71ms303kbOK7
81ms557kbOK7
99ms1347kbOK7
10108ms16048kbOK742
1134ms13242kbOK7
12218ms23281kbOK7
1324ms5271kbOK7
14332ms33202kbOK7
15337ms36339kbOK7
Punctaj total100

Ceva nu functioneaza?