摘要: 描述 A number of rectangular posters, photographs and other pictures of the same shape are pasted on a wall. Their sides are all vertical or horizontal. 阅读全文
posted @ 2018-10-22 20:19 TobicYAL 阅读(314) 评论(1) 推荐(0) 编辑
摘要: 描述 You are working for Macrohard company in data structures department. After failing your previous task about key insertion you were asked to write a 阅读全文
posted @ 2018-10-22 20:10 TobicYAL 阅读(279) 评论(0) 推荐(0) 编辑
摘要: 题目描述 如题,已知一个数列,你需要进行下面两种操作: 1.将某一个数加上x 2.求出某区间每一个数的和 输入输出格式 输入格式: 第一行包含两个整数N、M,分别表示该数列数字的个数和操作的总个数。 第二行包含N个用空格分隔的整数,其中第i个数字表示数列第i项的初始值。 接下来M行每行包含3个整数, 阅读全文
posted @ 2018-10-22 10:04 TobicYAL 阅读(178) 评论(0) 推荐(0) 编辑