Problem rollercoaster
User hitarthdangra
Submission Time 2025-06-20 13:44:20
Score 0
Max Time N/A
Max Memory N/A

Compile Error

rollercoaster.cpp: In function ‘int main()’:
rollercoaster.cpp:22:13: error: ‘temp’ was not declared in this scope
22 | B[y] = temp;
| ^~~~
rollercoaster.cpp:37:2: error: expected ‘}’ at end of input
37 | }
| ^
rollercoaster.cpp:4:12: note: to match this ‘{’
4 | int main() {
| ^