Borderou de evaluare (job #759099)
Utilizator |
|
IP | ascuns |
---|---|---|---|
Problemă | Fotografie (clasele 9-10) | Compilator | cpp-32 | vezi sursa |
Rundă | Concurs IQ Academy | Clasa a 10-a | Status | evaluat |
Dată | 28 ian. 2024 22:49:25 | Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'int main()':
main.cpp:96:13: error: 'h2' was not declared in this scope; did you mean 'h1'?
96 | h2[j] = (h2[j] - a[i-p][j] * pwr1 + HASH_SIZE ) % HASH_SIZE;
| ^~
| h1
main.cpp:102:51: error: 'h2' was not declared in this scope; did you mean 'h1'?
102 | hashValue = ( hashValue * HASH_BASE + h2[j] ) % HASH_SIZE;
| ^~
| h1
main.cpp:106:45: error: 'h2' was not declared in this scope; did you mean 'h1'?
106 | hashValue = (hashValue - pwr2 * h2[j-q] + HASH_SIZE ) % HASH_SIZE;
| ^~
| h1