上一页 1 ··· 42 43 44 45 46 47 48 49 50 ··· 79 下一页
摘要: 1. 基本组成组成元素: 关键字,标识符,常量,字符串,符号 关键字列表: break;default;func;interface;select;case;defer;go;map;struct;chan;else;goto;package;switch;const;fallthrough;if; 阅读全文
posted @ 2019-03-16 11:40 雪溯 阅读(175) 评论(0) 推荐(0) 编辑
摘要: 题目 https://icpcarchive.ecs.baylor.edu/index.php?option=com_onlinejudge&Itemid=8&page=show_problem&problem=2726 题意 飞机,一个起飞的跑道,两个降落的跑道。每个时刻首先两个跑道降落一些飞机, 阅读全文
posted @ 2019-03-14 09:33 雪溯 阅读(120) 评论(0) 推荐(0) 编辑
摘要: 题目 https://uva.onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&page=show_problem&problem=2075 题意 n皇后类似的n(n<=5000)车,每个车所在的行列上不能有其它车,n*n棋盘放n个车 阅读全文
posted @ 2019-03-05 19:44 雪溯 阅读(126) 评论(0) 推荐(0) 编辑
摘要: 题目 https://uva.onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&page=show_problem&problem=2674 题意 n个正整数,尽量均匀地把它们分成严格递增序列。要求序列个数最小 思路 明显,序列个数就 阅读全文
posted @ 2019-03-05 19:01 雪溯 阅读(110) 评论(0) 推荐(0) 编辑
摘要: 题目 https://uva.onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&page=show_problem&problem=2674 题意 有严格下降的n条线段,长度都为w,第i条线段起点xi,终点xi + w,高度yi,现在 阅读全文
posted @ 2019-03-04 15:18 雪溯 阅读(168) 评论(0) 推荐(0) 编辑
摘要: 题目 https://icpcarchive.ecs.baylor.edu/index.php?option=com_onlinejudge&Itemid=8&page=show_problem&problem=2795 题意 x * y的巧克力,问能不能恰好切成n份(只能整数切),每块大小恰好ai 阅读全文
posted @ 2019-03-04 08:38 雪溯 阅读(154) 评论(0) 推荐(0) 编辑
摘要: 题目 https://icpcarchive.ecs.baylor.edu/index.php?option=com_onlinejudge&Itemid=8&page=show_problem&problem=2255 题意 n个任务,允许时间区间为[ri, di](ri , di <= 2000 阅读全文
posted @ 2019-03-03 22:19 雪溯 阅读(149) 评论(0) 推荐(0) 编辑
摘要: 题目 https://uva.onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&page=show_problem&problem=1846 题意 n个数字按照字符串方式直接组合成大数字,问最大组合成多少 思路 排序 感想 1. 因为 阅读全文
posted @ 2019-03-03 20:50 雪溯 阅读(134) 评论(0) 推荐(0) 编辑
摘要: 题目 https://uva.onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&page=show_problem&problem=1323 题意 长方形l * w,给出长方形中间那条线上n个圆的圆心c和半径r,选取最少数目的圆覆盖长 阅读全文
posted @ 2019-03-02 22:25 雪溯 阅读(105) 评论(0) 推荐(0) 编辑
摘要: 题目 https://uva.onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&page=show_problem&problem=1281 题意 问字符串a能否是字符串b的子序列 思路 明显,计数对的上就行 感想 因为忘了break 阅读全文
posted @ 2019-03-02 21:31 雪溯 阅读(98) 评论(0) 推荐(0) 编辑
上一页 1 ··· 42 43 44 45 46 47 48 49 50 ··· 79 下一页