
ACM竞赛
文章平均质量分 90
rock4you
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
Google code jam - World Finals 2017-Problem A. Dice Straight
Google code jam - World Finals 2017-Problem A. Dice Straight Problem You have a special set ofNsix-sided dice, each of which has six different positive integers on its faces. Different dic原创 2017-09-22 18:39:49 · 1030 阅读 · 0 评论 -
POJ-1001-Exponentiation
POJ-1001-Exponentiation http://poj.org/problem?id=1001 #include #include #include /* 95.123 12 0.4321 20 5.1234 15 6.7592 9 98.999 10 1.0100 12 548815620517731830194541.89902534341571597353原创 2017-09-22 19:14:50 · 343 阅读 · 0 评论 -
POJ 1002 487-3279
POJ 1002487-3279 http://poj.org/problem?id=1002 这道题主要是考察字符串的相关操作:替换字符串中的指定字符、删除字符串中的指定字符、字符串排序、字符串比较。 #include #include #include using namespace std; void delchar(char str[], char c) {原创 2017-09-27 22:42:37 · 247 阅读 · 0 评论 -
POJ-1008-Maya Calendar
POJ-1008-Maya Calendarhttp://poj.org/problem?id=1008 这道题主要是求模运算。 需要考虑的细节是,求模的结果是否能够取0或者最大值。 #include #include #include using namespace std; int main() { int i, j, n, num, da原创 2017-09-28 11:08:36 · 294 阅读 · 0 评论