Utilizator |
Problema |
Data |
Compilator |
Scor |
|---|---|---|---|---|
10 August 2023, 18:16 |
c++20 |
100.0 |
main.cpp: In function ‘int lca(int, int)’:
main.cpp:111:3: warning: this ‘for’ clause does not guard... [-Wmisleading-indentation]
111 | for (; (1 << j) <= l; j++); j--;
| ^~~
main.cpp:111:31: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘for’
111 | for (; (1 << j) <= l; j++); j--;
| ^
main.cpp: In function ‘int main()’:
main.cpp:120:10: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
120 | freopen("neapuiu.in", "rt", stdin);
| ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~
main.cpp:121:10: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
121 | freopen("neapuiu.out", "wt", stdout);
| ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Test |
Mesaj evaluator |
Timp execuție |
Memorie |
Scor |
|---|---|---|---|---|
|
1
|
correct |
0,001 |
176KB |
10,0 |
|
2
|
correct |
0,004 |
6.07MB |
10,0 |
|
3
|
correct |
0,014 |
9.99MB |
10,0 |
|
4
|
correct |
0,044 |
26.97MB |
10,0 |
|
5
|
correct |
0,052 |
31.29MB |
10,0 |
|
6
|
correct |
0,059 |
31.38MB |
10,0 |
|
7
|
correct |
0,088 |
45.85MB |
10,0 |
|
8
|
correct |
0,094 |
48.2MB |
10,0 |
|
9
|
correct |
0,099 |
50.5MB |
10,0 |
|
10
|
correct |
0,102 |
50.91MB |
10,0 |