Borderou de evaluare (job #3146393)

Utilizator daristyleBejan Darius-Ramon daristyle Data 20 august 2023 20:19:59
Problema Caps Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:74:21: warning: array subscript has type 'char' [-Wchar-subscripts] 74 | freq[0][code(s[0])][0] = 1; | ~~~~^~~~~~ main.cpp:75:21: warning: array subscript has type 'char' [-Wchar-subscripts] 75 | freq[1][code(applyCaps(s[0]))][0] = 1; | ~~~~^~~~~~~~~~~~~~~~~ main.cpp:80:31: warning: array subscript has type 'char' [-Wchar-subscripts] 80 | ++freq[0][code(s[i])][i]; | ~~~~^~~~~~ main.cpp:81:31: warning: array subscript has type 'char' [-Wchar-subscripts] 81 | ++freq[1][code(applyCaps(s[i]))][i]; | ~~~~^~~~~~~~~~~~~~~~~ main.cpp:89:63: warning: array subscript has type 'char' [-Wchar-subscripts] 89 | long long aparitons = noCapsSeq * freq[0][code(letter)][strlen - 1] + capsSeq * freq[1][code(letter)][strlen - 1] + | ~~~~^~~~~~~~ main.cpp:89:109: warning: array subscript has type 'char' [-Wchar-subscripts] 89 | long long aparitons = noCapsSeq * freq[0][code(letter)][strlen - 1] + capsSeq * freq[1][code(letter)][strlen - 1] + | ~~~~^~~~~~~~ main.cpp:90:54: warning: array subscript has type 'char' [-Wchar-subscripts] 90 | freq[caps][code(letter)][pos]; | ~~~~^~~~~~~~
Test Timp executie Memorie folosita Mesaj Punctaj/test
112ms401kbKilled by Signal 110
212ms430kbKilled by Signal 110
312ms393kbKilled by Signal 110
412ms393kbKilled by Signal 110
512ms446kbKilled by Signal 110
612ms425kbKilled by Signal 110
712ms397kbKilled by Signal 110
812ms397kbKilled by Signal 110
912ms389kbKilled by Signal 110
1012ms413kbKilled by Signal 110
112ms397kbKilled by Signal 110
122ms401kbKilled by Signal 110
132ms397kbKilled by Signal 110
142ms401kbKilled by Signal 110
152ms438kbKilled by Signal 110
162ms393kbKilled by Signal 110
1713ms393kbKilled by Signal 110
1812ms393kbKilled by Signal 110
1912ms397kbKilled by Signal 110
Punctaj total0

Ceva nu functioneaza?