Problem rotarylock
User bakchormee
Submission Time 2024-04-30 16:24:39
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:68:6: error: ‘ll’ was not declared in this scope
68 | for(ll i = 0; i < q; i++){
| ^~
rotarylock.cpp:68:16: error: ‘i’ was not declared in this scope
68 | for(ll i = 0; i < q; i++){
| ^
rotarylock.cpp:69:5: error: expected ‘;’ before ‘a’
69 | ll a; cin >> a;
| ^~
| ;
rotarylock.cpp:69:16: error: ‘a’ was not declared in this scope
69 | ll a; cin >> a;
| ^
rotarylock.cpp:71:6: error: expected ‘;’ before ‘d’
71 | ll d, s; cin >> d >> s;
| ^~
| ;
rotarylock.cpp:71:20: error: ‘d’ was not declared in this scope
71 | ll d, s; cin >> d >> s;
| ^
rotarylock.cpp:71:25: error: ‘s’ was not declared in this scope
71 | ll d, s; cin >>