摘要:
题目描述 小明对数学饱有兴趣,并且是个勤奋好学的学生,总是在课后留在教室向老师请教一些问题。一天他早晨骑车去上课,路上见到一个老伯正在修剪花花草草,顿时想到了一个有关修剪花卉的问题。于是当日课后,小明就向老师提出了这个问题: 一株奇怪的花卉,上面共连有NN N朵花,共有N−1N-1N−1条枝干将花儿 阅读全文
posted @ 2019-02-13 20:43
NKDEWSM
阅读(263)
评论(0)
推荐(0)
摘要:
题目描述 现在请求你维护一个数列,要求提供以下两种操作: 1、 查询操作。 语法:Q L 功能:查询当前数列中末尾L个数中的最大的数,并输出这个数的值。 限制:LLL不超过当前数列的长度。(L>0)(L > 0)(L>0) 2、 插入操作。 语法:A n 功能:将nnn加上ttt,其中ttt是最近一 阅读全文
posted @ 2019-02-13 20:30
NKDEWSM
阅读(191)
评论(0)
推荐(0)
摘要:
题目描述 The cows are having a picnic! Each of Farmer John's K (1 ≤ K ≤ 100) cows is grazing in one of N (1 ≤ N ≤ 1,000) pastures, conveniently numbered 1 阅读全文
posted @ 2019-02-13 19:46
NKDEWSM
阅读(335)
评论(0)
推荐(0)
摘要:
题目描述 Byteotia has been eventually touched by globalisation, and so has Byteasar the Postman, who once roamedthe country lanes amidst sleepy hamlets an 阅读全文
posted @ 2019-02-13 11:22
NKDEWSM
阅读(166)
评论(0)
推荐(0)
摘要:
题目描述 Byteasar the Cryptographer works on breaking the code of BSA (Byteotian Security Agency). He has alreadyfound out that whilst deciphering a messa 阅读全文
posted @ 2019-02-13 09:48
NKDEWSM
阅读(138)
评论(0)
推荐(0)

浙公网安备 33010602011771号