speedrun.cpp:9: warning: ignoring '#pragma GCC optimization' [-Wunknown-pragmas]
9 | #pragma GCC optimization ("O3")
|
speedrun.cpp:10: warning: ignoring '#pragma GCC optimization' [-Wunknown-pragmas]
10 | #pragma GCC optimization ("unroll-loops")
|
speedrun.cpp:11: warning: ignoring '#pragma optimization_level ' [-Wunknown-pragmas]
11 | #pragma optimization_level 3
|
speedrun.cpp: In function 'void assignHints(int, int, int*, int*)':
speedrun.cpp:37:9: error: 'setHintLen' was not declared in this scope
37 | setHintLen(N);
| ^~~~~~~~~~
speedrun.cpp:44:17: error: 'setHint' was not declared in this scope; did you mean 'setns'?
44 | setHint(i,j,bool(k[i][j]));
| ^~~~~~~
| setns
speedrun.cpp: In function 'void speedrun(int, int, int)':
speedrun.cpp:55:17: error: 'getLength' was not declared in this scope
55 | int l = getLength(),pos = start,cnt = 1;
| ^~~~~~~~~
speedrun.cpp:56:15: error: 'cnt' was not declared in this scope; did you mean 'int'?
56 | while(cnt != N){
| ^~~
| int
speedrun.cpp:57:18: error: 'pos' was not declared in this scope; did you mean 'pow'?
57 | used[pos] = true;
| ^~~
| pow
speedrun.cpp:60:26: error: 'getHint' was not declared in this scope; did you mean 'getline'?
60 | bool f = getHint(i);
| ^~~~~~~
| getline
speedrun.cpp:63:30: error: 'goTo' was not declared in this scope
63 | bool k = goTo(i);
| ^~~~
speedrun.cpp:63:26: warning: unused variable 'k' [-Wunused-variable]
63 | bool k = goTo(i);
| ^
speedrun.cpp:69:21: error: 'goTo' was not declared in this scope
69 | goTo(pr[pos]);
| ^~~~
speedrun.cpp:55:13: warning: unused variable 'l' [-Wunused-variable]
55 | int l = getLength(),pos = start,cnt = 1;
| ^