UOJ Logo

NOI.AC

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#213050#1009. 退票费walle2012Judgement Failed//C++185b2024-11-04 22:20:072024-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;
}

Details

Failed to show details