Pagini recente » Borderou de evaluare (job #1252006) | Borderou de evaluare (job #535350) | Borderou de evaluare (job #3196456) | Borderou de evaluare (job #118484) | Borderou de evaluare (job #3288880)
Borderou de evaluare (job #3288880)
Raport evaluator
Compilare:
main.cpp: In lambda function:
main.cpp:264:27: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare]
264 | for (int i = 0; i < len; ++i) {
| ~~^~~~~
main.cpp: In function 'std::pair<int, std::array<int, 1000> > strmatch(const std::string&, const std::string&)':
main.cpp:303:28: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare]
303 | for (int i = a_size; i <= b_size; ++i) {
| ~~^~~~~~~~~
main.cpp:316:15: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare]
316 | if (i < b_size)
| ~~^~~~~~~~
In file included from /usr/include/c++/12.2.1/bits/stl_algobase.h:64,
from /usr/include/c++/12.2.1/array:43,
from main.cpp:2:
In constructor 'constexpr std::pair<_T1, _T2>::pair(_U1&&, _U2&&) [with _U1 = int; _U2 = std::array<int, 1000>&; _T1 = int; _T2 = std::array<int, 1000>]',
inlined from 'std::pair<int, std::array<int, 1000> > strmatch(const std::string&, const std::string&)' at main.cpp:225:31:
/usr/include/c++/12.2.1/bits/stl_pair.h:281:42: warning: 'positions' may be used uninitialized [-Wmaybe-uninitialized]
281 | : first(std::forward<_U1>(__x)), second(std::forward<_U2>(__y))
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.cpp: In function 'std::pair<int, std::array<int, 1000> > strmatch(const std::string&, const std::string&)':
main.cpp:221:27: note: 'positions' declared here
221 | std::array<int, 1000> positions;
| ^~~~~~~~~
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 0ms | 303kb | OK | 2 | 2 |
2 | 0ms | 303kb | OK | 2 | 2 |
3 | 0ms | 303kb | Incorect | 0 | 0 |
4 | 0ms | 303kb | Incorect | 0 | 0 |
5 | 0ms | 303kb | Incorect | 0 | 0 |
6 | 0ms | 303kb | Incorect | 0 | 0 |
7 | 0ms | 303kb | Incorect | 0 | 0 |
8 | 0ms | 303kb | Incorect | 0 | 0 |
9 | 0ms | 303kb | Incorect | 0 | 0 |
10 | 0ms | 303kb | OK | 2 | 2 |
11 | 0ms | 303kb | Incorect | 0 | 0 |
12 | 0ms | 303kb | OK | 2 | 2 |
13 | 0ms | 303kb | Incorect | 0 | 0 |
14 | 0ms | 303kb | Incorect | 0 | 0 |
15 | 0ms | 303kb | OK | 2 | 2 |
16 | 0ms | 303kb | Incorect | 0 | 0 |
17 | 0ms | 303kb | Incorect | 0 | 0 |
18 | 0ms | 303kb | OK | 2 | 2 |
19 | 0ms | 303kb | OK | 2 | 2 |
20 | 0ms | 303kb | Incorect | 0 | 0 |
21 | 9ms | 2801kb | Incorect | 0 | 0 |
22 | 14ms | 4399kb | Incorect | 0 |
23 | 14ms | 3772kb | Incorect | 0 |
24 | 8ms | 2854kb | Incorect | 0 |
25 | 9ms | 2805kb | Incorect | 0 |
26 | 14ms | 4210kb | Incorect | 0 |
27 | 14ms | 3706kb | Incorect | 0 |
28 | 9ms | 3276kb | Incorect | 0 |
29 | 9ms | 3309kb | Incorect | 0 |
30 | 14ms | 4390kb | Incorect | 0 |
31 | 14ms | 4390kb | Incorect | 0 | 0 |
32 | 14ms | 3993kb | Incorect | 0 |
33 | 9ms | 3383kb | Incorect | 0 |
34 | 14ms | 4218kb | Incorect | 0 |
35 | 14ms | 4231kb | Incorect | 0 |
36 | 9ms | 2662kb | Incorect | 0 |
37 | 14ms | 4255kb | Incorect | 0 |
38 | 9ms | 3383kb | Incorect | 0 |
39 | 8ms | 3108kb | Incorect | 0 |
40 | 9ms | 3260kb | Incorect | 0 |
41 | 14ms | 3833kb | Incorect | 0 | 0 |
42 | 8ms | 3043kb | Incorect | 0 |
43 | 13ms | 3846kb | Incorect | 0 |
44 | 13ms | 3993kb | Incorect | 0 |
45 | 9ms | 3117kb | Incorect | 0 |
46 | 9ms | 2818kb | Incorect | 0 |
47 | 14ms | 3674kb | Incorect | 0 |
48 | 14ms | 4227kb | Incorect | 0 |
49 | 19ms | 6463kb | Incorect | 0 |
50 | 14ms | 4390kb | Incorect | 0 |
Punctaj total | 14 |