Borderou de evaluare (job #3146035)

Utilizator andiRTanasescu Andrei-Rares andiR Data 18 august 2023 01:42:03
Problema Caps Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 100

Raport evaluator

Compilare: main.cpp: In function 'void detc()': main.cpp:18:15: warning: comparison of integer expressions of different signedness: 'ull' {aka 'long long unsigned int'} and 'int' [-Wsign-compare] 18 | while (pos>n){ | ~~~^~ main.cpp:21:19: warning: comparison of integer expressions of different signedness: 'ull' {aka 'long long unsigned int'} and 'int' [-Wsign-compare] 21 | if (pv==n){ | ~~^~~ main.cpp:39:19: warning: comparison of integer expressions of different signedness: 'ull' {aka 'long long unsigned int'} and 'int' [-Wsign-compare] 39 | if (pv==n){ | ~~^~~ main.cpp:61:31: warning: array subscript has type 'char' [-Wchar-subscripts] 61 | sol+=sp[pos-1][tr[s[pos-1]]]; | ^ main.cpp:64:23: warning: array subscript has type 'char' [-Wchar-subscripts] 64 | a+=sp[n-1][tr[ch]]; | ^~ main.cpp:65:23: warning: array subscript has type 'char' [-Wchar-subscripts] 65 | b+=sp[n-1][tr[nch]]; | ^~~ main.cpp:68:23: warning: array subscript has type 'char' [-Wchar-subscripts] 68 | b+=sp[n-1][tr[ch]]; | ^~ main.cpp:69:23: warning: array subscript has type 'char' [-Wchar-subscripts] 69 | a+=sp[n-1][tr[nch]]; | ^~~ main.cpp: In function 'int main()': main.cpp:82:18: warning: array subscript has type 'char' [-Wchar-subscripts] 82 | sp[0][tr[s[0]]]=1; | ^ main.cpp:88:22: warning: array subscript has type 'char' [-Wchar-subscripts] 88 | sp[i][tr[s[i]]]++; | ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms303kbCorect10
20ms303kbCorect5
30ms303kbCorect5
40ms303kbCorect5
54ms1081kbCorect5
65ms1609kbCorect5
74ms1605kbCorect5
86ms2129kbCorect5
90ms823kbCorect5
101ms1081kbCorect5
111ms819kbCorect5
121ms1081kbCorect5
139ms5537kbCorect5
149ms8945kbCorect5
1519ms17711kbCorect5
1619ms21286kbCorect5
1724ms22679kbCorect5
1829ms24068kbCorect5
1934ms25444kbCorect5
Punctaj total100

Ceva nu functioneaza?