上一页 1 ··· 8 9 10 11 12
摘要: 5093: Orderly Class时间限制: 1 Sec 内存限制: 128 MB题目描述Ms. Thomas is managing her class of n students.She placed all her students in a line, ... 阅读全文
posted @ 2018-04-22 23:17 Acerkoo 阅读(185) 评论(0) 推荐(0) 编辑
摘要: 小希的迷宫上次Gardon的迷宫城堡小希玩了很久(见Problem B),现在她也想设计一个迷宫让Gardon来走。但是她设计迷宫的思路不一样,首先她认为所有的通道都应该是双向连通的,就是说如果有一个通道... 阅读全文
posted @ 2018-04-22 18:13 Acerkoo 阅读(189) 评论(0) 推荐(0) 编辑
摘要: Hopscotch时间限制: 5 Sec 内存限制: 128 MB题目描述You’re playing hopscotch! You start at the origin and your goal is to hop to the lattice point (... 阅读全文
posted @ 2018-04-21 23:24 Acerkoo 阅读(119) 评论(0) 推荐(0) 编辑
摘要: Barareh on Fire时间限制: 1 Sec 内存限制: 128 MB题目描述The Barareh village is on fire due to the attack of the virtual enemy. Several places are ... 阅读全文
posted @ 2018-04-21 17:03 Acerkoo 阅读(155) 评论(0) 推荐(0) 编辑
摘要: 1、通过模板类写一个栈,实现Push和Pop操作。应用:将任一十进制数转换成十六进制数。#include using namespace std;const int maxn=1e4+10;template class Stack{ T stk[maxn]; ... 阅读全文
posted @ 2018-04-21 13:06 Acerkoo 阅读(287) 评论(0) 推荐(0) 编辑
上一页 1 ··· 8 9 10 11 12