Pagini recente » Borderou de evaluare (job #2387510) | Borderou de evaluare (job #2667516) | Borderou de evaluare (job #186655) | Borderou de evaluare (job #3031481) | Borderou de evaluare (job #2712799)
Borderou de evaluare (job #2712799)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:11:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0; i<ch.size(); i++)
~^~~~~~~~~~
main.cpp:13:20: warning: array subscript has type 'char' [-Wchar-subscripts]
frecv[ch[i]]++;
^
main.cpp:15:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0; i<ch.size(); i++)
~^~~~~~~~~~
main.cpp:26:14: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if(nr>(ch.size()-i)/2)
~~^~~~~~~~~~~~~~~~
main.cpp:20:23: warning: array subscript is above array bounds [-Warray-bounds]
if(frecv[j]>nr)
~~~~~~~^
main.cpp:34:61: warning: array subscript is above array bounds [-Warray-bounds]
if((sol==" " || j!=sol[sol.size()-1]) && frecv[j]>0)
~~~~~~~^
main.cpp:37:24: warning: array subscript is above array bounds [-Warray-bounds]
frecv[j]--;
~~~~~~~^
main.cpp:37:24: warning: array subscript is above array bounds [-Warray-bounds]
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 3ms | 131kb | Killed by Signal 11 | 0 |
2 | 7ms | 131kb | Killed by Signal 11 | 0 |
3 | 7ms | 131kb | Killed by Signal 11 | 0 |
4 | 7ms | 262kb | Killed by Signal 11 | 0 |
5 | 40ms | 524kb | Incorect | 0 |
6 | 146ms | 1208kb | Incorect | 0 |
7 | 148ms | 1470kb | Incorect | 0 |
8 | 326ms | 2453kb | Incorect | 0 |
9 | 453ms | 2945kb | Incorect | 0 |
10 | 132ms | 2093kb | Incorect | 0 |
Punctaj total | 0 |