Problem rotarylock
User bakchormee
Submission Time 2024-04-30 16:25:13
Score 0
Max Time N/A
Max Memory N/A

Compile Error

cc1plus: error: ‘::main’ must return ‘int’
rotarylock.cpp: In function ‘int main()’:
rotarylock.cpp:69:6: error: ‘ll’ was not declared in this scope
69 | for(ll i = 0; i < q; i++){
| ^~
rotarylock.cpp:69:16: error: ‘i’ was not declared in this scope
69 | for(ll i = 0; i < q; i++){
| ^
rotarylock.cpp:70:5: error: expected ‘;’ before ‘a’
70 | ll a; cin >> a;
| ^~
| ;
rotarylock.cpp:70:16: error: ‘a’ was not declared in this scope
70 | ll a; cin >> a;
| ^
rotarylock.cpp:72:6: error: expected ‘;’ before ‘d’
72 | ll d, s; cin >> d >> s;
| ^~
| ;
rotarylock.cpp:72:20: error: ‘d’ was not declared in this scope
72 | ll d, s; cin >> d >> s;
| ^
rotarylock.cpp:72:25: error: ‘s’ was not declared in this scope
72 | ll d, s; cin >>