Pagini recente »
Borderou de evaluare (job #803017)
Borderou de evaluare (job #803017)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:19:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'unsigned int'} [-Wsign-compare]
19 | for(int i = 0; i < s.size(); i++) {
| ~~^~~~~~~~~~
main.cpp:40:17: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'unsigned int'} [-Wsign-compare]
40 | while(start < s.size()) {
| ~~~~~~^~~~~~~~~~
main.cpp:52:14: warning: structured bindings only available with '-std=c++17' or '-std=gnu++17' [-Wc++17-extensions]
52 | for(auto [l, r] : blocks) {
| ^
main.cpp:58:14: warning: structured bindings only available with '-std=c++17' or '-std=gnu++17' [-Wc++17-extensions]
58 | for(auto [l, r] : blocks) {
| ^
main.cpp:7:12: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result]
7 | freopen("bug.in", "r", stdin);
| ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~
main.cpp:8:12: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result]
8 | freopen("bug.out", "w", stdout);
| ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
main.cpp:56:21: warning: 'c' may be used uninitialized [-Wmaybe-uninitialized]
56 | ans += to_string(c);
| ~~~~~~~~~^~~
main.cpp:45:9: note: 'c' was declared here
45 | int c;
| ^
Test |
Timp execuție |
Memorie folosită |
Mesaj |
Punctaj/test |
1
|
1 ms
|
507 kb
|
OK
|
1
|
2
|
1 ms
|
245 kb
|
Incorect
|
0
|
3
|
1 ms
|
245 kb
|
Incorect
|
0
|
4
|
1 ms
|
512 kb
|
Incorect
|
0
|
5
|
2 ms
|
245 kb
|
Incorect
|
0
|
6
|
1 ms
|
245 kb
|
Incorect
|
0
|
7
|
1 ms
|
245 kb
|
Incorect
|
0
|
8
|
9 ms
|
708 kb
|
Incorect
|
0
|
9
|
1 ms
|
245 kb
|
Incorect
|
0
|
10
|
2 ms
|
245 kb
|
Incorect
|
0
|
11
|
2 ms
|
245 kb
|
Incorect
|
0
|
12
|
1 ms
|
245 kb
|
Incorect
|
0
|
13
|
1 ms
|
245 kb
|
Incorect
|
0
|
14
|
1 ms
|
245 kb
|
Incorect
|
0
|
15
|
1 ms
|
245 kb
|
Incorect
|
0
|
16
|
2 ms
|
507 kb
|
Incorect
|
0
|
17
|
1 ms
|
245 kb
|
Incorect
|
0
|
18
|
1 ms
|
245 kb
|
Incorect
|
0
|
19
|
2 ms
|
245 kb
|
Incorect
|
0
|
20
|
1 ms
|
237 kb
|
Incorect
|
0
|
21
|
1 ms
|
245 kb
|
Incorect
|
0
|
22
|
1 ms
|
245 kb
|
Incorect
|
0
|
23
|
2 ms
|
237 kb
|
Incorect
|
0
|
24
|
1 ms
|
245 kb
|
Incorect
|
0
|
25
|
1 ms
|
237 kb
|
Incorect
|
0
|
26
|
1 ms
|
249 kb
|
Incorect
|
0
|
27
|
2 ms
|
512 kb
|
Incorect
|
0
|
28
|
9 ms
|
450 kb
|
Incorect
|
0
|
29
|
9 ms
|
454 kb
|
Incorect
|
0
|
30
|
9 ms
|
712 kb
|
Incorect
|
0
|
31
|
9 ms
|
450 kb
|
Incorect
|
0
|
32
|
9 ms
|
442 kb
|
Incorect
|
0
|
33
|
9 ms
|
462 kb
|
Incorect
|
0
|
34
|
1 ms
|
245 kb
|
Incorect
|
0
|
35
|
2 ms
|
245 kb
|
Incorect
|
0
|
36
|
2 ms
|
237 kb
|
Incorect
|
0
|
37
|
2 ms
|
245 kb
|
Incorect
|
0
|
38
|
2 ms
|
499 kb
|
Incorect
|
0
|
39
|
9 ms
|
704 kb
|
Incorect
|
0
|
40
|
9 ms
|
458 kb
|
Incorect
|
0
|
41
|
9 ms
|
704 kb
|
Incorect
|
0
|
Punctaj total
|
1
|