摘要:
An n x n game board is populated with integers, one nonnegative integer per square. The goal is to travel along any legitimate path fr... 阅读全文
摘要:
Bob是个很喜欢数字的孩子,现在他正在研究一个与数字相关的题目,我们知道一个数字的完美度是 把这个数字分解成三个整数相乘A*A*B(0int main(){ __int64 a,b; while(~scanf("%I64d %I64d",&a,&b)) ... 阅读全文
摘要:
描述1、2、3… …n这n(0int main(){ int a,b; while(~scanf("%d%d",&a,&b)) { printf("%d\n",a/b); } return 0;} ... 阅读全文
摘要:
第一眼看到这个题的时候信心满满,结果一直wa/TL....描述国王有一个魔镜,可以把任何接触镜面的东西变成原来的两倍——只是,因为是镜子嘛,增加的那部分是反的。比如一条项链,我们用AB来表示,不同的字母表示不同颜色的珍珠。如果把B端接触镜面的话,魔镜会把这条项... 阅读全文
摘要:
描述When Teddy was a child , he was always thinking about some simple math problems ,such as “What it’s 1 cup of water plus 1 pile of do... 阅读全文
摘要:
描述有一块草坪,横向长w,纵向长为h,在它的橫向中心线上不同位置处装有n(n#includeusing namespace std;#include#includestruct note{ double xi,ri;} q[10050];struct doll{... 阅读全文