Pagini recente » Borderou de evaluare (job #1088371) | Borderou de evaluare (job #1648925) | Borderou de evaluare (job #233221) | Borderou de evaluare (job #3260936) | Borderou de evaluare (job #3209388)
Borderou de evaluare (job #3209388)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:52:36: warning: 'hashA2' may be used uninitialized [-Wmaybe-uninitialized]
52 | if (hashA1 == hashB1 && hashA2 == hashB2) {
| ~~~~~~~^~~~~~~~~
main.cpp:19:17: note: 'hashA2' was declared here
19 | int hashA1, hashA2;
| ^~~~~~
main.cpp:52:16: warning: 'hashA1' may be used uninitialized [-Wmaybe-uninitialized]
52 | if (hashA1 == hashB1 && hashA2 == hashB2) {
| ~~~~~~~^~~~~~~~~
main.cpp:19:9: note: 'hashA1' was declared here
19 | int hashA1, hashA2;
| ^~~~~~
main.cpp:58:42: warning: 'P1' may be used uninitialized [-Wmaybe-uninitialized]
58 | hashB1 = ((hashB1 - (B[i - lenA] * P1) % MOD1 + MOD1) * P + B[i]) % MOD1;
| ~~~~~~~~~~~~~^~~~~
main.cpp:18:9: note: 'P1' was declared here
18 | int P1, P2;
| ^~
main.cpp:59:42: warning: 'P2' may be used uninitialized [-Wmaybe-uninitialized]
59 | hashB2 = ((hashB2 - (B[i - lenA] * P2) % MOD2 + MOD2) * P + B[i]) % MOD2;
| ~~~~~~~~~~~~~^~~~~
main.cpp:18:13: note: 'P2' was declared here
18 | int P1, P2;
| ^~
main.cpp:52:36: warning: 'hashB2' may be used uninitialized [-Wmaybe-uninitialized]
52 | if (hashA1 == hashB1 && hashA2 == hashB2) {
| ~~~~~~~^~~~~~~~~
main.cpp:20:17: note: 'hashB2' was declared here
20 | int hashB1, hashB2;
| ^~~~~~
main.cpp:52:16: warning: 'hashB1' may be used uninitialized [-Wmaybe-uninitialized]
52 | if (hashA1 == hashB1 && hashA2 == hashB2) {
| ~~~~~~~^~~~~~~~~
main.cpp:20:9: note: 'hashB1' was declared here
20 | int hashB1, hashB2;
| ^~~~~~
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 | 1609kb | Incorect | 0 | 0 |
22 | 14ms | 2371kb | Incorect | 0 |
23 | 9ms | 1867kb | Incorect | 0 |
24 | 8ms | 1605kb | Incorect | 0 |
25 | 8ms | 1343kb | Incorect | 0 |
26 | 9ms | 2129kb | Incorect | 0 |
27 | 9ms | 1867kb | Incorect | 0 |
28 | 9ms | 1609kb | Incorect | 0 |
29 | 9ms | 1867kb | Incorect | 0 |
30 | 14ms | 2396kb | Incorect | 0 |
31 | 14ms | 2392kb | Incorect | 0 | 0 |
32 | 9ms | 2129kb | Incorect | 0 |
33 | 9ms | 1867kb | Incorect | 0 |
34 | 9ms | 2129kb | Incorect | 0 |
35 | 9ms | 2129kb | Incorect | 0 |
36 | 8ms | 1347kb | Incorect | 0 |
37 | 9ms | 2129kb | Incorect | 0 |
38 | 9ms | 1867kb | Incorect | 0 |
39 | 9ms | 1605kb | Incorect | 0 |
40 | 9ms | 1605kb | Incorect | 0 |
41 | 9ms | 1867kb | Incorect | 0 | 0 |
42 | 9ms | 1605kb | Incorect | 0 |
43 | 9ms | 2129kb | Incorect | 0 |
44 | 9ms | 2129kb | Incorect | 0 |
45 | 9ms | 1605kb | Incorect | 0 |
46 | 9ms | 1605kb | Incorect | 0 |
47 | 9ms | 1867kb | Incorect | 0 |
48 | 9ms | 2129kb | Incorect | 0 |
49 | 19ms | 3178kb | Incorect | 0 |
50 | 14ms | 2392kb | Incorect | 0 |
Punctaj total | 14 |