hiho week 71 register

Ended

Participants:210

Verdict:Accepted
Score:100 / 100
Submitted:2015-11-08 21:22:16

Lang:G++

Edit
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
#include <iostream>
using namespace std;
class points
{
public:
    int x[20];
    int y[20];
    int cnt;
    bool existed;
    int H;
    int W;  
};
int main()
{
    int K;
    int N, M;
    char ch;
    
    cin >> K;
    points p[K];
    for(int i = 0; i < K; i++)
    {
        p[i].cnt = 0;
        cin >> p[i].H >> p[i].W;
        for(int j = 0; j < p[i].H; j++)
        {
            for(int l = 0; l < p[i].W; l++)
            {
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX