0_0_31376953_32509.cpp: In function 'int main()':
0_0_31376953_32509.cpp:8:5: error: expected initializer before 'int'
int n, m, i, posi;
^
0_0_31376953_32509.cpp:9:5: error: 'i' was not declared in this scope
i = 0;
^
0_0_31376953_32509.cpp:12:27: error: 'n' was not declared in this scope
while(~ scanf("%d%d", &n, &m)){
^
0_0_31376953_32509.cpp:12:31: error: 'm' was not declared in this scope
while(~ scanf("%d%d", &n, &m)){
^
0_0_31376953_32509.cpp:13:9: error: 'posi' was not declared in this scope
posi = construct(n);
^
0_0_31376953_32509.cpp:15:16: error: 's' was not declared in this scope
output(s[], m);
^
0_0_31376953_32509.cpp:15:18: error: expected primary-expression before ']' token
output(s[], m);
^
0_0_31376953_32509.cpp: In function 'int construt(int)':
0_0_31376953_32509.cpp:22:5: error: 's' was not declared in this scope
s[0] = 2;
^
0_0_31376953_32509.cpp: At global scope:
0_0_31376953_32509.cpp:32:13: error: variable or field 'output' declared void
void output(chars[], int m, int posi){
^
0_0_31376953_32509.cpp:32:13: error: 'chars' was not declared in this scope
0_0_31376953_32509.cpp:32:19: error: expected primary-expression before ']' token
void output(chars[], int m, int posi){
^
0_0_31376953_32509.cpp:32:22: error: expected primary-expression before 'int'
void output(chars[], int m, int posi){
^
0_0_31376953_32509.cpp:32:29: error: expected primary-expression before 'int'
void output(chars[], int m, int posi){
^
|