foo.cpp:29:15: error: stray '#' in program
++r[nxt[i]];#include <cstdio>
^
foo.cpp: In function 'int main()':
foo.cpp:29:16: error: 'include' was not declared in this scope
++r[nxt[i]];#include <cstdio>
^
foo.cpp:29:25: error: 'cstdio' was not declared in this scope
++r[nxt[i]];#include <cstdio>
^
foo.cpp:44:1: error: expected primary-expression before 'typedef'
typedef long long LL;
^
foo.cpp:44:1: error: expected ';' before 'typedef'
foo.cpp:52:12: error: a function-definition is not allowed here before '{' token
int main() {
^
foo.cpp:94:1: error: expected '}' at end of input
}
^
foo.cpp:48:5: warning: unused variable 'r' [-Wunused-variable]
int r[maxn], nxt[maxn];
^
foo.cpp:48:14: warning: unused variable 'nxt' [-Wunused-variable]
int r[maxn], nxt[maxn];
^
foo.cpp:94:1: error: expected '}' at end of input
}
^