0_0_20303008_3285.cpp: In function 'int main()':
0_0_20303008_3285.cpp:31:33: error: 'i' was not declared in this scope
for (int j = sqrt(a[i] + 0.5); j >= 1; --j) {
^
0_0_20303008_3285.cpp: At global scope:
0_0_20303008_3285.cpp:38:15: error: expected constructor, destructor, or type conversion before '(' token
memset(f,0,sizeof(f));
^
0_0_20303008_3285.cpp:39:9: error: expected unqualified-id before 'for'
for(int i=n;i>=1;i--)
^
0_0_20303008_3285.cpp:39:21: error: 'i' does not name a type
for(int i=n;i>=1;i--)
^
0_0_20303008_3285.cpp:39:26: error: 'i' does not name a type
for(int i=n;i>=1;i--)
^
0_0_20303008_3285.cpp:61:9: error: expected unqualified-id before 'for'
for(int i=1;i<=n;i++) ans+=b[i]*c[i];
^
0_0_20303008_3285.cpp:61:21: error: 'i' does not name a type
for(int i=1;i<=n;i++) ans+=b[i]*c[i];
^
0_0_20303008_3285.cpp:61:26: error: 'i' does not name a type
for(int i=1;i<=n;i++) ans+=b[i]*c[i];
^
0_0_20303008_3285.cpp:62:15: error: expected constructor, destructor, or type conversion before '(' token
printf("%I64d\n",ans);
^
0_0_20303008_3285.cpp:63:5: error: expected declaration before '}' token
}*/
^
|