Borderou de evaluare (job #2639063)

Utilizator PredescuSebastianIonPredescu Sebastian Ion PredescuSebastianIon Data 31 iulie 2020 10:43:21
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:12:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(int i=0; i<b.size(); i++) ~^~~~~~~~~ main.cpp:14:16: warning: array subscript has type 'char' [-Wchar-subscripts] bb[b[i]]++; ^ main.cpp:16:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(int i=0; i<a.size(); i++) ~^~~~~~~~~ main.cpp:18:16: warning: array subscript has type 'char' [-Wchar-subscripts] aa[a[i]]++; ^ main.cpp:20:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(int i=0; i<b.size(); i++) ~^~~~~~~~~ main.cpp:22:19: warning: array subscript has type 'char' [-Wchar-subscripts] if(bb[b[i]]>aa[b[i]]) ^ main.cpp:22:28: warning: array subscript has type 'char' [-Wchar-subscripts] if(bb[b[i]]>aa[b[i]]) ^ main.cpp:28:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(int i=0; i<a.size(); i++) ~^~~~~~~~~ main.cpp:31:36: warning: array subscript has type 'char' [-Wchar-subscripts] while(!st.empty() and bb[ch] and ch<st.top() and bb[st.top()]+1<=aa[st.top()]) ^ main.cpp:36:17: warning: array subscript has type 'char' [-Wchar-subscripts] if(bb[ch]) ^ main.cpp:39:18: warning: array subscript has type 'char' [-Wchar-subscripts] bb[ch]--; ^ main.cpp:41:14: warning: array subscript has type 'char' [-Wchar-subscripts] aa[ch]--; ^
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
12ms131kbOK728
22ms131kbOK7
32ms131kbOK7
42ms131kbOK7
53ms131kbOK735
62ms131kbOK7
76ms393kbOK7
85ms524kbOK7
945ms1826kbOK7
10413ms29618kbOK742
11144ms17952kbOK7
12748ms39710kbOK7
13122ms15855kbOK7
141018ms49672kbOK7
151220ms49672kbOK7
Punctaj total100

Ceva nu functioneaza?