Problem | multipleswith8 |
---|---|
User | Sans12345 |
Submission Time | 2025-03-14 15:14:46 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
multipleswith8.cpp:15:1: error: expected initializer before ‘ll’
15 | ll M,K;
| ^~
multipleswith8.cpp: In function ‘int main()’:
multipleswith8.cpp:17:20: error: ‘M’ was not declared in this scope
17 | scanf("%lld%lld",&M,&K);
| ^
multipleswith8.cpp:17:23: error: ‘K’ was not declared in this scope
17 | scanf("%lld%lld",&M,&K);
| ^
multipleswith8.cpp:20:3: error: ‘cnt’ was not declared in this scope; did you mean ‘int’?
20 | cnt[i%M] += !test8(i);
| ^~~
| int
multipleswith8.cpp:31:10: error: ‘cnt’ was not declared in this scope; did you mean ‘int’?
31 | ans -= cnt[(M-((i*1'000'000LL)%M))%M];
| ^~~
| int