Borderou de evaluare (job #3038781)
Raport evaluator
Compilare:
main.cpp: In function 'std::pair<int, int> solve(int)':
main.cpp:53:41: warning: 'mij2' may be used uninitialized [-Wmaybe-uninitialized]
53 | rez.second -= d[mij2];
| ~~~~~~^
main.cpp:40:33: note: 'mij2' was declared here
40 | int st2,dr2,mij2;
| ^~~~
In file included from /usr/include/c++/12.2.1/bits/specfun.h:45,
from /usr/include/c++/12.2.1/cmath:1935,
from /usr/include/c++/12.2.1/x86_64-pc-linux-gnu/bits/stdc++.h:41,
from main.cpp:1:
In function 'constexpr const _Tp& std::max(const _Tp&, const _Tp&) [with _Tp = int]',
inlined from 'std::pair<int, int> solve(int)' at main.cpp:114:22:
/usr/include/c++/12.2.1/bits/stl_algobase.h:259:15: warning: 'mij2' may be used uninitialized [-Wmaybe-uninitialized]
259 | if (__a < __b)
| ~~~~^~~~~
main.cpp: In function 'std::pair<int, int> solve(int)':
main.cpp:99:25: note: 'mij2' was declared here
99 | int st2,dr2,mij2;
| ^~~~
main.cpp:79:53: warning: 'mij2' may be used uninitialized [-Wmaybe-uninitialized]
79 | if(mij>=2) aux = max(aux, d[mij2] - d[mij-b/r+1] - d[mij-b/r+2]);
| ~~~~~~^
main.cpp:64:33: note: 'mij2' was declared here
64 | int st2,dr2,mij2;
| ^~~~
main.cpp:32:20: warning: 'mij' may be used uninitialized [-Wmaybe-uninitialized]
32 | if(b/r - mij == 1)
| ~~~~^~~~~
main.cpp:12:15: note: 'mij' was declared here
12 | int st,dr,mij;
| ^~~
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 303kb | Corect! | 5 |
2 | 0ms | 303kb | Corect! | 5 |
3 | 0ms | 303kb | Corect! | 5 |
4 | 0ms | 303kb | Corect! | 5 |
5 | 0ms | 303kb | Corect! | 5 |
6 | 0ms | 303kb | Corect! | 5 |
7 | 0ms | 303kb | Corect! | 5 |
8 | 0ms | 303kb | Corect! | 5 |
9 | 0ms | 303kb | Corect! | 5 |
10 | 0ms | 303kb | Corect! | 5 |
11 | 5ms | 819kb | Corect! | 5 |
12 | 6ms | 1081kb | Corect! | 5 |
13 | 0ms | 303kb | Corect! | 5 |
14 | 4ms | 819kb | Corect! | 5 |
15 | 14ms | 1474kb | Corect! | 5 |
16 | 9ms | 1081kb | Corect! | 5 |
17 | 14ms | 1474kb | Corect! | 5 |
18 | 9ms | 1081kb | Corect! | 5 |
19 | 14ms | 1474kb | Corect! | 5 |
20 | 103ms | 1589kb | Time limit exceeded | 0 |
Punctaj total | 95 |