样例都过不了居然A了?

#include <cstdio>
#include <cstring>
#include <iostream>
#include <algorithm>
#include<math.h>
using namespace std;
#define N 100
#define ll long long
#define MOD 1000000007

double n, k, a, b;

int main()
{
    cin >> n >> k >> a >> b;
    double ans , t1, t2, t3, t;
    printf("%.2lf\n", n/b-n/a);
    return 0;
}

全部评论
数据没错  有一个细节  如果鲲距离终点+人据起点距离小于k  正向上鲲与人距离即便超过k  人也不能反向犯规跑
2 回复 分享
发布于 2018-08-19 10:13

相关推荐

扉川川:查看图片
投递用友等公司10个岗位
点赞 评论 收藏
分享
08-06 08:33
四川大学 Java
OPPO官方内推:卧槽!!!啥破公司啊!!!
投递OPPO等公司10个岗位
点赞 评论 收藏
分享
评论
点赞
收藏
分享

创作者周榜

更多
牛客网
牛客网在线编程
牛客网题解
牛客企业服务