Utilizator |
Problema |
Data |
Compilator |
Scor |
|---|---|---|---|---|
28 Iulie 2023, 13:23 |
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,0 |
176KB |
5,0 |
|
2
|
correct |
0,0 |
176KB |
5,0 |
|
3
|
correct |
0,06 |
64.71MB |
4,0 |
|
4
|
WallTimeLimitExceeded |
0,016 |
26.99MB |
0,0 |
|
5
|
wrong |
0,035 |
35.59MB |
0,0 |
|
6
|
WallTimeLimitExceeded |
0,178 |
36.31MB |
0,0 |
|
7
|
TimeLimitExceeded |
0,705 |
27.08MB |
0,0 |
|
8
|
TimeLimitExceeded |
0,7 |
26.91MB |
0,0 |
|
9
|
TimeLimitExceeded |
0,7 |
30.39MB |
0,0 |
|
10
|
TimeLimitExceeded |
0,703 |
27.02MB |
0,0 |
|
11
|
correct |
0,0 |
176KB |
10,0 |
|
12
|
correct |
0,0 |
176KB |
5,0 |
|
13
|
wrong |
0,099 |
36.41MB |
0,0 |
|
14
|
wrong |
0,304 |
36.35MB |
0,0 |
|
15
|
TimeLimitExceeded |
0,704 |
29.07MB |
0,0 |
|
16
|
TimeLimitExceeded |
0,705 |
27.23MB |
0,0 |
|
17
|
correct |
0,06 |
64.67MB |
4,0 |
|
18
|
correct |
0,06 |
64.37MB |
4,0 |
|
19
|
correct |
0,058 |
64.19MB |
4,0 |