Utilizator |
Problema |
Data |
Compilator |
Scor |
|---|---|---|---|---|
10 August 2023, 16:13 |
c++20 |
100.0 |
main.cpp: In function ‘int main()’:
main.cpp:79:11: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
79 | fscanf(f,"%d%lld%lld",&n,&k1,&k2);
| ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~
main.cpp:84:15: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
84 | fscanf(f,"%d",&v[i]);
| ~~~~~~^~~~~~~~~~~~~~
main.cpp:101:15: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
101 | fscanf(f,"%d",&v[i]);
| ~~~~~~^~~~~~~~~~~~~~
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,029 |
4.6MB |
5,0 |
|
4
|
correct |
0,036 |
6.86MB |
5,0 |
|
5
|
correct |
0,093 |
14.86MB |
5,0 |
|
6
|
correct |
0,165 |
27.14MB |
5,0 |
|
7
|
correct |
0,094 |
15.87MB |
5,0 |
|
8
|
correct |
0,164 |
22.84MB |
5,0 |
|
9
|
correct |
0,474 |
54.4MB |
5,0 |
|
10
|
correct |
0,484 |
62.73MB |
5,0 |
|
11
|
correct |
0,485 |
63.65MB |
5,0 |
|
12
|
correct |
0,485 |
65.62MB |
5,0 |
|
13
|
correct |
0,0 |
176KB |
5,0 |
|
14
|
correct |
0,001 |
176KB |
5,0 |
|
15
|
correct |
0,0 |
176KB |
5,0 |
|
16
|
correct |
0,001 |
176KB |
5,0 |
|
17
|
correct |
0,0 |
176KB |
5,0 |
|
18
|
correct |
0,0 |
176KB |
5,0 |
|
19
|
correct |
0,03 |
5.53MB |
5,0 |
|
20
|
correct |
0,035 |
7.39MB |
5,0 |