Pagini recente » Borderou de evaluare (job #1332621) | Borderou de evaluare (job #2514317) | Borderou de evaluare (job #2526315) | Borderou de evaluare (job #1436584) | Borderou de evaluare (job #2635248)
Borderou de evaluare (job #2635248)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:84:54: warning: suggest parentheses around '-' inside '<<' [-Wparentheses]
seg[i][j] = cmp(seg[i-1][j], seg[i-1][j + (1<<i-1)]);
~^~
main.cpp:56:32: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("lca.in", "r", stdin);
^
main.cpp:57:34: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("lca.out", "w", stdout);
^
main.cpp:60:24: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &n, &q);
^
main.cpp:62:20: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &j);
^
main.cpp:88:26: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &x, &y);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
| 1 | 2ms | 131kb | OK | 10 | 10 |
| 2 | 4ms | 131kb | OK | 10 | 10 |
| 3 | 18ms | 786kb | OK | 10 | 10 |
| 4 | 165ms | 4456kb | OK | 10 | 10 |
| 5 | 209ms | 7077kb | OK | 10 | 10 |
| 6 | 291ms | 7340kb | OK | 10 | 10 |
| 7 | 968ms | 14680kb | OK | 10 | 10 |
| 8 | 1771ms | 9830kb | OK | 10 | 30 |
| 9 | 2221ms | 10747kb | OK | 10 |
| 10 | 2493ms | 11124kb | OK | 10 |
| Punctaj total | 100 |