Problem waveway4
User Yangyuchen13
Submission Time 2026-11-06 14:28:30
Score 0
Max Time N/A
Max Memory N/A

Compile Error

waveway4.cpp: In function ‘int main()’:
waveway4.cpp:7:27: error: expected ‘;’ before ‘long’
7 | cin.tie(0);cout.tie(0)
| ^
| ;
waveway4.cpp:9:9: error: ‘n’ was not declared in this scope; did you mean ‘yn’?
9 | cin >> n>>m>>q;
| ^
| yn
waveway4.cpp:9:12: error: ‘m’ was not declared in this scope; did you mean ‘tm’?
9 | cin >> n>>m>>q;
| ^
| tm
waveway4.cpp:9:15: error: ‘q’ was not declared in this scope
9 | cin >> n>>m>>q;
| ^
waveway4.cpp:14:16: error: ‘a’ was not declared in this scope
14 | cin >> a[i];
| ^
waveway4.cpp:16:16: error: ‘b’ was not declared in this scope
16 | cin >> b[i];
| ^
waveway4.cpp:18:16: error: ‘query’