0_0_23211303_9660.cpp:17:2: error: expected unqualified-id before 'for'
for ( int i = 0; i < (n); i++ )
^
0_0_23211303_9660.cpp:17:19: error: 'i' does not name a type
for ( int i = 0; i < (n); i++ )
^
0_0_23211303_9660.cpp:17:28: error: 'i' does not name a type
for ( int i = 0; i < (n); i++ )
^
0_0_23211303_9660.cpp:21:25: error: 'i' does not name a type
for ( int i = (n) - 1; i >= 0; i-- )
^
0_0_23211303_9660.cpp:21:33: error: 'i' does not name a type
for ( int i = (n) - 1; i >= 0; i-- )
^
0_0_23211303_9660.cpp:31:11: error: 'MAXN' was not declared in this scope
char expr[MAXN];
^
0_0_23211303_9660.cpp:33:10: error: 'MAXN' was not declared in this scope
string S[MAXN];
^
0_0_23211303_9660.cpp: In function 'void solve(int)':
0_0_23211303_9660.cpp:43:2: error: 'S' was not declared in this scope
S[idx] += expr[pos];
^
0_0_23211303_9660.cpp:43:12: error: 'expr' was not declared in this scope
S[idx] += expr[pos];
^
0_0_23211303_9660.cpp: In function 'int main()':
0_0_23211303_9660.cpp:63:17: error: 'expr' was not declared in this scope
scanf( "%s", &expr );
^
0_0_23211303_9660.cpp:69:9: error: 'S' was not declared in this scope
fill( S, S + pos, "" );
^
0_0_23211303_9660.cpp:75:20: error: 'i' was not declared in this scope
printf( "%s", S[i].c_str() );
^
|