- 博客(29)
- 收藏
- 关注
转载 玩拍七不再怕,判断7的倍数有妙招
单单是针对这个游戏来说顺时针轮流报数,碰到 7 的倍数或者含 7 的数字就拍手或者喊“过”,出错者接受惩罚⋯⋯这个简单的小游戏,不知曾经害过多少人。在 10 以内的数字里,7 的倍数似乎是最没规律的,因此“拍七令”成为了最具挑战性的多人游戏之一。这里,我们给大家介绍一些高招,即使从 100 开始报数,也能迅速识别出 7 的倍数来。先减去 70 再说如果两个数之差恰好是
2014-06-13 18:10:27
5601
原创 UVa 10115 Automatic Editing
Problem E: Automatic EditingSource file:autoedit.{c, cpp, java, pas}Input file:autoedit.inOutput file:autoedit.outText-processing tools like awk and sed allow you
2014-06-05 22:13:52
685
原创 UVa 10361 Automatic Poetry
Automatic PoetryInput: standard inputOutput: standard outputTime Limit: 2 secondsMemory Limit: 32 MB “Oh God”, Lara Croft exclaims, “it’s one of these dumb riddles again!” In Tomb
2014-06-02 23:42:44
676
原创 UVa401 回文词
PalindromA regular palindrome is a string of numbers or letters that is the same forward as backward. For example, the string "ABCDEDCBA" is a palindrome because it is the same when the string i
2014-05-31 23:29:49
798
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人