摘要: 题目链接 Problem J 这道题思路还是很直观的,但是有两个难点: 1、题目中说$1<=NM<=10^{6}$,但没具体说明$N$和$M$的值,也就是可能出现: $N = 1, M = 1000000$ 这样的数据。 2、对每个查询的分类讨论。 #include <bits/stdc++.h> 阅读全文
posted @ 2017-02-13 10:27 cxhscst2 阅读(222) 评论(0) 推荐(0) 编辑
摘要: KI的目标 Time Limit: 2 Sec Memory Limit: 128 MB Submit: 308 Solved: 77 Description KI给自己制定了最近制定了一些学习目标,因为有些大目标的达到要先完成一些小目标,所以KI就下意识的把这些目标连成了一棵树,以1号目标为根。 阅读全文
posted @ 2017-02-13 10:01 cxhscst2 阅读(188) 评论(0) 推荐(0) 编辑
摘要: Circular Area Time Limit: 1000MS Memory Limit: 65536K Description Your task is to write a program, which, given two circles, calculates the area of th 阅读全文
posted @ 2017-02-13 09:48 cxhscst2 阅读(237) 评论(0) 推荐(0) 编辑