ID | 题目 | 提交者 | 结果 | 用时 | 内存 | 语言 | 文件大小 | 提交时间 | 测评时间 |
---|---|---|---|---|---|---|---|---|---|
#213104 | #2356. Count | yanruo_BGSSR_ypa | 6 | 0ms | 1252kb | C++11 | 368b | 2024-11-09 20:07:15 | 2024-11-09 23:11:36 |
answer
#include<bits/stdc++.h>
//#define int long long
#define inf 1e9
#define eps -1e9
using namespace std;
const int mod=1e9+7;
int n,k,l1,l2,an1,an2,an3,an4;
signed main(){
ios::sync_with_stdio(0),cin.tie(0),cout.tie(0);
cin>>n>>k>>l1>>l2;
for(int i=1;i<=sqrt(k);i++)
if(n%i==0)an1+=(i*i==k?1:2);
cout<<an1<<' '<<an2<<' '<<an3<<' '<<an4;
return 0;
}
详细
小提示:点击横条可展开更详细的信息
Test #1:
score: 0
Wrong Answer
time: 0ms
memory: 1248kb
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: 1248kb
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: 1248kb
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: 1248kb
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: 1252kb
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: 1252kb
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: 1248kb
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: 1252kb
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: 1248kb
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: 1252kb
input:
100000 89941 99669 6
output:
36 0 0 0
result:
points 0.0 wrong wrong wrong wrong