Borderou de evaluare (job #2731472)

Utilizator HatersMcCristian Ioan HatersMc Data 27 martie 2021 20:34:24
Problema Alibaba Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 100

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:22:59: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] while(!st.empty() && st.top()<i-'0' && st.size()+n-nr>=n-k) ~~~~~~~~~~~~~~^~~~~ main.cpp:35:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] while(result.size()-nr!=n-k) ~~~~~~~~~~~~~~~~^~~~~ main.cpp:37:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(int i = 0 ; i<result.size() ; ++i) ~^~~~~~~~~~~~~~ main.cpp:45:18: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(int i = 0 ; i<result.size() ; ++i) ~^~~~~~~~~~~~~~ main.cpp:45:1: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(int i = 0 ; i<result.size() ; ++i) ^~~ main.cpp:49:5: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for' return 0; ^~~~~~ main.cpp:18:8: warning: unused variable 'yes' [-Wunused-variable] bool yes = false; ^~~ main.cpp:42:13: warning: 'j' may be used uninitialized in this function [-Wmaybe-uninitialized] result[j]=-1; ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
13ms131kbOK10
22ms131kbOK10
32ms131kbOK10
42ms131kbOK10
53ms131kbOK10
63ms262kbOK10
73ms262kbOK10
83ms131kbOK10
93ms131kbOK10
103ms131kbOK10
Punctaj total100

Ceva nu functioneaza?