poj 3507
来源:互联网 发布:软件开发人员工作总结 编辑:程序博客网 时间:2024/05/22 16:52
注意这句话:
Output
For each test case, print the grade on a separate line (without unnecessary decimal points and/or zeros.)
小数部分为0,则不用小数点,小数部分的后导0舍去。
所以用%g可以达到这个目的。
格式字符:g,G
选用%g或%G格式中输出宽度较短的一种格式,不输出无意义的0.用G时,若以指数形式输出,则指数以大写表示。
- poj 3507
- POJ 3507
- poj 3507
- poj 3507 Judging Olympia
- POJ
- poj
- POJ
- POJ
- poj
- poj
- POJ
- POJ
- poj
- POJ
- POJ
- POJ
- POJ
- POJ
- 今日开博,争取每日都有进步!
- window平台直接访问unix中文文件路径时的变通方法,使用php发送
- [已解决]Cannot retrieve repository metadata (repomd.xml) for repository:atrpms.Please verify its path and try again
- 看到的一道面试题,很有趣,与大家分享zt
- php缓存技术详解
- poj 3507
- sha
- 可重入的词法和语法分析
- 对各类xss攻击手段的过滤
- BMP文件格式分析
- nginx.conf
- 不开心,关机中!
- 自制U盘 Fedora+gentoo结合版
- tab数据转换到oracle spatial