Problem | permutationgrid |
---|---|
User | darius0 |
Submission Time | 2024-12-07 14:23:54 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
permutationgrid.cpp: In function ‘int main()’:
permutationgrid.cpp:6:31: error: ‘cin_tie’ was not declared in this scope
6 | ios_base::sync_with_stdio(0);cin_tie(0);
| ^~~~~~~
permutationgrid.cpp:10:6: error: ‘inr’ was not declared in this scope; did you mean ‘int’?
10 | for(inr i = 0; i < w; i++){
| ^~~
| int
permutationgrid.cpp:10:17: error: ‘i’ was not declared in this scope
10 | for(inr i = 0; i < w; i++){
| ^
permutationgrid.cpp:16:10: error: expected initializer before ‘-’ token
16 | bool ok -1;
| ^
permutationgrid.cpp:18:6: error: ‘i’ was not declared in this scope
18 | if(i+1 < n && arr[i+1] -- arr[x]+1){
| ^
permutationgrid.cpp:18:12: error: ‘n’ was not declared in this scope
18 | if(i+1 < n && arr[i+1] -- arr[x]+1){
| ^
permutationgrid.cpp:18:28: error: expe