C语言
文章平均质量分 73
sinat_39173458
这个作者很懒,什么都没留下…
展开
-
C语言的输出的规范
C语言对输入输出有着严格标准,有时候若是不按照标准来做,就会使得自己的程序陷入瘫痪,比如最简单的整型与浮点型之间的选择。 #include int main() { printf("%.1f\n", 8.0/5.0); return 0; } 注意:百分号后面是一个小数点,然后是数字1,最后是小写字母f,千万不能输入错, 包括大小写——在C语言中,大写和小写字母代表的含义是不同的。 再来做原创 2017-06-21 00:19:26 · 1035 阅读 · 0 评论 -
杭电acm_step1.2.2
先上原题: Problem Description An inch worm is at the bottom of a well n inches deep. It has enough energy to climb u inches every minute, but then has to rest a minute before climbing again. Dur原创 2017-06-30 19:44:41 · 316 阅读 · 0 评论 -
1.2.3
原题: Problem Description The Children’s Day has passed for some days .Has you remembered something happened at your childhood? I remembered I often played a game called hide handkerchief wi原创 2017-06-30 20:08:04 · 174 阅读 · 0 评论 -
bootstrap开发小网页实例
慕课上跟着老师做的,之前没学过这些前端语言,不过调用别人所写的东西,好像就不需要写代码(哈哈)。看着自己写出来的东西(虽然是照着老师的写的),还是挺有成就感。下面看看成果。 下面是代码: 现代浏览器博物馆原创 2017-06-30 20:25:04 · 1637 阅读 · 0 评论