Borderou de evaluare (job #3364336)

Utilizator alexm749Musat Alexandru Nicolae alexm749 Data 1 septembrie 2026 20:48:53
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:31:28: warning: comparison of integer expressions of different signedness: 'std::stack<int>::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare] 31 | for(i=0;i+(x-st.size())<n;i++) | ~~~~~~~~~~~~~~~^~ main.cpp:34:70: warning: comparison of integer expressions of different signedness: 'std::stack<int>::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare] 34 | if(!st.empty()){while(st.top()<nr&&st.size()>1&&i+x-st.size()<n-1)st.pop();if(st.top()<nr)st.pop();} | ~~~~~~~~~~~~~^~~~ main.cpp:35:21: warning: comparison of integer expressions of different signedness: 'std::stack<int>::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare] 35 | if(st.size()<x)st.push(nr); | ~~~~~~~~~^~ main.cpp:37:20: warning: comparison of integer expressions of different signedness: 'std::stack<int>::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare] 37 | while(st.size()<x){st.push(s[i]-48);i++;} | ~~~~~~~~~^~
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms303kbOK10
20ms303kbOK10
30ms303kbOK10
40ms303kbOK10
50ms303kbOK10
60ms303kbOK10
70ms557kbOK10
80ms303kbOK10
90ms303kbOK10
100ms303kbOK10
Punctaj total100

Ceva nu functioneaza?