Utilizator |
Problema |
Data |
Compilator |
Scor |
|---|---|---|---|---|
20 Iulie 2023, 20:24 |
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,012 |
24.22MB |
5,0 |
|
2
|
correct |
0,012 |
24.29MB |
5,0 |
|
3
|
correct |
0,014 |
24.32MB |
5,0 |
|
4
|
correct |
0,014 |
24.28MB |
5,0 |
|
5
|
correct |
0,013 |
24.32MB |
5,0 |
|
6
|
correct |
0,032 |
26.98MB |
5,0 |
|
7
|
correct |
0,08 |
31.11MB |
5,0 |
|
8
|
correct |
0,091 |
32.18MB |
5,0 |
|
9
|
correct |
0,092 |
32.15MB |
5,0 |
|
10
|
correct |
0,093 |
32.14MB |
5,0 |
|
11
|
correct |
0,353 |
53.77MB |
5,0 |
|
12
|
correct |
0,355 |
53.79MB |
5,0 |
|
13
|
correct |
0,353 |
53.7MB |
5,0 |
|
14
|
correct |
0,353 |
53.78MB |
5,0 |
|
15
|
correct |
0,354 |
53.68MB |
5,0 |
|
16
|
correct |
1,031 |
98.86MB |
5,0 |
|
17
|
correct |
1,032 |
98.9MB |
5,0 |
|
18
|
correct |
1,032 |
98.8MB |
5,0 |
|
19
|
correct |
1,034 |
98.8MB |
5,0 |
|
20
|
correct |
1,032 |
98.87MB |
5,0 |