0_0_14556050_30388.cpp:35:2: error: expected unqualified-id before 'for'
for(int i=1; i<=n; i++){
^
0_0_14556050_30388.cpp:35:15: error: 'i' does not name a type
for(int i=1; i<=n; i++){
^
0_0_14556050_30388.cpp:35:21: error: 'i' does not name a type
for(int i=1; i<=n; i++){
^
0_0_14556050_30388.cpp:38:2: error: 'cout' does not name a type
cout<<ans<<endl;
^
0_0_14556050_30388.cpp:40:1: error: expected declaration before '}' token
}
^
|