摘要: 题目链接 题目描述: Input: 第一行输入数据组数T对于每组数据,第一行为一个整数n,表示序列长度接下来一行有n个数,表示序列内的元素 Output: 对于每组数据,输出一个整数表示答案 Example: Input: 334 2 351 8 4 3 9202 8 15 1 10 5 19 19 阅读全文
posted @ 2021-02-18 18:16 阿涅—Rachel 阅读(96) 评论(0) 推荐(0)
摘要: 题目链接 题目描述: Some of Farmer John's N cows (1 ≤ N ≤ 80,0001≤N≤80,000) are having a bad hair day! Since each cow is self-conscious about her messy hairsty 阅读全文
posted @ 2021-02-18 16:58 阿涅—Rachel 阅读(80) 评论(0) 推荐(0)