Problem payraise
User bribritt
Submission Time 2024-12-14 20:37:54
Score 0
Max Time N/A
Max Memory N/A

Compile Error

payraise.cpp: In function ‘int main()’:
payraise.cpp:43:2: error: ‘seg’ was not declared in this scope
43 | seg f(n);
| ^~~
payraise.cpp:45:3: error: ‘f’ was not declared in this scope
45 | f.up(post[i],post[i],readInt());
| ^
payraise.cpp:49:4: error: ‘f’ was not declared in this scope
49 | f.up(post[x]-sub[x]+1,post[x],readInt());
| ^
payraise.cpp:50:18: error: ‘f’ was not declared in this scope
50 | } else cout << f.qry(post[readInt()]) << "\n";
| ^