Pagini recente » Borderou de evaluare (job #920625) | Borderou de evaluare (job #1122143) | Borderou de evaluare (job #3227374) | Borderou de evaluare (job #47936) | Borderou de evaluare (job #3038795)
Borderou de evaluare (job #3038795)
Raport evaluator
Compilare:
main.cpp: In function 'std::pair<int, int> solve(int)':
main.cpp:54:41: warning: 'mij2' may be used uninitialized [-Wmaybe-uninitialized]
54 | rez.second -= d[mij2];
| ~~~~~~^
main.cpp:41:33: note: 'mij2' was declared here
41 | 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:2:
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:115: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:100:25: note: 'mij2' was declared here
100 | int st2,dr2,mij2;
| ^~~~
main.cpp:80:53: warning: 'mij2' may be used uninitialized [-Wmaybe-uninitialized]
80 | if(mij>=2) aux = max(aux, d[mij2] - d[mij-b/r+1] - d[mij-b/r+2]);
| ~~~~~~^
main.cpp:65:33: note: 'mij2' was declared here
65 | int st2,dr2,mij2;
| ^~~~
main.cpp:33:20: warning: 'mij' may be used uninitialized [-Wmaybe-uninitialized]
33 | if(b/r - mij == 1)
| ~~~~^~~~~
main.cpp:13:15: note: 'mij' was declared here
13 | 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 | 6ms | 819kb | Corect! | 5 |
12 | 9ms | 1081kb | Corect! | 5 |
13 | 0ms | 303kb | Corect! | 5 |
14 | 9ms | 1081kb | Corect! | 5 |
15 | 24ms | 1470kb | Corect! | 5 |
16 | 19ms | 1470kb | Corect! | 5 |
17 | 24ms | 1470kb | Corect! | 5 |
18 | 14ms | 1474kb | Corect! | 5 |
19 | 19ms | 1466kb | Corect! | 5 |
20 | 9ms | 1343kb | Prima cerinta corecta! | 2 |
Punctaj total | 97 |