Utilizator |
Problema |
Data |
Compilator |
Scor |
|---|---|---|---|---|
20 Iulie 2023, 21:42 |
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,013 |
24.21MB |
5,0 |
|
2
|
correct |
0,014 |
24.28MB |
5,0 |
|
3
|
correct |
0,014 |
24.24MB |
5,0 |
|
4
|
correct |
0,015 |
24.25MB |
5,0 |
|
5
|
correct |
0,014 |
24.24MB |
5,0 |
|
6
|
correct |
0,034 |
27.0MB |
5,0 |
|
7
|
correct |
0,078 |
31.13MB |
5,0 |
|
8
|
correct |
0,092 |
32.17MB |
5,0 |
|
9
|
correct |
0,096 |
32.22MB |
5,0 |
|
10
|
correct |
0,095 |
32.22MB |
5,0 |
|
11
|
correct |
0,354 |
53.75MB |
5,0 |
|
12
|
correct |
0,353 |
53.69MB |
5,0 |
|
13
|
correct |
0,355 |
53.7MB |
5,0 |
|
14
|
correct |
0,352 |
53.79MB |
5,0 |
|
15
|
correct |
0,355 |
53.74MB |
5,0 |
|
16
|
correct |
1,033 |
98.9MB |
5,0 |
|
17
|
correct |
1,033 |
98.84MB |
5,0 |
|
18
|
correct |
1,034 |
98.88MB |
5,0 |
|
19
|
correct |
1,031 |
98.88MB |
5,0 |
|
20
|
correct |
1,034 |
98.89MB |
5,0 |