Utilizator |
Problema |
Data |
Compilator |
Scor |
|---|---|---|---|---|
11 August 2023, 18:22 |
c++20 |
100.0 |
main.cpp: In function ‘int main()’:
main.cpp:109:12: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
109 | freopen("dbz.in","r",stdin);
| ~~~~~~~^~~~~~~~~~~~~~~~~~~~
main.cpp:110:12: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
110 | freopen("dbz.out","w",stdout);
| ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~
main.cpp:112:10: warning: ignoring return value of ‘int scanf(const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
112 | scanf("%d%d",&n,&m);
| ~~~~~^~~~~~~~~~~~~~
main.cpp:115:14: warning: ignoring return value of ‘int scanf(const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
115 | scanf("%d%d%d",&a,&b,&c);
| ~~~~~^~~~~~~~~~~~~~~~~~~
Test |
Mesaj evaluator |
Timp execuție |
Memorie |
Scor |
|---|---|---|---|---|
|
1
|
correct |
0,0 |
176KB |
10,0 |
|
2
|
correct |
0,198 |
450KB |
10,0 |
|
3
|
correct |
0,069 |
397KB |
10,0 |
|
4
|
correct |
0,092 |
307KB |
10,0 |
|
5
|
correct |
1,129 |
962KB |
10,0 |
|
6
|
correct |
1,378 |
1.22MB |
10,0 |
|
7
|
correct |
0,935 |
1.18MB |
10,0 |
|
8
|
correct |
0,92 |
1.09MB |
10,0 |
|
9
|
correct |
0,919 |
1.11MB |
10,0 |
|
10
|
correct |
0,915 |
1.19MB |
10,0 |