ID | 题目 | 提交者 | 结果 | 用时 | 内存 | 语言 | 文件大小 | 提交时间 | 测评时间 |
---|---|---|---|---|---|---|---|---|---|
#213050 | #1009. 退票费 | walle2012 | Judgement Failed | / | / | C++ | 185b | 2024-11-04 22:20:07 | 2024-11-04 22:20:10 |
answer
#include <bits/stdc++.h>
using namespace std;
int main()
{
double n;
scanf("%lf",&n);
if(n<5.0)
{
printf("5");
}
else
{
printf("%.2f",n*0.95);
}
return 0;
}
详细
Failed to show details