摘要: Description Figure 1Figure 1 shows a graphical representation of a binary tree of letters. People familiar with binary trees can skip over the definit 阅读全文
posted @ 2019-01-30 02:00 Mr^Simon 阅读(226) 评论(0) 推荐(0) 编辑
摘要: Description For this problem, you will write a program that reads in a sequence of 32-bit signed integers. After each odd-indexed value is read, outpu 阅读全文
posted @ 2019-01-30 01:46 Mr^Simon 阅读(158) 评论(0) 推荐(0) 编辑
摘要: 题目描述 如题,已知一个数列,你需要进行下面两种操作: 1.将某一个数加上x 2.求出某区间每一个数的和 输入输出格式 输入格式: 第一行包含两个整数N、M,分别表示该数列数字的个数和操作的总个数。 第二行包含N个用空格分隔的整数,其中第i个数字表示数列第i项的初始值。 接下来M行每行包含3个整数, 阅读全文
posted @ 2019-01-30 01:25 Mr^Simon 阅读(302) 评论(0) 推荐(1) 编辑