Problem snail
User Vinayak01
Submission Time 2024-02-14 19:37:49
Score 0
Max Time N/A
Max Memory N/A

Compile Error

snail.cpp: In function ‘int main()’:
snail.cpp:5:12: error: ‘sync_with_sdio’ is not a member of ‘std::ios_base’
5 | ios_base::sync_with_sdio(0);
| ^~~~~~~~~~~~~~
snail.cpp:11:16: error: ‘n’ was not declared in this scope
11 | vector<int> P(n);
| ^
snail.cpp:17:8: error: ‘i’ was not declared in this scope
17 | while(i){
| ^
snail.cpp:29:33: error: expected ‘}’ at end of input
29 | cout << day << " " << x << endl;
| ^
snail.cpp:4:11: note: to match this ‘{’
4 | int main(){
| ^