Pagini recente » Borderou de evaluare (job #2913677) | Borderou de evaluare (job #2775521) | Borderou de evaluare (job #2650127) | Borderou de evaluare (job #1924938) | Borderou de evaluare (job #3288867)
Borderou de evaluare (job #3288867)
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:306:28: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare]
306 | for (int i = a_size; i <= b_size; ++i) {
| ~~^~~~~~~~~
main.cpp:319:15: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare]
319 | 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 | 2797kb | Incorect | 0 | 0 |
22 | 9ms | 4399kb | Incorect | 0 |
23 | 9ms | 3772kb | Incorect | 0 |
24 | 9ms | 2854kb | Incorect | 0 |
25 | 4ms | 2805kb | Incorect | 0 |
26 | 9ms | 4210kb | Incorect | 0 |
27 | 8ms | 3706kb | Incorect | 0 |
28 | 9ms | 3272kb | Incorect | 0 |
29 | 9ms | 3313kb | Incorect | 0 |
30 | 9ms | 4395kb | Incorect | 0 |
31 | 13ms | 4395kb | Incorect | 0 | 0 |
32 | 9ms | 3993kb | Incorect | 0 |
33 | 9ms | 3387kb | Incorect | 0 |
34 | 9ms | 4218kb | Incorect | 0 |
35 | 9ms | 4235kb | Incorect | 0 |
36 | 8ms | 2666kb | Incorect | 0 |
37 | 13ms | 4255kb | Incorect | 0 |
38 | 9ms | 3379kb | Incorect | 0 |
39 | 9ms | 3112kb | Incorect | 0 |
40 | 8ms | 3260kb | Incorect | 0 |
41 | 9ms | 3829kb | Incorect | 0 | 0 |
42 | 9ms | 3039kb | Incorect | 0 |
43 | 9ms | 3850kb | Incorect | 0 |
44 | 9ms | 3997kb | Incorect | 0 |
45 | 9ms | 3117kb | Incorect | 0 |
46 | 9ms | 2818kb | Incorect | 0 |
47 | 9ms | 3674kb | Incorect | 0 |
48 | 9ms | 4227kb | Incorect | 0 |
49 | 14ms | 6463kb | Incorect | 0 |
50 | 13ms | 4567kb | Incorect | 0 |
Punctaj total | 14 |