Problem pancake
User bribritt
Submission Time 2023-08-22 13:58:38
Score 0
Max Time N/A
Max Memory N/A

Compile Error

pancake.cpp: In function ‘void bfs(long long int)’:
pancake.cpp:34:15: error: could not convert ‘start’ from ‘vector<long long int>’ to ‘vector<int>’
34 | dist[toNo(start)] = 0;
| ^~~~~
| |
| vector<long long int>
pancake.cpp:35:18: error: could not convert ‘start’ from ‘vector<long long int>’ to ‘vector<int>’
35 | visited[toNo(start)] = true;
| ^~~~~
| |
| vector<long long int>
pancake.cpp:42:30: error: could not convert ‘cur’ from ‘vector<long long int>’ to ‘vector<int>’
42 | if(!visited[toNo(cur)]) {
| ^~~
| |
| vector<long long int>
pancake.cpp:43:30: error: could not convert ‘cur’ from ‘vector<long long int>’ to ‘vec