随笔分类 -  夏令营练习1

摘要:总时间限制: 1000ms 内存限制: 65536kB描述Due to recent rains, water has pooled in various places in Farmer John's field, which is represented by a rectangle of N x M (1 int n,m; char map[110][110]; int go[8][2]... 阅读全文
posted @ 2017-08-22 18:26 A-inspire 阅读(190) 评论(0) 推荐(0)
摘要:给定一个正整数序列,判断其中有多少个数,等于数列中其他两个数的和。 比如,对于数列1 2 3 4, 这个问题的答案就是2, 因为3 = 2 + 1, 4 = 1 + 3。 阅读全文
posted @ 2017-08-22 17:26 A-inspire 阅读(724) 评论(0) 推荐(0)