Pagini recente » Borderou de evaluare (job #2811097) | Borderou de evaluare (job #2443296) | Borderou de evaluare (job #1972183) | Borderou de evaluare (job #2335501) | Borderou de evaluare (job #2635041)
Borderou de evaluare (job #2635041)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:87:60: warning: suggest parentheses around '-' inside '<<' [-Wparentheses]
seg[i][j] = cmp(seg[i-1][j], seg[i-1][j + (1<<i-1)]);
~^~
main.cpp:58:34: 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:36: 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:26: 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:24: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &j);
^
main.cpp:91:30: 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 | 7ms | 131kb | OK | 10 | 10 |
2 | 3ms | 131kb | OK | 10 | 10 |
3 | 18ms | 786kb | OK | 10 | 10 |
4 | 151ms | 4456kb | OK | 10 | 10 |
5 | 205ms | 7077kb | OK | 10 | 10 |
6 | 295ms | 7340kb | OK | 10 | 10 |
7 | 935ms | 14680kb | OK | 10 | 10 |
8 | 1742ms | 9830kb | OK | 10 | 30 |
9 | 2230ms | 10682kb | OK | 10 |
10 | 2059ms | 11141kb | OK | 10 |
Punctaj total | 100 |