foo.cc:1:2: error: invalid preprocessing directive #innowude
1 | #innowude<bits/stdc++.h>
| ^~~~~~~~
foo.cc: In function 'bool check(int, int, long int)':
foo.cc:12:25: error: expected primary-expression before 'long'
12 | for(int i=1; i<=long; i++)
| ^~~~
foo.cc:12:25: error: expected ';' before 'long'
12 | for(int i=1; i<=long; i++)
| ^~~~
| ;
foo.cc:12:25: error: expected primary-expression before 'long'
12 | for(int i=1; i<=long; i++)
| ^~~~
foo.cc:12:25: error: expected ')' before 'long'
12 | for(int i=1; i<=long; i++)
| ~ ^~~~
| )
foo.cc:12:25: error: declaration does not declare anything [-fpermissive]
12 | for(int i=1; i<=long; i++)
| ^~~~
foo.cc:12:9: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
12 | for(int i=1; i<=long; i++)
| ^~~
foo.cc:12:31: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for'
12 | for(int i=1; i<=long; i++)
| ^
foo.cc:12:31: error: 'i' was not declared in this scope
foo.cc: In function 'int main()':
foo.cc:19:9: error: 'scanf' was not declared in this scope
19 | scanf("%d%d",&n,&m);
| ^~~~~
foo.cc:50:9: error: 'printf' was not declared in this scope
50 | printf("%d\n",ans*ans);
| ^~~~~~
foo.cc:1:1: note: 'printf' is defined in header '<cstdio>'; did you forget to '#include <cstdio>'?
+++ |+#include <cstdio>
1 | #innowude<bits/stdc++.h>
Found 10 testcases.
[Hydro](https://hydro.ac)提供评测服务