hiho week 71 register

Ended

Participants:210

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

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>
#include <vector>
#include <cstdio>
using namespace std;
class pos
{
public:
    int x;
    int y;
    pos() :x(0), y(0) {}
    pos(int xx, int yy) :x(xx), y(yy) {}
};
int main()
{
    int K, m, n;
    int i, j, k, t;
    scanf("%d", &K);
    vector<vector<string> > mps(K, vector<string>());
    char temp[1050];
    for (i = 0; i < K; ++i)
    {
        scanf("%d%d", &m, &n);
        for (j = 0; j < m; ++j)
        {
            scanf("%s", temp);
            mps[i].push_back(string(temp));
        }
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX