0_0_34614891_7480.cpp:22:6: error: expected unqualified-id before 'for'
for(int i=1;i<=n;i++)
^
0_0_34614891_7480.cpp:22:18: error: 'i' does not name a type
for(int i=1;i<=n;i++)
^
0_0_34614891_7480.cpp:22:23: error: 'i' does not name a type
for(int i=1;i<=n;i++)
^
0_0_34614891_7480.cpp:23:21: error: 'j' does not name a type
for(int j=1;j<=n;j++)
^
0_0_34614891_7480.cpp:23:26: error: 'j' does not name a type
for(int j=1;j<=n;j++)
^
0_0_34614891_7480.cpp:25:5: error: expected unqualified-id before 'for'
for(int l=1;l<=n;l++)
^
0_0_34614891_7480.cpp:25:17: error: 'l' does not name a type
for(int l=1;l<=n;l++)
^
0_0_34614891_7480.cpp:25:22: error: 'l' does not name a type
for(int l=1;l<=n;l++)
^
0_0_34614891_7480.cpp:26:21: error: 'r' does not name a type
for(int r=l;r<=n;r++)
^
0_0_34614891_7480.cpp:26:26: error: 'r' does not name a type
for(int r=l;r<=n;r++)
^
0_0_34614891_7480.cpp:38:5: error: 'cout' does not name a type
cout<<ans;
^
0_0_34614891_7480.cpp:39:5: error: expected unqualified-id before 'return'
return 0;
^
0_0_34614891_7480.cpp:40:1: error: expected declaration before '}' token
}
^
|