Pagini recente » Borderou de evaluare (job #1064587) | Borderou de evaluare (job #237415) | Borderou de evaluare (job #2326010) | Borderou de evaluare (job #260122) | Borderou de evaluare (job #3209241)
Borderou de evaluare (job #3209241)
Raport evaluator
Compilare:
main.cpp: In function 'int LongestSuffixe()':
main.cpp:20:28: warning: 'p34' may be used uninitialized [-Wmaybe-uninitialized]
20 | x4 = ((s[i] - 'a') * p34 + x4) % Q;
| ~~~~~~~~~~~~~^~~~~
main.cpp:13:48: note: 'p34' was declared here
13 | int x1, x2, p12 = 1, i, lgmax = 0, x3, x4, p34;
| ^~~
main.cpp:20:34: warning: 'x4' may be used uninitialized [-Wmaybe-uninitialized]
20 | x4 = ((s[i] - 'a') * p34 + x4) % Q;
| ~~~~~~~~~~~~~~~~~~~~^~~~~
main.cpp:13:44: note: 'x4' was declared here
13 | int x1, x2, p12 = 1, i, lgmax = 0, x3, x4, p34;
| ^~
main.cpp:19:18: warning: 'x3' may be used uninitialized [-Wmaybe-uninitialized]
19 | x3 = (x3 * 26 + (s[i] - 'a')) % Q;
| ~~~^~~~
main.cpp:13:40: note: 'x3' was declared here
13 | int x1, x2, p12 = 1, i, lgmax = 0, x3, x4, p34;
| ^~
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 303kb | Incorect | 0 |
| 2 | 0ms | 303kb | Incorect | 0 |
| 3 | 0ms | 303kb | Incorect | 0 |
| 4 | 0ms | 303kb | Incorect | 0 |
| 5 | 0ms | 303kb | Incorect | 0 |
| 6 | 0ms | 303kb | Incorect | 0 |
| 7 | 0ms | 303kb | Incorect | 0 |
| 8 | 0ms | 303kb | Incorect | 0 |
| 9 | 0ms | 303kb | Incorect | 0 |
| 10 | 0ms | 303kb | Incorect | 0 |
| 11 | 1ms | 557kb | Incorect | 0 |
| 12 | 1ms | 823kb | Incorect | 0 |
| 13 | 1ms | 819kb | Incorect | 0 |
| 14 | 1ms | 819kb | Incorect | 0 |
| 15 | 1ms | 819kb | Incorect | 0 |
| 16 | 2ms | 819kb | Incorect | 0 |
| 17 | 2ms | 819kb | Incorect | 0 |
| 18 | 2ms | 1081kb | Incorect | 0 |
| 19 | 2ms | 1081kb | Incorect | 0 |
| 20 | 2ms | 1081kb | Incorect | 0 |
| Punctaj total | 0 |