Problem laughter
User Sans12345
Submission Time 2024-12-04 17:01:45
Score 0
Max Time N/A
Max Memory N/A

Compile Error

laughter.cpp:9:4: error: expected initializer before ‘R’
9 | ll R,C,K;
| ^
laughter.cpp:10:6: error: size ‘-9995’ of array ‘A’ is negative
10 | ll A[maxn],B[maxn];
| ^~~~
laughter.cpp:10:14: error: size ‘-9995’ of array ‘B’ is negative
10 | ll A[maxn],B[maxn];
| ^~~~
laughter.cpp: In function ‘bool can(ll)’:
laughter.cpp:15:16: error: ‘N’ was not declared in this scope
15 | for(int i=0;i<N;i++){
| ^
laughter.cpp:16:40: error: ‘a’ was not declared in this scope
16 | sweep.push_back(update(B[i]-k,B[i]+k,a[i]-k,1));
| ^
laughter.cpp: In function ‘int main()’:
laughter.cpp:24:24: error: ‘R’ was not declared in this scope
24 | scanf("%lld%lld%lld",&R,&C,&K);
| ^
laughter.cpp:24:27: error: ‘C’ was not declared in this scope
24 | scanf("%lld%lld%lld",&R,&C,&K);