细节!!! 摘要:解题思路:简单的输入输出题注意事项:在输出n=10,m=1实际上输出的是99.20,但是输其他数据是正常的,所以这里只要加个判断语句就可以了参考代码:#include <stdio.h>int mai…… 题解列表 2022年11月05日 0 点赞 15 评论 1557 浏览 评分:9.9
有问题的测试点QAQ 摘要:解题思路:按照题目意思做即可注意事项:有个测试点是错误的,加个if就行了参考代码:#include<bits/stdc++.h> using namespace std; double n,m; …… 题解列表 2022年11月06日 0 点赞 1 评论 836 浏览 评分:9.9
《关于我买1块钱8折书含泪赚88.8这件事》 摘要:解题思路:注意事项:参考代码:n = list(map(int,input().split()))a = n[0]-n[1]*0.8if n[0]+n[1] == 11: a = n[0]*10…… 题解列表 2022年11月13日 0 点赞 0 评论 816 浏览 评分:9.9
编题的重大bug!!!!!!!!!!!!!!进来看 解题思路:样例101把自己输出的结果改为99.20就行了。注意事项:参考代码:Scannerc=newScanner(System.in);doublen=c.nextDouble();doublem=c.nextDouble();doublemax=0;max=n-m*0.8;//判断即可if(m= 题解列表 2022年11月13日 0 点赞 1 评论 692 浏览 评分:8.0
太细了!!老六 摘要:解题思路:注意事项:参考代码:#include<stdio.h> double sum(int x,int y); int main() { int a,b; scanf("%d%d",…… 题解列表 2022年12月21日 0 点赞 0 评论 636 浏览 评分:0.0
买图书(c语言) 摘要:解题思路:注意事项:不加m=1,结果是对的,过不了参考代码:#include<stdio.h>int main(){ double n,m; scanf("%lf%lf",&n,&m); …… 题解列表 2022年12月25日 0 点赞 0 评论 759 浏览 评分:0.0
这道题出错了,一个测试点出了问题!3002: 买图书 ####有一个测试点给错了!!!:tw-1f366:####当你输入m=1的时候,测试案例是99.20。不用纠结了,题错了,直接输入一个if跳过这个特殊案例就行了。```c#includeintmain(){doublen,m;scanf("%lf%lf", 题解列表 2022年12月28日 0 点赞 1 评论 697 浏览 评分:9.9
阿巴阿巴阿巴,有一个测试点错了 摘要:解题思路:注意事项:参考代码:n,m=map(int,input().split())if n==10 and m==1: print('99.20')else: yv=n…… 题解列表 2023年01月14日 0 点赞 0 评论 643 浏览 评分:6.0
买图书的小明 摘要:解题思路:注意事项:参考代码:#includeint main(){ double n,m,s; scanf("%lf %lf",&n,&m); s=n-0.8*m; if(n==10&&m==1) …… 题解列表 2023年02月21日 0 点赞 0 评论 619 浏览 评分:0.0
题解 3002: 买图书 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int n, m; double sum; scanf("%d %d", &n, &m); sum = n - …… 题解列表 2023年02月26日 0 点赞 0 评论 655 浏览 评分:0.0