Problem scrivener
User lHog
Submission Time 2024-08-05 16:49:44
Score 0
Max Time N/A
Max Memory N/A

Compile Error

scrivener.cpp: In function ‘char GetLetter(int)’:
scrivener.cpp:31:2: error: expected ‘,’ or ‘;’ before ‘long’
31 | long long x = i;
| ^~~~
scrivener.cpp:35:8: error: ‘x’ was not declared in this scope
35 | if (x != -1) x = pr[x][j];
| ^
scrivener.cpp:38:12: error: ‘x’ was not declared in this scope
38 | return (a[x].second);
| ^