UOJ Logo

NOI.AC

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#213141#2356. Countyanruo_BGSSR_ypa60ms1200kbC++11194b2024-11-09 21:17:092024-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;
}

详细

小提示:点击横条可展开更详细的信息

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