![](https://img-blog.csdnimg.cn/20201014180756927.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
ACM竞赛
文章平均质量分 90
rock4you
这个作者很懒,什么都没留下…
展开
-
Google code jam - World Finals 2017-Problem A. Dice Straight
Google code jam - World Finals 2017-Problem A. Dice StraightProblemYou 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 · 969 阅读 · 0 评论 -
POJ-1001-Exponentiation
POJ-1001-Exponentiationhttp://poj.org/problem?id=1001#include #include #include /*95.123 120.4321 205.1234 156.7592 998.999 101.0100 12548815620517731830194541.89902534341571597353原创 2017-09-22 19:14:50 · 305 阅读 · 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 · 224 阅读 · 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 · 263 阅读 · 0 评论