ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#213141 | #2356. Count | yanruo_BGSSR_ypa | 6 | 0ms | 1200kb | C++11 | 194b | 2024-11-09 21:17:09 | 2024-11-09 23:19:37 |
answer
#include<bits/stdc++.h>
using namespace std;
int n,k,l1,l2,an1;
int main(){
cin>>n>>k>>l1>>l2;
for(int i=1;i<=sqrt(k);i++)if(n%i==0)an1+=(i*i==k?1:2);
return cout<<an1<<" 0 0 0",0;
}
Details
小提示:点击横条可展开更详细的信息
Test #1:
score: 0
Wrong Answer
time: 0ms
memory: 1200kb
input:
5 0 7 3
output:
0 0 0 0
result:
points 0.0 wrong wrong wrong wrong
Test #2:
score: 0
Wrong Answer
time: 0ms
memory: 1196kb
input:
8 0 9 4
output:
0 0 0 0
result:
points 0.0 wrong wrong wrong wrong
Test #3:
score: 3
Acceptable Answer
time: 0ms
memory: 1200kb
input:
10 1 10 5
output:
1 0 0 0
result:
points 0.30 correct wrong wrong wrong
Test #4:
score: 3
Acceptable Answer
time: 0ms
memory: 1196kb
input:
500 2 996 6
output:
2 0 0 0
result:
points 0.30 correct wrong wrong wrong
Test #5:
score: 0
Wrong Answer
time: 0ms
memory: 1196kb
input:
800 233 966 7
output:
12 0 0 0
result:
points 0.0 wrong wrong wrong wrong
Test #6:
score: 0
Wrong Answer
time: 0ms
memory: 1200kb
input:
1000 666 999 10
output:
16 0 0 0
result:
points 0.0 wrong wrong wrong wrong
Test #7:
score: 0
Wrong Answer
time: 0ms
memory: 1196kb
input:
50000 2048 98673 100
output:
20 0 0 0
result:
points 0.0 wrong wrong wrong wrong
Test #8:
score: 0
Wrong Answer
time: 0ms
memory: 1196kb
input:
80000 65535 25192 50
output:
40 0 0 0
result:
points 0.0 wrong wrong wrong wrong
Test #9:
score: 0
Wrong Answer
time: 0ms
memory: 1196kb
input:
100000 23333 99696 12
output:
30 0 0 0
result:
points 0.0 wrong wrong wrong wrong
Test #10:
score: 0
Wrong Answer
time: 0ms
memory: 1196kb
input:
100000 89941 99669 6
output:
36 0 0 0
result:
points 0.0 wrong wrong wrong wrong