Utilizator |
Problema |
Data |
Compilator |
Scor |
|---|---|---|---|---|
28 Iulie 2023, 13:24 |
c++14 |
41.0 |
main.cpp: In function ‘int main()’:
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("tnia.in","r",stdin);
| ~~~~~~~^~~~~~~~~~~~~~~~~~~~~
main.cpp:16:12: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
16 | freopen("tnia.out","w",stdout);
| ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~
main.cpp:18:10: warning: ignoring return value of ‘int scanf(const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
18 | scanf("%d%d",&n,&m);
| ~~~~~^~~~~~~~~~~~~~
main.cpp:20:14: warning: ignoring return value of ‘int scanf(const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
20 | scanf("%d",&height[i]);
| ~~~~~^~~~~~~~~~~~~~~~~
main.cpp:31:10: warning: ignoring return value of ‘int scanf(const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
31 | scanf("%d",&q);
| ~~~~~^~~~~~~~~
main.cpp:33:14: warning: ignoring return value of ‘int scanf(const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
33 | scanf("%d%d%d%d", &downL.x, &downL.y, &topR.x, &topR.y);
| ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Test |
Mesaj evaluator |
Timp execuție |
Memorie |
Scor |
|---|---|---|---|---|
|
1
|
correct |
0,001 |
176KB |
5,0 |
|
2
|
correct |
0,001 |
176KB |
5,0 |
|
3
|
correct |
0,058 |
64.61MB |
4,0 |
|
4
|
WallTimeLimitExceeded |
0,016 |
27.0MB |
0,0 |
|
5
|
wrong |
0,035 |
35.57MB |
0,0 |
|
6
|
WallTimeLimitExceeded |
0,178 |
36.26MB |
0,0 |
|
7
|
TimeLimitExceeded |
0,702 |
27.17MB |
0,0 |
|
8
|
TimeLimitExceeded |
0,703 |
27.01MB |
0,0 |
|
9
|
TimeLimitExceeded |
0,705 |
30.58MB |
0,0 |
|
10
|
TimeLimitExceeded |
0,703 |
27.04MB |
0,0 |
|
11
|
correct |
0,0 |
176KB |
10,0 |
|
12
|
correct |
0,001 |
176KB |
5,0 |
|
13
|
wrong |
0,099 |
36.36MB |
0,0 |
|
14
|
wrong |
0,302 |
36.44MB |
0,0 |
|
15
|
TimeLimitExceeded |
0,702 |
29.07MB |
0,0 |
|
16
|
TimeLimitExceeded |
0,7 |
27.14MB |
0,0 |
|
17
|
correct |
0,059 |
64.77MB |
4,0 |
|
18
|
correct |
0,057 |
64.38MB |
4,0 |
|
19
|
correct |
0,059 |
64.25MB |
4,0 |