文件名称:hdu-2048
介绍说明--下载内容来自于网络,使用问题请自行百度
神、上帝以及老天爷
输入数据的第一行是一个整数C,表示测试实例的个数,然后是C 行数据,每行包含一个整数n(1<n<=20),表示参加抽奖的人数。
Output
对于每个测试实例,请输出发生这种情况的百分比,每个实例的输出占一行, 结果保留两位小数(四舍五入),-God, God, and God
The first line of input data is an integer C, which means that the number of test cases, then C rows of data, each line contains an integer n (1 <n <= 20), represents the number of lucky draw.
Output
For each test instance, the percentage of output this happens, the output of one row for each instance, the results of two decimal places (rounded),
输入数据的第一行是一个整数C,表示测试实例的个数,然后是C 行数据,每行包含一个整数n(1<n<=20),表示参加抽奖的人数。
Output
对于每个测试实例,请输出发生这种情况的百分比,每个实例的输出占一行, 结果保留两位小数(四舍五入),-God, God, and God
The first line of input data is an integer C, which means that the number of test cases, then C rows of data, each line contains an integer n (1 <n <= 20), represents the number of lucky draw.
Output
For each test instance, the percentage of output this happens, the output of one row for each instance, the results of two decimal places (rounded),
(系统自动生成,下载前可以参看下载内容)
下载文件列表
hdu 2048.c
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.