Pagini recente » Borderou de evaluare (job #2512476) | Borderou de evaluare (job #2169983) | Borderou de evaluare (job #1791988) | Borderou de evaluare (job #3188605) | Borderou de evaluare (job #2635042)
Borderou de evaluare (job #2635042)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:87:54: warning: suggest parentheses around '-' inside '<<' [-Wparentheses]
seg[i][j] = cmp(seg[i-1][j], seg[i-1][j + (1<<i-1)]);
~^~
main.cpp:58: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:59: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:62: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:65:20: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &j);
^
main.cpp:91: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 | 3ms | 131kb | OK | 10 | 10 |
3 | 18ms | 917kb | OK | 10 | 10 |
4 | 167ms | 4456kb | OK | 10 | 10 |
5 | 192ms | 7077kb | OK | 10 | 10 |
6 | 309ms | 7340kb | OK | 10 | 10 |
7 | 911ms | 14680kb | OK | 10 | 10 |
8 | 1493ms | 9830kb | OK | 10 | 30 |
9 | 2244ms | 10747kb | OK | 10 |
10 | 2071ms | 11124kb | OK | 10 |
Punctaj total | 100 |