Utilizator |
Problema |
Data |
Compilator |
Scor |
|---|---|---|---|---|
10 August 2023, 15:55 |
c++20 |
30.0 |
main.cpp: In function ‘int main()’:
main.cpp:14:12: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
14 | freopen("flower.in", "r", stdin);
| ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~
main.cpp:15:12: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
15 | freopen("flower.out", "w", stdout);
| ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~
main.cpp:17:10: warning: ignoring return value of ‘int scanf(const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
17 | scanf("%d%d", &n, &m);
| ~~~~~^~~~~~~~~~~~~~~~
main.cpp:24:14: warning: ignoring return value of ‘int scanf(const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
24 | scanf("%d", &tip);
| ~~~~~^~~~~~~~~~~~
main.cpp:30:18: warning: ignoring return value of ‘int scanf(const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
30 | scanf("%d%lld%lld", &poz, &varf, &panta);
| ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.cpp:59:18: warning: ignoring return value of ‘int scanf(const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
59 | scanf("%d%d", &l, &r);
| ~~~~~^~~~~~~~~~~~~~~~
Test |
Mesaj evaluator |
Timp execuție |
Memorie |
Scor |
|---|---|---|---|---|
|
1
|
correct |
0,0 |
176KB |
10,0 |
|
2
|
TimeLimitExceeded |
2,503 |
2.38MB |
0,0 |
|
3
|
correct |
0,001 |
176KB |
10,0 |
|
4
|
correct |
0,558 |
798KB |
5,0 |
|
5
|
TimeLimitExceeded |
2,5 |
2.38MB |
0,0 |
|
6
|
correct |
2,164 |
1.99MB |
5,0 |
|
7
|
TimeLimitExceeded |
2,505 |
1.99MB |
0,0 |
|
8
|
TimeLimitExceeded |
2,5 |
1.99MB |
0,0 |
|
9
|
TimeLimitExceeded |
2,502 |
2.38MB |
0,0 |
|
10
|
TimeLimitExceeded |
2,502 |
2.38MB |
0,0 |