Pagini recente » Monitorul de evaluare | Cod sursa (job #2566401) | Borderou de evaluare (job #2155524) | Borderou de evaluare (job #701380) | Borderou de evaluare (job #2445058)
Borderou de evaluare (job #2445058)
Raport evaluator
Compilare:
main.cpp:9:19: warning: left shift count >= width of type [-Wshift-count-overflow]
int MaxArb[1<<dim+1];
^
main.cpp:9:18: warning: suggest parentheses around '+' inside '<<' [-Wparentheses]
int MaxArb[1<<dim+1];
^
main.cpp: In function 'void Update(int, int, int)':
main.cpp:56:13: warning: array subscript is above array bounds [-Warray-bounds]
MaxArb[nod] = Val;
~~~~~~~~~~^
main.cpp:64:21: warning: array subscript is above array bounds [-Warray-bounds]
MaxArb[nod] = Maxim( MaxArb[2 * nod], MaxArb[2 * nod + 1] );
~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.cpp:64:21: warning: array subscript is above array bounds [-Warray-bounds]
main.cpp:64:12: warning: array subscript is above array bounds [-Warray-bounds]
MaxArb[nod] = Maxim( MaxArb[2 * nod], MaxArb[2 * nod + 1] );
~~~~~~~~~~^
main.cpp: In function 'void Query(int, int, int)':
main.cpp:71:25: warning: array subscript is above array bounds [-Warray-bounds]
if( maxim < MaxArb[nod] ) maxim = MaxArb[nod];
~~~~~~~~~~^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
| 1 | 2ms | 131kb | Killed by Signal 11 | 0 | 0 |
| 2 | 2ms | 131kb | Killed by Signal 11 | 0 | 0 |
| 3 | 2ms | 131kb | Killed by Signal 11 | 0 | 0 |
| 4 | 2ms | 131kb | Killed by Signal 11 | 0 | 0 |
| 5 | 2ms | 131kb | Killed by Signal 11 | 0 | 0 |
| 6 | 2ms | 131kb | Killed by Signal 11 | 0 | 0 |
| 7 | 2ms | 131kb | Killed by Signal 11 | 0 |
| 8 | 2ms | 131kb | Killed by Signal 11 | 0 |
| 9 | 3ms | 131kb | Killed by Signal 11 | 0 |
| 10 | 2ms | 131kb | Killed by Signal 11 | 0 |
| Punctaj total | 0 |