Pagini recente » Borderou de evaluare (job #690774) | Borderou de evaluare (job #2258838) | Borderou de evaluare (job #2424141) | Borderou de evaluare (job #2503663) | Borderou de evaluare (job #2794141)
Borderou de evaluare (job #2794141)
Raport evaluator
Compilare:
main.cpp: In function 'bool search(char*, int, char*, int)':
main.cpp:96:24: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
96 | found = hash_B = (hash_A and cmp(A + i - length2, B)) ;
| ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.cpp:90:92: warning: unused variable 'power' [-Wunused-variable]
90 | int i = length2, hash_B = compute_hash(B, length2), hash_A = compute_hash(A, length1), power ;
| ^~~~~
main.cpp: In function 'int found1(char*, int, char*, int)':
main.cpp:112:24: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
112 | found = hash_B = (hash_A and cmp(A + i - length2, B)) ;
| ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.cpp:106:92: warning: unused variable 'power' [-Wunused-variable]
106 | int i = length2, hash_B = compute_hash(B, length2), hash_A = compute_hash(A, length1), power, cnt = 0 ;
| ^~~~~
main.cpp: In function 'void found2(char*, int, char*, int)':
main.cpp:135:24: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
135 | found = hash_B = (hash_A and cmp(A + i - length2, B)) ;
| ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.cpp:128:92: warning: unused variable 'power' [-Wunused-variable]
128 | int i = length2, hash_B = compute_hash(B, length2), hash_A = compute_hash(A, length1), power ;
| ^~~~~
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 | 1ms | 184kb | OK | 2 | 2 |
5 | 1ms | 184kb | OK | 2 | 2 |
6 | 13ms | 2273kb | OK | 2 | 2 |
7 | 1ms | 184kb | OK | 2 | 2 |
8 | 1ms | 184kb | OK | 2 | 2 |
9 | 3ms | 2273kb | OK | 2 | 2 |
10 | 1ms | 184kb | OK | 2 | 2 |
11 | 12ms | 2273kb | OK | 2 | 2 |
12 | 1ms | 184kb | OK | 2 | 2 |
13 | 1ms | 184kb | OK | 2 | 2 |
14 | 1ms | 184kb | OK | 2 | 2 |
15 | 1ms | 184kb | OK | 2 | 2 |
16 | 1ms | 184kb | OK | 2 | 2 |
17 | 1ms | 184kb | OK | 2 | 2 |
18 | 1ms | 184kb | OK | 2 | 2 |
19 | 1ms | 184kb | OK | 2 | 2 |
20 | 1ms | 184kb | OK | 2 | 2 |
21 | 177ms | 2359kb | Incorect | 0 | 0 |
22 | 300ms | 3354kb | Time limit exceeded | 0 |
23 | 105ms | 2584kb | Incorect | 0 |
24 | 53ms | 2355kb | Incorect | 0 |
25 | 52ms | 2359kb | OK | 2 |
26 | 115ms | 2777kb | Incorect | 0 |
27 | 68ms | 2576kb | Incorect | 0 |
28 | 133ms | 2355kb | Incorect | 0 |
29 | 84ms | 2359kb | OK | 2 |
30 | 305ms | 2777kb | Time limit exceeded | 0 |
31 | 300ms | 2797kb | Time limit exceeded | 0 | 0 |
32 | 119ms | 2703kb | Incorect | 0 |
33 | 115ms | 2355kb | OK | 2 |
34 | 92ms | 2723kb | Incorect | 0 |
35 | 186ms | 2764kb | Incorect | 0 |
36 | 249ms | 2359kb | Incorect | 0 |
37 | 116ms | 2768kb | Incorect | 0 |
38 | 79ms | 2375kb | Incorect | 0 |
39 | 93ms | 2363kb | Incorect | 0 |
40 | 70ms | 2359kb | OK | 2 |
41 | 71ms | 2519kb | OK | 2 | 0 |
42 | 77ms | 2363kb | OK | 2 |
43 | 124ms | 2592kb | Incorect | 0 |
44 | 66ms | 2609kb | Incorect | 0 |
45 | 84ms | 2359kb | Incorect | 0 |
46 | 107ms | 2490kb | Incorect | 0 |
47 | 82ms | 2478kb | Incorect | 0 |
48 | 65ms | 2785kb | Incorect | 0 |
49 | 300ms | 3833kb | Time limit exceeded | 0 |
50 | 301ms | 2752kb | Time limit exceeded | 0 |
Punctaj total | 40 |