Problem | multipleswith8 |
---|---|
User | Sans12345 |
Submission Time | 2025-03-14 15:14:02 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
multipleswith8.cpp:1:1: error: stray ‘\’ in program
1 | \#include <bits/stdc++.h>
| ^
multipleswith8.cpp:1:2: error: stray ‘#’ in program
1 | \#include <bits/stdc++.h>
| ^
multipleswith8.cpp:1:3: error: ‘include’ does not name a type
1 | \#include <bits/stdc++.h>
| ^~~~~~~
multipleswith8.cpp:14:1: error: ‘map’ does not name a type
14 | map<ll,ll> cnt;
| ^~~
multipleswith8.cpp: In function ‘int main()’:
multipleswith8.cpp:17:2: error: ‘scanf’ 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
mul