Utilizator |
Problema |
Data |
Compilator |
Scor |
|---|---|---|---|---|
20 Iulie 2023, 20:23 |
c++32 |
100.0 |
main.cpp: In function ‘int main()’:
main.cpp:55:26: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<int>::size_type’ {aka ‘unsigned int’} [-Wsign-compare]
55 | for(int i = 1; i < val.size(); i++) {
| ~~^~~~~~~~~~~~
main.cpp:36:12: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
36 | freopen("qmaxt.in", "r", stdin);
| ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
main.cpp:37:12: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
37 | freopen("qmaxt.out", "w", stdout);
| ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~
Test |
Mesaj evaluator |
Timp execuție |
Memorie |
Scor |
|---|---|---|---|---|
|
1
|
correct |
0,001 |
176KB |
5,0 |
|
2
|
correct |
0,005 |
6.18MB |
5,0 |
|
3
|
correct |
0,0 |
176KB |
5,0 |
|
4
|
correct |
0,001 |
176KB |
5,0 |
|
5
|
correct |
0,0 |
176KB |
5,0 |
|
6
|
correct |
0,019 |
7.46MB |
5,0 |
|
7
|
correct |
0,054 |
9.61MB |
5,0 |
|
8
|
correct |
0,07 |
10.24MB |
5,0 |
|
9
|
correct |
0,065 |
10.25MB |
5,0 |
|
10
|
correct |
0,07 |
10.27MB |
5,0 |
|
11
|
correct |
0,297 |
21.03MB |
5,0 |
|
12
|
correct |
0,299 |
20.98MB |
5,0 |
|
13
|
correct |
0,298 |
21.0MB |
5,0 |
|
14
|
correct |
0,299 |
21.08MB |
5,0 |
|
15
|
correct |
0,3 |
21.0MB |
5,0 |
|
16
|
correct |
0,927 |
44.3MB |
5,0 |
|
17
|
correct |
0,929 |
44.22MB |
5,0 |
|
18
|
correct |
0,927 |
44.2MB |
5,0 |
|
19
|
correct |
0,935 |
44.25MB |
5,0 |
|
20
|
correct |
0,928 |
44.29MB |
5,0 |