0_0_38582908_6321.cpp: In function 'int main()': 0_0_38582908_6321.cpp:24:11: error: expected primary-expression before ']' token cout<<a[r-]<<endl; ^