0_0_27540589_31612.cpp: In function 'int main()': 0_0_27540589_31612.cpp:4:6: error: expected unqualified-id before '[' token {char[2]={'0','1'}; ^ 0_0_27540589_31612.cpp:16:18: error: 's' was not declared in this scope a[i]=s[n%2]; ^