Utilizator |
Problema |
Data |
Compilator |
Scor |
|---|---|---|---|---|
10 August 2023, 17:17 |
c++20 |
100.0 |
main.cpp: In function ‘int main()’:
main.cpp:85:12: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
85 | freopen("grarbore.in","r",stdin);
| ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~
main.cpp:86:12: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
86 | freopen("grarbore.out","w",stdout);
| ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~
main.cpp:88:10: warning: ignoring return value of ‘int scanf(const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
88 | scanf("%d", &t);
| ~~~~~^~~~~~~~~~
main.cpp:91:14: warning: ignoring return value of ‘int scanf(const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
91 | scanf("%d",&n);
| ~~~~~^~~~~~~~~
main.cpp:94:18: warning: ignoring return value of ‘int scanf(const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
94 | scanf("%d%d",&a,&b);
| ~~~~~^~~~~~~~~~~~~~
Test |
Mesaj evaluator |
Timp execuție |
Memorie |
Scor |
|---|---|---|---|---|
|
1
|
correct |
0,001 |
176KB |
10,0 |
|
2
|
correct |
0,001 |
176KB |
10,0 |
|
3
|
correct |
0,0 |
176KB |
10,0 |
|
4
|
correct |
0,001 |
176KB |
10,0 |
|
5
|
correct |
0,001 |
176KB |
10,0 |
|
6
|
correct |
0,002 |
3.81MB |
10,0 |
|
7
|
correct |
0,016 |
4.25MB |
10,0 |
|
8
|
correct |
0,042 |
4.74MB |
10,0 |
|
9
|
correct |
0,037 |
4.67MB |
10,0 |
|
10
|
correct |
0,13 |
5.37MB |
10,0 |