Borderou de evaluare (job #2260714)

Utilizator Lazar_LaurentiuLazar Laurentiu Lazar_Laurentiu Data 15 octombrie 2018 14:41:27
Problema Caps Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 44

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:34:32: warning: array subscript has type 'char' [-Wchar-subscripts] for(ll i=1;i<=n;i++)ap[s[i]]++; ^ main.cpp:42:25: warning: array subscript has type 'char' [-Wchar-subscripts] ans=(nrr/2)*(ap[lt]+ap[caps(lt)]); ^ main.cpp:42:38: warning: array subscript has type 'char' [-Wchar-subscripts] ans=(nrr/2)*(ap[lt]+ap[caps(lt)]); ^ main.cpp:44:33: warning: array subscript has type 'char' [-Wchar-subscripts] if(!cpf)ans+=ap[caps(lt)]; ^ main.cpp:45:24: warning: array subscript has type 'char' [-Wchar-subscripts] else ans+=ap[lt]; ^ main.cpp:43:9: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if(nrr%2) ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
12ms131kbCorect10
22ms131kbPartial corect2
34ms131kbPartial corect2
44ms131kbPartial corect2
5210ms335kbPartial corect2
6345ms339kbPartial corect2
7470ms479kbPartial corect2
8602ms475kbPartial corect2
97ms131kbCorect5
109ms131kbCorect5
117ms131kbCorect5
129ms131kbCorect5
13803ms389kbTime limit exceeded0
14801ms425kbTime limit exceeded0
15803ms385kbTime limit exceeded0
16802ms405kbTime limit exceeded0
17803ms409kbTime limit exceeded0
18803ms413kbTime limit exceeded0
19803ms417kbTime limit exceeded0
Punctaj total44

Ceva nu functioneaza?