0_0_29020058_25270.cpp:4:1: error: 'll' does not name a type
ll sum[100005];
^
0_0_29020058_25270.cpp: In function 'void fun()':
0_0_29020058_25270.cpp:7:2: error: 'll' was not declared in this scope
ll sum[0]=0;
^
0_0_29020058_25270.cpp:8:6: error: 'i' was not declared in this scope
for(i=1;i<100005;i++)
^
0_0_29020058_25270.cpp:11:4: error: 'sum' was not declared in this scope
sum[i]=sum[i-1]+i*i*i;
^
0_0_29020058_25270.cpp:13:4: error: 'sum' was not declared in this scope
sum[i]=sum[i-1]+i;
^
0_0_29020058_25270.cpp: In function 'int main()':
0_0_29020058_25270.cpp:24:20: error: 'sum' was not declared in this scope
printf("%I64d\n",sum[n]);
^
|