Utilizator |
Problema |
Data |
Compilator |
Scor |
|---|---|---|---|---|
20 Iulie 2023, 21:41 |
c++32 |
100.0 |
main.cpp: In function ‘void build(int, int, int)’:
main.cpp:28:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<int>::size_type’ {aka ‘unsigned int’} [-Wsign-compare]
28 | for(int i = 1; i < val.size(); i++) {
| ~~^~~~~~~~~~~~
main.cpp: In function ‘int main()’:
main.cpp:58:12: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
58 | freopen("qmaxt.in", "r", stdin);
| ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
main.cpp:59:12: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
59 | freopen("qmaxt.out", "w", stdout);
| ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~
Test |
Mesaj evaluator |
Timp execuție |
Memorie |
Scor |
|---|---|---|---|---|
|
1
|
correct |
0,015 |
24.28MB |
5,0 |
|
2
|
correct |
0,013 |
24.22MB |
5,0 |
|
3
|
correct |
0,015 |
24.28MB |
5,0 |
|
4
|
correct |
0,015 |
24.23MB |
5,0 |
|
5
|
correct |
0,014 |
24.27MB |
5,0 |
|
6
|
correct |
0,035 |
26.96MB |
5,0 |
|
7
|
correct |
0,079 |
31.11MB |
5,0 |
|
8
|
correct |
0,092 |
32.2MB |
5,0 |
|
9
|
correct |
0,094 |
32.24MB |
5,0 |
|
10
|
correct |
0,092 |
32.25MB |
5,0 |
|
11
|
correct |
0,353 |
53.73MB |
5,0 |
|
12
|
correct |
0,354 |
53.78MB |
5,0 |
|
13
|
correct |
0,351 |
53.77MB |
5,0 |
|
14
|
correct |
0,352 |
53.77MB |
5,0 |
|
15
|
correct |
0,353 |
53.8MB |
5,0 |
|
16
|
correct |
1,035 |
98.85MB |
5,0 |
|
17
|
correct |
1,032 |
98.82MB |
5,0 |
|
18
|
correct |
1,032 |
98.85MB |
5,0 |
|
19
|
correct |
1,034 |
98.91MB |
5,0 |
|
20
|
correct |
1,035 |
98.81MB |
5,0 |