摘要:
Hopscotch时间限制: 5 Sec 内存限制: 128 MB题目描述You’re playing hopscotch! You start at the origin and your goal is to hop to the lattice point (... 阅读全文
摘要:
Barareh on Fire时间限制: 1 Sec 内存限制: 128 MB题目描述The Barareh village is on fire due to the attack of the virtual enemy. Several places are ... 阅读全文
摘要:
1、通过模板类写一个栈,实现Push和Pop操作。应用:将任一十进制数转换成十六进制数。#include using namespace std;const int maxn=1e4+10;template class Stack{ T stk[maxn]; ... 阅读全文