sequence.cpp: In function 'bool check(int)':
sequence.cpp:3:20: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
3 | #define rep(i,a,n) for (int i=a;i<n;i++)
| ^~~
sequence.cpp:51:2: note: in expansion of macro 'rep'
51 | rep(i,1,x+1) printf("%d ",v[i]); if (x!=0) printf("\n");
| ^~~
sequence.cpp:51:35: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for'
51 | rep(i,1,x+1) printf("%d ",v[i]); if (x!=0) printf("\n");
| ^~
sequence.cpp:52:1: warning: no return statement in function returning non-void [-Wreturn-type]
52 | }
| ^
sequence.cpp: In function 'void solve()':
sequence.cpp:54:7: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result]
54 | scanf("%d%d",&n,&m);
| ~~~~~^~~~~~~~~~~~~~
sequence.cpp: In function 'int main()':
sequence.cpp:61:12: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result]
61 | for (scanf("%d",&_);_;_--) {
| ~~~~~^~~~~~~~~