Pagini recente » Borderou de evaluare (job #829233) | Borderou de evaluare (job #741646) | Borderou de evaluare (job #2071319) | Borderou de evaluare (job #781124) | Borderou de evaluare (job #2050544)
Borderou de evaluare (job #2050544)
Raport evaluator
Compilare:
user.cpp: In function ‘void build_rmq()’:
user.cpp:42:53: warning: suggest parentheses around ‘+’ inside ‘<<’ [-Wparentheses]
int a = rmq[i - 1][j], b = rmq[i - 1][j + 1 << (i - 1)];
^
user.cpp: In function ‘int main()’:
user.cpp:63:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("concurs.in", "r", stdin);
^
user.cpp:64:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("concurs.out", "w", stdout);
^
user.cpp:66:29: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d\n", &n, &m);
^
user.cpp:69:32: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d ", &score[i]);
^
user.cpp:73:33: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d\n", &x, &y);
^
user.cpp:93:33: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d\n", &x, &y);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 848kb | OK | 10 |
2 | 0ms | 856kb | OK | 10 |
3 | 0ms | 960kb | Incorect | 0 |
4 | 4ms | 1184kb | Killed by signal 11(SIGSEGV). | 0 |
5 | 4ms | 1180kb | Killed by signal 11(SIGSEGV). | 0 |
6 | 12ms | 1840kb | Killed by signal 11(SIGSEGV). | 0 |
7 | 32ms | 5164kb | Killed by signal 11(SIGSEGV). | 0 |
8 | 24ms | 2708kb | Killed by signal 11(SIGSEGV). | 0 |
9 | 36ms | 3576kb | Killed by signal 11(SIGSEGV). | 0 |
10 | 36ms | 3660kb | Killed by signal 11(SIGSEGV). | 0 |
Punctaj total | 20 |