| 比赛 | noi2000练习1 | 评测结果 | AAAAAAAAAA |
|---|---|---|---|
| 题目名称 | 瓷片项链 | 最终得分 | 100 |
| 用户昵称 | 烟雨 | 运行时间 | 0.000 s |
| 代码语言 | C++ | 内存使用 | 0.00 MiB |
| 提交时间 | 2018-01-22 19:29:12 | ||
#include<cstdio>
#include<cmath>
using namespace std;
double n,m;
int LL()
{
freopen ("ring.in","r",stdin);
freopen ("ring.out","w",stdout);
scanf("%lf%lf",&n,&m);
double ans;
ans=n/m/2;
if(ans-floor(ans)!=0.5)
{
printf("%d",int(ans));
}
else printf("0");
return 0;
}
int work=LL();
int main(){;}