Pagini recente » Borderou de evaluare (job #536854) | Borderou de evaluare (job #2917151) | Borderou de evaluare (job #1735946) | Borderou de evaluare (job #1730271) | Borderou de evaluare (job #2731472)
Borderou de evaluare (job #2731472)
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 |
1 | 3ms | 131kb | OK | 10 |
2 | 2ms | 131kb | OK | 10 |
3 | 2ms | 131kb | OK | 10 |
4 | 2ms | 131kb | OK | 10 |
5 | 3ms | 131kb | OK | 10 |
6 | 3ms | 262kb | OK | 10 |
7 | 3ms | 262kb | OK | 10 |
8 | 3ms | 131kb | OK | 10 |
9 | 3ms | 131kb | OK | 10 |
10 | 3ms | 131kb | OK | 10 |
Punctaj total | 100 |