Pagini recente » Borderou de evaluare (job #1013795) | Borderou de evaluare (job #2533141) | Borderou de evaluare (job #1112247) | Borderou de evaluare (job #1357731) | Borderou de evaluare (job #2785505)
Borderou de evaluare (job #2785505)
Raport evaluator
Compilare:
main.cpp: In function 'void construire_vector_prefix(char*)':
main.cpp:14:19: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare]
14 | for(int i=1; i<strlen(subsir); i++){
| ~^~~~~~~~~~~~~~~
main.cpp: In function 'int main()':
main.cpp:29:19: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare]
29 | for(int i=0; i<strlen(sir); i++){
| ~^~~~~~~~~~~~
main.cpp:32:18: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare]
32 | if(p == strlen(subsir) && cnt < 1000) {cnt++; rez.push(i-p+1); p = v_prefix[p] + 1;}
| ~~^~~~~~~~~~~~~~~~~
main.cpp:34:34: warning: array subscript has type 'char' [-Wchar-subscripts]
34 | p = v_prefix[subsir[p]];
| ~~~~~~~~^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 1ms | 184kb | OK | 2 | 2 |
2 | 1ms | 184kb | OK | 2 | 2 |
3 | 1ms | 184kb | OK | 2 | 2 |
4 | 2ms | 184kb | Incorect | 0 | 0 |
5 | 1ms | 184kb | Incorect | 0 | 0 |
6 | 1ms | 184kb | Incorect | 0 | 0 |
7 | 1ms | 184kb | Incorect | 0 | 0 |
8 | 5ms | 4472kb | Incorect | 0 | 0 |
9 | 2ms | 221kb | Incorect | 0 | 0 |
10 | 6ms | 4370kb | OK | 2 | 2 |
11 | 1ms | 184kb | Incorect | 0 | 0 |
12 | 13ms | 4464kb | OK | 2 | 2 |
13 | 1ms | 184kb | Incorect | 0 | 0 |
14 | 6ms | 4370kb | Incorect | 0 | 0 |
15 | 1ms | 217kb | OK | 2 | 2 |
16 | 2ms | 184kb | Incorect | 0 | 0 |
17 | 1ms | 184kb | Incorect | 0 | 0 |
18 | 2ms | 184kb | OK | 2 | 2 |
19 | 2ms | 184kb | OK | 2 | 2 |
20 | 6ms | 4374kb | Incorect | 0 | 0 |
21 | 275ms | 4481kb | Incorect | 0 | 0 |
22 | 218ms | 4476kb | Incorect | 0 |
23 | 252ms | 4476kb | Incorect | 0 |
24 | 113ms | 4485kb | Incorect | 0 |
25 | 307ms | 4374kb | Time limit exceeded | 0 |
26 | 305ms | 4489kb | Time limit exceeded | 0 |
27 | 303ms | 4374kb | Time limit exceeded | 0 |
28 | 278ms | 4485kb | Incorect | 0 |
29 | 306ms | 4485kb | Time limit exceeded | 0 |
30 | 63ms | 4378kb | Incorect | 0 |
31 | 116ms | 4476kb | Incorect | 0 | 0 |
32 | 264ms | 4485kb | Incorect | 0 |
33 | 250ms | 4476kb | Incorect | 0 |
34 | 276ms | 4485kb | Incorect | 0 |
35 | 69ms | 4370kb | Incorect | 0 |
36 | 184ms | 4501kb | Incorect | 0 |
37 | 277ms | 4485kb | Incorect | 0 |
38 | 267ms | 4476kb | Incorect | 0 |
39 | 277ms | 4476kb | Incorect | 0 |
40 | 133ms | 4489kb | Incorect | 0 |
41 | 303ms | 4423kb | Time limit exceeded | 0 | 0 |
42 | 300ms | 4370kb | Time limit exceeded | 0 |
43 | 203ms | 4489kb | Incorect | 0 |
44 | 300ms | 4481kb | Time limit exceeded | 0 |
45 | 301ms | 4481kb | Time limit exceeded | 0 |
46 | 148ms | 4485kb | Incorect | 0 |
47 | 301ms | 4489kb | Time limit exceeded | 0 |
48 | 255ms | 4481kb | Incorect | 0 |
49 | 305ms | 4665kb | Time limit exceeded | 0 |
50 | 303ms | 4440kb | Time limit exceeded | 0 |
Punctaj total | 16 |