0_0_14569891_5218.cpp: In function 'bool check(long long int)':
0_0_14569891_5218.cpp:10:2: error: 'c' was not declared in this scope
{c
^
0_0_14569891_5218.cpp:22:17: error: 'sum_2' was not declared in this scope
sum_2-=cnt[j]*(j-i-1)*(j-i-1);
^
0_0_14569891_5218.cpp:23:17: error: 'sum_1' was not declared in this scope
sum_1-=cnt[j]*(j-i-1);
^
0_0_14569891_5218.cpp:24:17: error: 'sum' was not declared in this scope
sum-=cnt[j];
^
0_0_14569891_5218.cpp:28:9: error: 'sum_2' was not declared in this scope
sum_2+=2*sum_1+sum;
^
0_0_14569891_5218.cpp:28:18: error: 'sum_1' was not declared in this scope
sum_2+=2*sum_1+sum;
^
0_0_14569891_5218.cpp:28:24: error: 'sum' was not declared in this scope
sum_2+=2*sum_1+sum;
^
0_0_14569891_5218.cpp:34:9: error: 'ans' was not declared in this scope
ans+=cnt[i];
^
0_0_14569891_5218.cpp:36:12: error: 'ans' was not declared in this scope
return ans<=k;//返回所需冲击波的数量与k的关系
^
|