Pagini recente » Borderou de evaluare (job #1021995) | Borderou de evaluare (job #1319504) | Borderou de evaluare (job #1834068) | Borderou de evaluare (job #278806) | Borderou de evaluare (job #2287306)
Borderou de evaluare (job #2287306)
Raport evaluator
Compilare:
main.cpp: In function 'void pop(int)':
main.cpp:25:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
while (h[2][b]!=x) b=h[2][h[2][b]];
~~~~~~~^~~
main.cpp:28:24: warning: converting to non-pointer type 'unsigned int' from NULL [-Wconversion-null]
toph--; h[1][toph]=NULL;h[2][toph]=NULL;
^~~~
main.cpp:28:40: warning: converting to non-pointer type 'unsigned int' from NULL [-Wconversion-null]
toph--; h[1][toph]=NULL;h[2][toph]=NULL;
^~~~
main.cpp: In function 'int main()':
main.cpp:59:39: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
while(h[1][c]) {if(h[1][c]<z) z=h[1][c];c++;}
~~~~~~~^~
main.cpp: In function 'void push(int)':
main.cpp:11:19: warning: array subscript is above array bounds [-Warray-bounds]
h[1][k]=x; h[2][k]=k;
~~~^
main.cpp:14:38: warning: array subscript is above array bounds [-Warray-bounds]
a=h[1][k/2]; b=h[2][k/2];
~~~^
main.cpp:15:46: warning: array subscript is above array bounds [-Warray-bounds]
h[1][k/2]=h[1][k]; h[2][k/2]=h[2][k];
~~~^
main.cpp:15:36: warning: array subscript is above array bounds [-Warray-bounds]
h[1][k/2]=h[1][k]; h[2][k/2]=h[2][k];
~~~^
main.cpp:16:36: warning: array subscript is above array bounds [-Warray-bounds]
h[1][k]=a; h[2][k]=b;
~~~^
main.cpp: In function 'void pop(int)':
main.cpp:24:19: warning: array subscript is above array bounds [-Warray-bounds]
int a,b; b=h[2][x];
~~~^
main.cpp:25:15: warning: array subscript is above array bounds [-Warray-bounds]
while (h[2][b]!=x) b=h[2][h[2][b]];
~~~^
main.cpp:25:29: warning: array subscript is above array bounds [-Warray-bounds]
while (h[2][b]!=x) b=h[2][h[2][b]];
~~~^
main.cpp:27:16: warning: array subscript is above array bounds [-Warray-bounds]
h[2][b]=h[2][toph-1];
~~~^
main.cpp:27:8: warning: array subscript is above array bounds [-Warray-bounds]
h[2][b]=h[2][toph-1];
~~~^
main.cpp:28:32: warning: array subscript is above array bounds [-Warray-bounds]
toph--; h[1][toph]=NULL;h[2][toph]=NULL;
~~~^
main.cpp:33:60: warning: array subscript is above array bounds [-Warray-bounds]
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 2ms | 131kb | Incorect | 0 | 0 |
2 | 252ms | 131kb | Time limit exceeded | 0 | 0 |
3 | 251ms | 131kb | Time limit exceeded | 0 | 0 |
4 | 252ms | 131kb | Time limit exceeded | 0 | 0 |
5 | 253ms | 131kb | Time limit exceeded | 0 | 0 |
6 | 5ms | 131kb | Killed by Signal 11 | 0 |
7 | 7ms | 131kb | Killed by Signal 11 | 0 |
8 | 7ms | 131kb | Killed by Signal 11 | 0 |
9 | 6ms | 131kb | Killed by Signal 11 | 0 |
10 | 7ms | 131kb | Killed by Signal 11 | 0 |
Punctaj total | 0 |