| 6 | long long Answer = (1LL << 62); // ���蓾�Ȃ��l�ɐݒ� |
| 7 | |
| 8 | int check_numpoints(int lx, int rx, int ly, int ry) { |
| 9 | int cnt = 0; |
| 10 | for (int i = 1; i <= N; i++) { |
| 11 | // �_ (X[i], Y[i]) �������`�Ɋ܂܂�Ă��邩�ǂ����肷�� |
| 12 | if (lx <= X[i] && X[i] <= rx && ly <= Y[i] && Y[i] <= ry) cnt++; |
| 13 | } |
| 14 | return cnt; |
| 15 | } |
| 16 | |
| 17 | int main() { |
| 18 | // ���� |