/in/foo.cc:16:18: error: stray '#' in program
16 | }#include<iostream>
| ^
/in/foo.cc: In function 'int main()':
/in/foo.cc:7:23: error: 'x' was not declared in this scope
7 | int k;cin>>k; x=1;
| ^
/in/foo.cc:16:19: error: 'include' was not declared in this scope
16 | }#include<iostream>
| ^~~~~~~
/in/foo.cc:16:35: error: expected primary-expression before '>' token
16 | }#include<iostream>
| ^
/in/foo.cc:17:1: error: expected primary-expression before 'using'
17 | using namespace std;
| ^~~~~
/in/foo.cc:20:9: warning: empty parentheses were disambiguated as a function declaration [-Wvexing-parse]
20 | int main()
| ^~
/in/foo.cc:20:9: note: remove parentheses to default-initialize a variable
20 | int main()
| ^~
| --
/in/foo.cc:20:9: note: or replace parentheses with braces to value-initialize a variable
/in/foo.cc:21:1: error: a function-definition is not allowed here before '{' token
21 | {
| ^
/in/foo.cc:19:11: warning: unused variable 'a' [-Wunused-variable]
19 | long long a[N],s[N];
| ^
/in/foo.cc:19:16: warning: unused variable 's' [-Wunused-variable]
19 | long long a[N],s[N];
| ^