Pagini recente » Borderou de evaluare (job #637125) | Borderou de evaluare (job #1970321) | Borderou de evaluare (job #668066) | Borderou de evaluare (job #2316695) | Borderou de evaluare (job #2402631)
Borderou de evaluare (job #2402631)
Raport evaluator
Compilare:
main.cpp: In function 'void RMQ()':
main.cpp:48:58: warning: suggest parentheses around '-' inside '<<' [-Wparentheses]
rmq[i][j] = max(rmq[i-1][j], rmq[i-1][j + (1 << i-1)]);
~^~
main.cpp: In function 'int main()':
main.cpp:63:33: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin, "%d %d", &N, &M);
^
main.cpp:66:34: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin, "%d", &nr[i]);
^
main.cpp:69:34: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin, "%d", &x);
^
main.cpp:81:44: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin, "%d %d %d", &x, &y, &t);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 22ms | 9830kb | OK | 5 |
| 2 | 22ms | 9830kb | OK | 5 |
| 3 | 22ms | 9830kb | OK | 5 |
| 4 | 22ms | 9830kb | OK | 5 |
| 5 | 23ms | 9830kb | OK | 5 |
| 6 | 22ms | 9830kb | OK | 5 |
| 7 | 27ms | 10223kb | OK | 5 |
| 8 | 27ms | 10223kb | OK | 5 |
| 9 | 390ms | 34603kb | OK | 5 |
| 10 | 404ms | 34603kb | OK | 5 |
| 11 | 657ms | 47579kb | Killed by Signal 11 | 0 |
| 12 | 631ms | 47579kb | Killed by Signal 11 | 0 |
| 13 | 778ms | 55312kb | Killed by Signal 11 | 0 |
| 14 | 693ms | 55312kb | Killed by Signal 11 | 0 |
| 15 | 803ms | 54525kb | Time limit exceeded | 0 |
| 16 | 803ms | 55443kb | Time limit exceeded | 0 |
| 17 | 800ms | 29491kb | Time limit exceeded | 0 |
| 18 | 803ms | 29622kb | Time limit exceeded | 0 |
| 19 | 801ms | 29622kb | Time limit exceeded | 0 |
| 20 | 803ms | 29491kb | Time limit exceeded | 0 |
| Punctaj total | 50 |