Utilizator |
Problema |
Data |
Compilator |
Scor |
|---|---|---|---|---|
11 Aprilie 2025, 10:03 |
c++20 |
76.0 |
main.cpp: In function ‘int LCA(int, int)’:
main.cpp:72:13: warning: unused variable ‘cntSteps’ [-Wunused-variable]
72 | int cntSteps=-5;
| ^~~~~~~~
main.cpp: In function ‘void solve()’:
main.cpp:133:14: warning: ignoring return value of ‘int scanf(const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
133 | scanf("%d%d%d", &N, &_, &__);
| ~~~~~^~~~~~~~~~~~~~~~~~~~~~~
main.cpp:142:22: warning: ignoring return value of ‘int scanf(const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
142 | scanf("%d%d", &a, &b);
| ~~~~~^~~~~~~~~~~~~~~~
main.cpp:149:22: warning: ignoring return value of ‘int scanf(const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
149 | scanf("%d%d", &a, &b);
| ~~~~~^~~~~~~~~~~~~~~~
Test |
Mesaj evaluator |
Timp execuție |
Memorie |
Scor |
|---|---|---|---|---|
|
1
|
correct |
0,001 |
176KB |
2,0 |
|
2
|
correct |
0,044 |
3.83MB |
2,0 |
|
3
|
correct |
0,058 |
4.19MB |
2,0 |
|
4
|
wrong |
0,038 |
3.8MB |
0,0 |
|
5
|
wrong |
0,038 |
3.8MB |
0,0 |
|
6
|
wrong |
0,04 |
3.67MB |
0,0 |
|
7
|
correct |
0,063 |
4.21MB |
2,0 |
|
8
|
correct |
0,038 |
4.13MB |
2,0 |
|
9
|
correct |
0,039 |
4.2MB |
3,0 |
|
10
|
correct |
0,063 |
4.19MB |
3,0 |
|
11
|
correct |
0,062 |
4.19MB |
3,0 |
|
12
|
correct |
0,0 |
176KB |
3,0 |
|
13
|
correct |
0,063 |
4.14MB |
3,0 |
|
14
|
wrong |
0,111 |
4.35MB |
0,0 |
|
15
|
wrong |
0,134 |
4.28MB |
0,0 |
|
16
|
wrong |
0,128 |
4.32MB |
0,0 |
|
17
|
correct |
0,199 |
5.66MB |
3,0 |
|
18
|
correct |
0,123 |
5.76MB |
3,0 |
|
19
|
correct |
0,123 |
5.78MB |
3,0 |
|
20
|
correct |
0,199 |
5.63MB |
3,0 |
|
21
|
correct |
0,199 |
5.63MB |
3,0 |
|
22
|
correct |
0,199 |
5.76MB |
3,0 |
|
23
|
correct |
0,001 |
176KB |
3,0 |
|
24
|
correct |
0,157 |
5.89MB |
3,0 |
|
25
|
correct |
0,155 |
5.76MB |
3,0 |
|
26
|
correct |
0,149 |
7.07MB |
3,0 |
|
27
|
correct |
0,16 |
7.47MB |
3,0 |
|
28
|
correct |
0,077 |
3.67MB |
3,0 |
|
29
|
correct |
0,049 |
3.72MB |
3,0 |
|
30
|
correct |
0,113 |
5.76MB |
3,0 |
|
31
|
wrong |
0,003 |
3.28MB |
0,0 |
|
32
|
correct |
0,001 |
176KB |
3,0 |
|
33
|
correct |
0,001 |
176KB |
3,0 |
|
34
|
correct |
0,001 |
176KB |
3,0 |
|
35
|
wrong |
0,011 |
3.42MB |
0,0 |
|
36
|
wrong |
0,019 |
3.53MB |
0,0 |