Problem ring2
User chenweilian
Submission Time 2026-03-06 15:25:11
Score 0
Max Time N/A
Max Memory N/A

Compile Error

ring2.cpp:63:1: error: expected ‘,’ or ‘;’ before ‘int’
63 | int n, m;
| ^~~
ring2.cpp: In function ‘int main()’:
ring2.cpp:217:7: error: ‘n’ was not declared in this scope
217 | cin>>n>>m>>k;
| ^
ring2.cpp:217:10: error: ‘m’ was not declared in this scope
217 | cin>>n>>m>>k;
| ^