Pagini recente » Borderou de evaluare (job #2608516) | Borderou de evaluare (job #561970) | Borderou de evaluare (job #1124726) | Borderou de evaluare (job #2317558) | Borderou de evaluare (job #2635251)
Borderou de evaluare (job #2635251)
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: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: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 | 184ms | 4587kb | OK | 10 | 10 |
5 | 206ms | 7077kb | OK | 10 | 10 |
6 | 294ms | 7340kb | OK | 10 | 10 |
7 | 950ms | 14680kb | OK | 10 | 10 |
8 | 1511ms | 9830kb | OK | 10 | 30 |
9 | 2263ms | 10747kb | OK | 10 |
10 | 2302ms | 11210kb | OK | 10 |
Punctaj total | 100 |