답안 #767060

# 제출 시각 아이디 문제 언어 결과 실행 시간 메모리
767060 2023-06-26T10:49:58 Z sysia Maze (JOI23_ho_t3) C++17
86 / 100
2000 ms 957212 KB
//Sylwia Sapkowska
#include <bits/stdc++.h>
#pragma GCC optimize("O3,unroll-loops")
#pragma GCC target("avx2,bmi,bmi2,lzcnt,popcnt")
using namespace std;
 
void __print(int x) {cerr << x;}
void __print(long long x) {cerr << x;}
void __print(long double x) {cerr << x;}
void __print(char x) {cerr << "'" << x << "'";}
void __print(const char *x) {cerr << '"' << x << '"';}
void __print(const string &x) {cerr << '"' << x << '"';}
void __print(bool x) {cerr << (x ? "true" : "false");}
 
template<typename T, typename V>
void __print(const pair<T, V> &x) {cerr << '{'; __print(x.first); cerr << ", "; __print(x.second); cerr << '}';}
template<typename T>
void __print(const T &x) {int f = 0; cerr << '{'; for (auto &i: x) cerr << (f++ ? ", " : ""), __print(i); cerr << "}";}
void _print() {cerr << "]\n";}
template <typename T, typename... V>
void _print(T t, V... v) {__print(t); if (sizeof...(v)) cerr << ", "; _print(v...);}
#ifdef LOCAL
#define debug(x...) cerr << "[" << #x << "] = ["; _print(x)
#else
#define debug(x...)
#endif
 
typedef pair<int, int> T;
const int oo = 1e9+7;
const int mx = 2455;
 
void solve(){
    int n, m, k; scanf("%d %d %d", &n, &m, &k);
    T s, e;
    scanf("%d %d", &s.first, &s.second);
    scanf("%d %d", &e.first, &e.second);
    vector a(n+1, vector<char>(m+1));
    function<char()> daj = [&]() {
        char c = getchar_unlocked();
        if (c == ' ' || c == '\n') return (char)getchar_unlocked();
        return c;
    };
    for (int i = 1; i <= n; i++){
        for (int j = 1; j <= m; j++){
            a[i][j] = daj();
        }
    }
    auto in = [&](T ss){
        return ss.first < 1 || ss.second < 1 || ss.first > n || ss.second > m;
    };
    vector<T>q, q2;
    vector<bitset<mx>>tab(m+1);
    for (int j = 1; j<=m; j++){
        tab[j].set();
    }
    const vector<int>X = {-1, 1, 0, 0};
    const vector<int>Y = {0, 0, -1, 1};
    vector dist(n+1, vector<int>(m+1, oo));
    dist[s.first][s.second] = 0;
    q.emplace_back(s);
    tab[s.second].set(s.first, 0);
    while (1){
        for (int i = 0; i<(int)q.size(); i++){
            auto v = q[i];
            debug(v);
            for (int ck = 0; ck < 4; ck++){
                T x = {v.first + X[ck], v.second + Y[ck]};
                if (in(x)) continue;
                if (a[x.first][x.second] == '.'){
                    if (dist[x.first][x.second] == oo){
                        dist[x.first][x.second] = dist[v.first][v.second];
                        if (x == e) {
                            printf("%d\n", dist[e.first][e.second]);
                            exit(0);
                        }
                        tab[x.second][x.first] = 0;
                        q.emplace_back(x);
                    }
                } 
            }
            q2.emplace_back(v);
        }
        q.clear();
        for (int j = 0; j<(int)q2.size(); j++){
            auto v = q2[j];
            debug(v);
            for (int i = max(1, v.second - k); i<=min(m, v.second+k); i++){
                int from = (i == v.second - k || i == v.second + k ? max(1, v.first-k+1) : max(1, v.first-k));
                int to = (i == v.second - k || i == v.second + k ? min(n, v.first+k-1) : min(n, v.first+k));
                for (int now = tab[i]._Find_next(from-1); now <= to; now = tab[i]._Find_next(now)){
                    dist[now][i] = dist[v.first][v.second]+1;
                    if (T{now, i} == e) {
                        printf("%d\n", dist[e.first][e.second]);
                        exit(0);
                    }
                    tab[i][now] = 0;
                    if (i == v.second - k || i == v.second + k || now == v.first-k || now == v.first+k) q.emplace_back(now, i);
                }
            }
        }
        q2.clear();
    }
    // for (int i = 1; i<=n; i++){
    //     for (int j = 1; j<=m; j++){
    //         cerr << dist[i][j] << " ";
    //     }
    //     cerr << "\n";
    // }
    printf("%d\n", dist[e.first][e.second]);
}
 
int32_t main(){
    solve();
 
    return 0;
}

Compilation message

Main.cpp: In function 'void solve()':
Main.cpp:33:23: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result]
   33 |     int n, m, k; scanf("%d %d %d", &n, &m, &k);
      |                  ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
Main.cpp:35:10: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result]
   35 |     scanf("%d %d", &s.first, &s.second);
      |     ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Main.cpp:36:10: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result]
   36 |     scanf("%d %d", &e.first, &e.second);
      |     ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# 결과 실행 시간 메모리 Grader output
1 Correct 1 ms 212 KB Output is correct
2 Correct 0 ms 212 KB Output is correct
3 Correct 1 ms 212 KB Output is correct
4 Correct 1 ms 212 KB Output is correct
5 Correct 0 ms 212 KB Output is correct
6 Correct 0 ms 212 KB Output is correct
7 Correct 1 ms 596 KB Output is correct
8 Correct 1 ms 596 KB Output is correct
9 Correct 0 ms 212 KB Output is correct
10 Correct 0 ms 212 KB Output is correct
11 Correct 1 ms 212 KB Output is correct
12 Correct 0 ms 212 KB Output is correct
13 Correct 0 ms 340 KB Output is correct
14 Correct 0 ms 212 KB Output is correct
15 Correct 0 ms 212 KB Output is correct
16 Correct 0 ms 212 KB Output is correct
17 Correct 0 ms 212 KB Output is correct
18 Correct 0 ms 212 KB Output is correct
19 Correct 3 ms 596 KB Output is correct
20 Correct 9 ms 15060 KB Output is correct
21 Correct 2 ms 1616 KB Output is correct
22 Correct 4 ms 724 KB Output is correct
23 Correct 2 ms 596 KB Output is correct
24 Correct 11 ms 19412 KB Output is correct
25 Correct 12 ms 19412 KB Output is correct
26 Correct 2 ms 768 KB Output is correct
27 Correct 1 ms 724 KB Output is correct
28 Correct 2 ms 724 KB Output is correct
29 Correct 8 ms 1108 KB Output is correct
30 Correct 7 ms 10196 KB Output is correct
31 Correct 5 ms 4420 KB Output is correct
32 Correct 11 ms 1236 KB Output is correct
33 Correct 6 ms 1108 KB Output is correct
34 Correct 29 ms 48064 KB Output is correct
35 Correct 32 ms 48064 KB Output is correct
36 Correct 6 ms 1492 KB Output is correct
37 Correct 9 ms 1392 KB Output is correct
38 Correct 2 ms 1224 KB Output is correct
39 Correct 71 ms 8176 KB Output is correct
40 Correct 5 ms 4436 KB Output is correct
41 Correct 31 ms 59076 KB Output is correct
42 Correct 13 ms 1748 KB Output is correct
43 Correct 30 ms 39572 KB Output is correct
44 Correct 36 ms 42836 KB Output is correct
45 Correct 45 ms 54508 KB Output is correct
46 Correct 19 ms 14416 KB Output is correct
47 Correct 127 ms 8324 KB Output is correct
48 Correct 56 ms 8144 KB Output is correct
49 Correct 268 ms 478684 KB Output is correct
50 Correct 319 ms 478712 KB Output is correct
51 Correct 81 ms 9060 KB Output is correct
52 Correct 59 ms 8576 KB Output is correct
53 Correct 65 ms 8288 KB Output is correct
# 결과 실행 시간 메모리 Grader output
1 Correct 1 ms 212 KB Output is correct
2 Correct 0 ms 212 KB Output is correct
3 Correct 0 ms 212 KB Output is correct
4 Correct 0 ms 212 KB Output is correct
5 Correct 0 ms 212 KB Output is correct
6 Correct 1 ms 212 KB Output is correct
7 Correct 1 ms 212 KB Output is correct
8 Correct 1 ms 340 KB Output is correct
9 Correct 0 ms 212 KB Output is correct
10 Correct 1 ms 212 KB Output is correct
11 Correct 0 ms 212 KB Output is correct
12 Correct 0 ms 212 KB Output is correct
13 Correct 0 ms 212 KB Output is correct
14 Correct 0 ms 212 KB Output is correct
15 Correct 1 ms 596 KB Output is correct
16 Correct 1 ms 596 KB Output is correct
17 Correct 1 ms 468 KB Output is correct
18 Correct 1 ms 212 KB Output is correct
19 Correct 0 ms 212 KB Output is correct
20 Correct 0 ms 212 KB Output is correct
21 Correct 0 ms 212 KB Output is correct
22 Correct 1 ms 212 KB Output is correct
23 Correct 0 ms 212 KB Output is correct
24 Correct 0 ms 212 KB Output is correct
25 Correct 0 ms 212 KB Output is correct
26 Correct 0 ms 340 KB Output is correct
27 Correct 0 ms 212 KB Output is correct
28 Correct 0 ms 212 KB Output is correct
29 Correct 0 ms 212 KB Output is correct
30 Correct 1 ms 212 KB Output is correct
31 Correct 0 ms 212 KB Output is correct
32 Correct 0 ms 212 KB Output is correct
# 결과 실행 시간 메모리 Grader output
1 Correct 0 ms 212 KB Output is correct
2 Correct 0 ms 212 KB Output is correct
3 Correct 0 ms 212 KB Output is correct
4 Correct 0 ms 212 KB Output is correct
5 Correct 0 ms 212 KB Output is correct
6 Correct 0 ms 212 KB Output is correct
7 Correct 0 ms 212 KB Output is correct
8 Correct 1 ms 212 KB Output is correct
9 Correct 0 ms 212 KB Output is correct
10 Correct 0 ms 212 KB Output is correct
11 Correct 0 ms 212 KB Output is correct
12 Correct 1 ms 596 KB Output is correct
13 Correct 0 ms 212 KB Output is correct
14 Correct 1 ms 340 KB Output is correct
15 Correct 0 ms 212 KB Output is correct
16 Correct 1 ms 212 KB Output is correct
17 Correct 1 ms 212 KB Output is correct
18 Correct 0 ms 212 KB Output is correct
19 Correct 0 ms 212 KB Output is correct
20 Correct 1 ms 340 KB Output is correct
21 Correct 0 ms 212 KB Output is correct
22 Correct 0 ms 212 KB Output is correct
23 Correct 0 ms 212 KB Output is correct
24 Correct 0 ms 212 KB Output is correct
25 Correct 1 ms 596 KB Output is correct
26 Correct 2 ms 1536 KB Output is correct
27 Correct 2 ms 1616 KB Output is correct
28 Correct 2 ms 1616 KB Output is correct
29 Correct 1 ms 596 KB Output is correct
30 Correct 1 ms 596 KB Output is correct
31 Correct 2 ms 852 KB Output is correct
32 Correct 1 ms 724 KB Output is correct
33 Correct 1 ms 624 KB Output is correct
34 Correct 4 ms 2760 KB Output is correct
35 Correct 5 ms 4336 KB Output is correct
36 Correct 5 ms 3184 KB Output is correct
37 Correct 2 ms 1108 KB Output is correct
38 Correct 2 ms 1108 KB Output is correct
39 Correct 12 ms 5952 KB Output is correct
40 Correct 47 ms 23200 KB Output is correct
41 Correct 19 ms 14332 KB Output is correct
42 Correct 49 ms 32904 KB Output is correct
43 Correct 12 ms 8020 KB Output is correct
44 Correct 18 ms 8020 KB Output is correct
45 Correct 51 ms 26584 KB Output is correct
46 Correct 47 ms 24244 KB Output is correct
# 결과 실행 시간 메모리 Grader output
1 Correct 1 ms 212 KB Output is correct
2 Correct 0 ms 212 KB Output is correct
3 Correct 0 ms 212 KB Output is correct
4 Correct 0 ms 212 KB Output is correct
5 Correct 0 ms 212 KB Output is correct
6 Correct 1 ms 212 KB Output is correct
7 Correct 1 ms 212 KB Output is correct
8 Correct 1 ms 340 KB Output is correct
9 Correct 0 ms 212 KB Output is correct
10 Correct 1 ms 212 KB Output is correct
11 Correct 0 ms 212 KB Output is correct
12 Correct 0 ms 212 KB Output is correct
13 Correct 0 ms 212 KB Output is correct
14 Correct 0 ms 212 KB Output is correct
15 Correct 1 ms 596 KB Output is correct
16 Correct 1 ms 596 KB Output is correct
17 Correct 1 ms 468 KB Output is correct
18 Correct 1 ms 212 KB Output is correct
19 Correct 0 ms 212 KB Output is correct
20 Correct 0 ms 212 KB Output is correct
21 Correct 0 ms 212 KB Output is correct
22 Correct 1 ms 212 KB Output is correct
23 Correct 0 ms 212 KB Output is correct
24 Correct 0 ms 212 KB Output is correct
25 Correct 0 ms 212 KB Output is correct
26 Correct 0 ms 340 KB Output is correct
27 Correct 0 ms 212 KB Output is correct
28 Correct 0 ms 212 KB Output is correct
29 Correct 0 ms 212 KB Output is correct
30 Correct 1 ms 212 KB Output is correct
31 Correct 0 ms 212 KB Output is correct
32 Correct 0 ms 212 KB Output is correct
33 Correct 3 ms 596 KB Output is correct
34 Correct 0 ms 212 KB Output is correct
35 Correct 1 ms 980 KB Output is correct
36 Correct 1 ms 596 KB Output is correct
37 Correct 9 ms 15060 KB Output is correct
38 Correct 2 ms 1536 KB Output is correct
39 Correct 2 ms 1616 KB Output is correct
40 Correct 4 ms 724 KB Output is correct
41 Correct 3 ms 596 KB Output is correct
42 Correct 2 ms 1616 KB Output is correct
43 Correct 1 ms 596 KB Output is correct
44 Correct 1 ms 596 KB Output is correct
45 Correct 12 ms 19392 KB Output is correct
46 Correct 13 ms 19448 KB Output is correct
47 Correct 7 ms 10060 KB Output is correct
48 Correct 7 ms 1748 KB Output is correct
49 Correct 6 ms 1364 KB Output is correct
50 Correct 13 ms 1108 KB Output is correct
51 Correct 3 ms 852 KB Output is correct
52 Correct 1 ms 724 KB Output is correct
53 Correct 1 ms 724 KB Output is correct
54 Correct 2 ms 724 KB Output is correct
# 결과 실행 시간 메모리 Grader output
1 Correct 1 ms 212 KB Output is correct
2 Correct 0 ms 212 KB Output is correct
3 Correct 0 ms 212 KB Output is correct
4 Correct 0 ms 212 KB Output is correct
5 Correct 0 ms 212 KB Output is correct
6 Correct 1 ms 212 KB Output is correct
7 Correct 1 ms 212 KB Output is correct
8 Correct 1 ms 340 KB Output is correct
9 Correct 0 ms 212 KB Output is correct
10 Correct 1 ms 212 KB Output is correct
11 Correct 0 ms 212 KB Output is correct
12 Correct 0 ms 212 KB Output is correct
13 Correct 0 ms 212 KB Output is correct
14 Correct 0 ms 212 KB Output is correct
15 Correct 1 ms 596 KB Output is correct
16 Correct 1 ms 596 KB Output is correct
17 Correct 1 ms 468 KB Output is correct
18 Correct 1 ms 212 KB Output is correct
19 Correct 0 ms 212 KB Output is correct
20 Correct 0 ms 212 KB Output is correct
21 Correct 0 ms 212 KB Output is correct
22 Correct 1 ms 212 KB Output is correct
23 Correct 0 ms 212 KB Output is correct
24 Correct 0 ms 212 KB Output is correct
25 Correct 0 ms 212 KB Output is correct
26 Correct 0 ms 340 KB Output is correct
27 Correct 0 ms 212 KB Output is correct
28 Correct 0 ms 212 KB Output is correct
29 Correct 0 ms 212 KB Output is correct
30 Correct 1 ms 212 KB Output is correct
31 Correct 0 ms 212 KB Output is correct
32 Correct 0 ms 212 KB Output is correct
33 Correct 3 ms 596 KB Output is correct
34 Correct 0 ms 212 KB Output is correct
35 Correct 1 ms 980 KB Output is correct
36 Correct 1 ms 596 KB Output is correct
37 Correct 9 ms 15060 KB Output is correct
38 Correct 2 ms 1536 KB Output is correct
39 Correct 2 ms 1616 KB Output is correct
40 Correct 4 ms 724 KB Output is correct
41 Correct 3 ms 596 KB Output is correct
42 Correct 2 ms 1616 KB Output is correct
43 Correct 1 ms 596 KB Output is correct
44 Correct 1 ms 596 KB Output is correct
45 Correct 12 ms 19392 KB Output is correct
46 Correct 13 ms 19448 KB Output is correct
47 Correct 7 ms 10060 KB Output is correct
48 Correct 7 ms 1748 KB Output is correct
49 Correct 6 ms 1364 KB Output is correct
50 Correct 13 ms 1108 KB Output is correct
51 Correct 3 ms 852 KB Output is correct
52 Correct 1 ms 724 KB Output is correct
53 Correct 1 ms 724 KB Output is correct
54 Correct 2 ms 724 KB Output is correct
55 Correct 8 ms 1200 KB Output is correct
56 Correct 9 ms 10228 KB Output is correct
57 Correct 4 ms 2760 KB Output is correct
58 Correct 9 ms 4292 KB Output is correct
59 Correct 5 ms 4344 KB Output is correct
60 Correct 11 ms 1236 KB Output is correct
61 Correct 6 ms 1108 KB Output is correct
62 Correct 5 ms 3184 KB Output is correct
63 Correct 2 ms 1108 KB Output is correct
64 Correct 3 ms 1196 KB Output is correct
65 Correct 28 ms 48112 KB Output is correct
66 Correct 34 ms 48064 KB Output is correct
67 Correct 25 ms 24660 KB Output is correct
68 Correct 24 ms 3284 KB Output is correct
69 Correct 33 ms 2460 KB Output is correct
70 Correct 44 ms 2004 KB Output is correct
71 Correct 41 ms 1748 KB Output is correct
72 Correct 6 ms 1492 KB Output is correct
73 Correct 9 ms 1364 KB Output is correct
74 Correct 2 ms 1236 KB Output is correct
# 결과 실행 시간 메모리 Grader output
1 Correct 1 ms 212 KB Output is correct
2 Correct 0 ms 212 KB Output is correct
3 Correct 1 ms 212 KB Output is correct
4 Correct 1 ms 212 KB Output is correct
5 Correct 0 ms 212 KB Output is correct
6 Correct 0 ms 212 KB Output is correct
7 Correct 1 ms 596 KB Output is correct
8 Correct 1 ms 596 KB Output is correct
9 Correct 0 ms 212 KB Output is correct
10 Correct 0 ms 212 KB Output is correct
11 Correct 1 ms 212 KB Output is correct
12 Correct 0 ms 212 KB Output is correct
13 Correct 0 ms 340 KB Output is correct
14 Correct 0 ms 212 KB Output is correct
15 Correct 0 ms 212 KB Output is correct
16 Correct 0 ms 212 KB Output is correct
17 Correct 0 ms 212 KB Output is correct
18 Correct 0 ms 212 KB Output is correct
19 Correct 3 ms 596 KB Output is correct
20 Correct 9 ms 15060 KB Output is correct
21 Correct 2 ms 1616 KB Output is correct
22 Correct 4 ms 724 KB Output is correct
23 Correct 2 ms 596 KB Output is correct
24 Correct 11 ms 19412 KB Output is correct
25 Correct 12 ms 19412 KB Output is correct
26 Correct 2 ms 768 KB Output is correct
27 Correct 1 ms 724 KB Output is correct
28 Correct 2 ms 724 KB Output is correct
29 Correct 8 ms 1108 KB Output is correct
30 Correct 7 ms 10196 KB Output is correct
31 Correct 5 ms 4420 KB Output is correct
32 Correct 11 ms 1236 KB Output is correct
33 Correct 6 ms 1108 KB Output is correct
34 Correct 29 ms 48064 KB Output is correct
35 Correct 32 ms 48064 KB Output is correct
36 Correct 6 ms 1492 KB Output is correct
37 Correct 9 ms 1392 KB Output is correct
38 Correct 2 ms 1224 KB Output is correct
39 Correct 71 ms 8176 KB Output is correct
40 Correct 5 ms 4436 KB Output is correct
41 Correct 31 ms 59076 KB Output is correct
42 Correct 13 ms 1748 KB Output is correct
43 Correct 30 ms 39572 KB Output is correct
44 Correct 36 ms 42836 KB Output is correct
45 Correct 45 ms 54508 KB Output is correct
46 Correct 19 ms 14416 KB Output is correct
47 Correct 127 ms 8324 KB Output is correct
48 Correct 56 ms 8144 KB Output is correct
49 Correct 268 ms 478684 KB Output is correct
50 Correct 319 ms 478712 KB Output is correct
51 Correct 81 ms 9060 KB Output is correct
52 Correct 59 ms 8576 KB Output is correct
53 Correct 65 ms 8288 KB Output is correct
54 Correct 1 ms 212 KB Output is correct
55 Correct 0 ms 212 KB Output is correct
56 Correct 0 ms 212 KB Output is correct
57 Correct 0 ms 212 KB Output is correct
58 Correct 0 ms 212 KB Output is correct
59 Correct 1 ms 212 KB Output is correct
60 Correct 1 ms 212 KB Output is correct
61 Correct 1 ms 340 KB Output is correct
62 Correct 0 ms 212 KB Output is correct
63 Correct 1 ms 212 KB Output is correct
64 Correct 0 ms 212 KB Output is correct
65 Correct 0 ms 212 KB Output is correct
66 Correct 0 ms 212 KB Output is correct
67 Correct 0 ms 212 KB Output is correct
68 Correct 1 ms 596 KB Output is correct
69 Correct 1 ms 596 KB Output is correct
70 Correct 1 ms 468 KB Output is correct
71 Correct 1 ms 212 KB Output is correct
72 Correct 0 ms 212 KB Output is correct
73 Correct 0 ms 212 KB Output is correct
74 Correct 0 ms 212 KB Output is correct
75 Correct 1 ms 212 KB Output is correct
76 Correct 0 ms 212 KB Output is correct
77 Correct 0 ms 212 KB Output is correct
78 Correct 0 ms 212 KB Output is correct
79 Correct 0 ms 340 KB Output is correct
80 Correct 0 ms 212 KB Output is correct
81 Correct 0 ms 212 KB Output is correct
82 Correct 0 ms 212 KB Output is correct
83 Correct 1 ms 212 KB Output is correct
84 Correct 0 ms 212 KB Output is correct
85 Correct 0 ms 212 KB Output is correct
86 Correct 0 ms 212 KB Output is correct
87 Correct 0 ms 212 KB Output is correct
88 Correct 0 ms 212 KB Output is correct
89 Correct 0 ms 212 KB Output is correct
90 Correct 0 ms 212 KB Output is correct
91 Correct 0 ms 212 KB Output is correct
92 Correct 0 ms 212 KB Output is correct
93 Correct 1 ms 212 KB Output is correct
94 Correct 0 ms 212 KB Output is correct
95 Correct 0 ms 212 KB Output is correct
96 Correct 0 ms 212 KB Output is correct
97 Correct 1 ms 596 KB Output is correct
98 Correct 0 ms 212 KB Output is correct
99 Correct 1 ms 340 KB Output is correct
100 Correct 0 ms 212 KB Output is correct
101 Correct 1 ms 212 KB Output is correct
102 Correct 1 ms 212 KB Output is correct
103 Correct 0 ms 212 KB Output is correct
104 Correct 0 ms 212 KB Output is correct
105 Correct 1 ms 340 KB Output is correct
106 Correct 0 ms 212 KB Output is correct
107 Correct 0 ms 212 KB Output is correct
108 Correct 0 ms 212 KB Output is correct
109 Correct 0 ms 212 KB Output is correct
110 Correct 1 ms 596 KB Output is correct
111 Correct 2 ms 1536 KB Output is correct
112 Correct 2 ms 1616 KB Output is correct
113 Correct 2 ms 1616 KB Output is correct
114 Correct 1 ms 596 KB Output is correct
115 Correct 1 ms 596 KB Output is correct
116 Correct 2 ms 852 KB Output is correct
117 Correct 1 ms 724 KB Output is correct
118 Correct 1 ms 624 KB Output is correct
119 Correct 4 ms 2760 KB Output is correct
120 Correct 5 ms 4336 KB Output is correct
121 Correct 5 ms 3184 KB Output is correct
122 Correct 2 ms 1108 KB Output is correct
123 Correct 2 ms 1108 KB Output is correct
124 Correct 12 ms 5952 KB Output is correct
125 Correct 47 ms 23200 KB Output is correct
126 Correct 19 ms 14332 KB Output is correct
127 Correct 49 ms 32904 KB Output is correct
128 Correct 12 ms 8020 KB Output is correct
129 Correct 18 ms 8020 KB Output is correct
130 Correct 51 ms 26584 KB Output is correct
131 Correct 47 ms 24244 KB Output is correct
132 Correct 3 ms 596 KB Output is correct
133 Correct 0 ms 212 KB Output is correct
134 Correct 1 ms 980 KB Output is correct
135 Correct 1 ms 596 KB Output is correct
136 Correct 9 ms 15060 KB Output is correct
137 Correct 2 ms 1536 KB Output is correct
138 Correct 2 ms 1616 KB Output is correct
139 Correct 4 ms 724 KB Output is correct
140 Correct 3 ms 596 KB Output is correct
141 Correct 2 ms 1616 KB Output is correct
142 Correct 1 ms 596 KB Output is correct
143 Correct 1 ms 596 KB Output is correct
144 Correct 12 ms 19392 KB Output is correct
145 Correct 13 ms 19448 KB Output is correct
146 Correct 7 ms 10060 KB Output is correct
147 Correct 7 ms 1748 KB Output is correct
148 Correct 6 ms 1364 KB Output is correct
149 Correct 13 ms 1108 KB Output is correct
150 Correct 3 ms 852 KB Output is correct
151 Correct 1 ms 724 KB Output is correct
152 Correct 1 ms 724 KB Output is correct
153 Correct 2 ms 724 KB Output is correct
154 Correct 8 ms 1200 KB Output is correct
155 Correct 9 ms 10228 KB Output is correct
156 Correct 4 ms 2760 KB Output is correct
157 Correct 9 ms 4292 KB Output is correct
158 Correct 5 ms 4344 KB Output is correct
159 Correct 11 ms 1236 KB Output is correct
160 Correct 6 ms 1108 KB Output is correct
161 Correct 5 ms 3184 KB Output is correct
162 Correct 2 ms 1108 KB Output is correct
163 Correct 3 ms 1196 KB Output is correct
164 Correct 28 ms 48112 KB Output is correct
165 Correct 34 ms 48064 KB Output is correct
166 Correct 25 ms 24660 KB Output is correct
167 Correct 24 ms 3284 KB Output is correct
168 Correct 33 ms 2460 KB Output is correct
169 Correct 44 ms 2004 KB Output is correct
170 Correct 41 ms 1748 KB Output is correct
171 Correct 6 ms 1492 KB Output is correct
172 Correct 9 ms 1364 KB Output is correct
173 Correct 2 ms 1236 KB Output is correct
174 Correct 7 ms 5920 KB Output is correct
175 Correct 61 ms 3924 KB Output is correct
176 Correct 60 ms 83804 KB Output is correct
177 Correct 89 ms 19516 KB Output is correct
178 Correct 22 ms 17876 KB Output is correct
179 Correct 232 ms 18260 KB Output is correct
180 Correct 983 ms 14540 KB Output is correct
181 Correct 1397 ms 12412 KB Output is correct
182 Correct 1280 ms 11300 KB Output is correct
183 Correct 453 ms 21400 KB Output is correct
# 결과 실행 시간 메모리 Grader output
1 Correct 1 ms 212 KB Output is correct
2 Correct 0 ms 212 KB Output is correct
3 Correct 1 ms 212 KB Output is correct
4 Correct 1 ms 212 KB Output is correct
5 Correct 0 ms 212 KB Output is correct
6 Correct 0 ms 212 KB Output is correct
7 Correct 1 ms 596 KB Output is correct
8 Correct 1 ms 596 KB Output is correct
9 Correct 0 ms 212 KB Output is correct
10 Correct 0 ms 212 KB Output is correct
11 Correct 1 ms 212 KB Output is correct
12 Correct 0 ms 212 KB Output is correct
13 Correct 0 ms 340 KB Output is correct
14 Correct 0 ms 212 KB Output is correct
15 Correct 0 ms 212 KB Output is correct
16 Correct 0 ms 212 KB Output is correct
17 Correct 0 ms 212 KB Output is correct
18 Correct 0 ms 212 KB Output is correct
19 Correct 3 ms 596 KB Output is correct
20 Correct 9 ms 15060 KB Output is correct
21 Correct 2 ms 1616 KB Output is correct
22 Correct 4 ms 724 KB Output is correct
23 Correct 2 ms 596 KB Output is correct
24 Correct 11 ms 19412 KB Output is correct
25 Correct 12 ms 19412 KB Output is correct
26 Correct 2 ms 768 KB Output is correct
27 Correct 1 ms 724 KB Output is correct
28 Correct 2 ms 724 KB Output is correct
29 Correct 8 ms 1108 KB Output is correct
30 Correct 7 ms 10196 KB Output is correct
31 Correct 5 ms 4420 KB Output is correct
32 Correct 11 ms 1236 KB Output is correct
33 Correct 6 ms 1108 KB Output is correct
34 Correct 29 ms 48064 KB Output is correct
35 Correct 32 ms 48064 KB Output is correct
36 Correct 6 ms 1492 KB Output is correct
37 Correct 9 ms 1392 KB Output is correct
38 Correct 2 ms 1224 KB Output is correct
39 Correct 71 ms 8176 KB Output is correct
40 Correct 5 ms 4436 KB Output is correct
41 Correct 31 ms 59076 KB Output is correct
42 Correct 13 ms 1748 KB Output is correct
43 Correct 30 ms 39572 KB Output is correct
44 Correct 36 ms 42836 KB Output is correct
45 Correct 45 ms 54508 KB Output is correct
46 Correct 19 ms 14416 KB Output is correct
47 Correct 127 ms 8324 KB Output is correct
48 Correct 56 ms 8144 KB Output is correct
49 Correct 268 ms 478684 KB Output is correct
50 Correct 319 ms 478712 KB Output is correct
51 Correct 81 ms 9060 KB Output is correct
52 Correct 59 ms 8576 KB Output is correct
53 Correct 65 ms 8288 KB Output is correct
54 Correct 1 ms 212 KB Output is correct
55 Correct 0 ms 212 KB Output is correct
56 Correct 0 ms 212 KB Output is correct
57 Correct 0 ms 212 KB Output is correct
58 Correct 0 ms 212 KB Output is correct
59 Correct 1 ms 212 KB Output is correct
60 Correct 1 ms 212 KB Output is correct
61 Correct 1 ms 340 KB Output is correct
62 Correct 0 ms 212 KB Output is correct
63 Correct 1 ms 212 KB Output is correct
64 Correct 0 ms 212 KB Output is correct
65 Correct 0 ms 212 KB Output is correct
66 Correct 0 ms 212 KB Output is correct
67 Correct 0 ms 212 KB Output is correct
68 Correct 1 ms 596 KB Output is correct
69 Correct 1 ms 596 KB Output is correct
70 Correct 1 ms 468 KB Output is correct
71 Correct 1 ms 212 KB Output is correct
72 Correct 0 ms 212 KB Output is correct
73 Correct 0 ms 212 KB Output is correct
74 Correct 0 ms 212 KB Output is correct
75 Correct 1 ms 212 KB Output is correct
76 Correct 0 ms 212 KB Output is correct
77 Correct 0 ms 212 KB Output is correct
78 Correct 0 ms 212 KB Output is correct
79 Correct 0 ms 340 KB Output is correct
80 Correct 0 ms 212 KB Output is correct
81 Correct 0 ms 212 KB Output is correct
82 Correct 0 ms 212 KB Output is correct
83 Correct 1 ms 212 KB Output is correct
84 Correct 0 ms 212 KB Output is correct
85 Correct 0 ms 212 KB Output is correct
86 Correct 0 ms 212 KB Output is correct
87 Correct 0 ms 212 KB Output is correct
88 Correct 0 ms 212 KB Output is correct
89 Correct 0 ms 212 KB Output is correct
90 Correct 0 ms 212 KB Output is correct
91 Correct 0 ms 212 KB Output is correct
92 Correct 0 ms 212 KB Output is correct
93 Correct 1 ms 212 KB Output is correct
94 Correct 0 ms 212 KB Output is correct
95 Correct 0 ms 212 KB Output is correct
96 Correct 0 ms 212 KB Output is correct
97 Correct 1 ms 596 KB Output is correct
98 Correct 0 ms 212 KB Output is correct
99 Correct 1 ms 340 KB Output is correct
100 Correct 0 ms 212 KB Output is correct
101 Correct 1 ms 212 KB Output is correct
102 Correct 1 ms 212 KB Output is correct
103 Correct 0 ms 212 KB Output is correct
104 Correct 0 ms 212 KB Output is correct
105 Correct 1 ms 340 KB Output is correct
106 Correct 0 ms 212 KB Output is correct
107 Correct 0 ms 212 KB Output is correct
108 Correct 0 ms 212 KB Output is correct
109 Correct 0 ms 212 KB Output is correct
110 Correct 1 ms 596 KB Output is correct
111 Correct 2 ms 1536 KB Output is correct
112 Correct 2 ms 1616 KB Output is correct
113 Correct 2 ms 1616 KB Output is correct
114 Correct 1 ms 596 KB Output is correct
115 Correct 1 ms 596 KB Output is correct
116 Correct 2 ms 852 KB Output is correct
117 Correct 1 ms 724 KB Output is correct
118 Correct 1 ms 624 KB Output is correct
119 Correct 4 ms 2760 KB Output is correct
120 Correct 5 ms 4336 KB Output is correct
121 Correct 5 ms 3184 KB Output is correct
122 Correct 2 ms 1108 KB Output is correct
123 Correct 2 ms 1108 KB Output is correct
124 Correct 12 ms 5952 KB Output is correct
125 Correct 47 ms 23200 KB Output is correct
126 Correct 19 ms 14332 KB Output is correct
127 Correct 49 ms 32904 KB Output is correct
128 Correct 12 ms 8020 KB Output is correct
129 Correct 18 ms 8020 KB Output is correct
130 Correct 51 ms 26584 KB Output is correct
131 Correct 47 ms 24244 KB Output is correct
132 Correct 3 ms 596 KB Output is correct
133 Correct 0 ms 212 KB Output is correct
134 Correct 1 ms 980 KB Output is correct
135 Correct 1 ms 596 KB Output is correct
136 Correct 9 ms 15060 KB Output is correct
137 Correct 2 ms 1536 KB Output is correct
138 Correct 2 ms 1616 KB Output is correct
139 Correct 4 ms 724 KB Output is correct
140 Correct 3 ms 596 KB Output is correct
141 Correct 2 ms 1616 KB Output is correct
142 Correct 1 ms 596 KB Output is correct
143 Correct 1 ms 596 KB Output is correct
144 Correct 12 ms 19392 KB Output is correct
145 Correct 13 ms 19448 KB Output is correct
146 Correct 7 ms 10060 KB Output is correct
147 Correct 7 ms 1748 KB Output is correct
148 Correct 6 ms 1364 KB Output is correct
149 Correct 13 ms 1108 KB Output is correct
150 Correct 3 ms 852 KB Output is correct
151 Correct 1 ms 724 KB Output is correct
152 Correct 1 ms 724 KB Output is correct
153 Correct 2 ms 724 KB Output is correct
154 Correct 8 ms 1200 KB Output is correct
155 Correct 9 ms 10228 KB Output is correct
156 Correct 4 ms 2760 KB Output is correct
157 Correct 9 ms 4292 KB Output is correct
158 Correct 5 ms 4344 KB Output is correct
159 Correct 11 ms 1236 KB Output is correct
160 Correct 6 ms 1108 KB Output is correct
161 Correct 5 ms 3184 KB Output is correct
162 Correct 2 ms 1108 KB Output is correct
163 Correct 3 ms 1196 KB Output is correct
164 Correct 28 ms 48112 KB Output is correct
165 Correct 34 ms 48064 KB Output is correct
166 Correct 25 ms 24660 KB Output is correct
167 Correct 24 ms 3284 KB Output is correct
168 Correct 33 ms 2460 KB Output is correct
169 Correct 44 ms 2004 KB Output is correct
170 Correct 41 ms 1748 KB Output is correct
171 Correct 6 ms 1492 KB Output is correct
172 Correct 9 ms 1364 KB Output is correct
173 Correct 2 ms 1236 KB Output is correct
174 Correct 7 ms 5920 KB Output is correct
175 Correct 61 ms 3924 KB Output is correct
176 Correct 60 ms 83804 KB Output is correct
177 Correct 89 ms 19516 KB Output is correct
178 Correct 22 ms 17876 KB Output is correct
179 Correct 232 ms 18260 KB Output is correct
180 Correct 983 ms 14540 KB Output is correct
181 Correct 1397 ms 12412 KB Output is correct
182 Correct 1280 ms 11300 KB Output is correct
183 Correct 453 ms 21400 KB Output is correct
184 Correct 212 ms 15812 KB Output is correct
185 Correct 88 ms 23844 KB Output is correct
186 Correct 53 ms 26448 KB Output is correct
187 Correct 91 ms 13476 KB Output is correct
188 Correct 117 ms 65240 KB Output is correct
189 Correct 214 ms 16084 KB Output is correct
190 Correct 62 ms 15812 KB Output is correct
191 Correct 115 ms 65156 KB Output is correct
192 Correct 35 ms 15700 KB Output is correct
193 Correct 22 ms 15708 KB Output is correct
194 Correct 519 ms 957128 KB Output is correct
195 Correct 532 ms 957212 KB Output is correct
196 Correct 1128 ms 31700 KB Output is correct
197 Correct 1136 ms 26080 KB Output is correct
198 Correct 1326 ms 22376 KB Output is correct
199 Execution timed out 2078 ms 20168 KB Time limit exceeded
200 Halted 0 ms 0 KB -
# 결과 실행 시간 메모리 Grader output
1 Correct 1 ms 212 KB Output is correct
2 Correct 0 ms 212 KB Output is correct
3 Correct 1 ms 212 KB Output is correct
4 Correct 1 ms 212 KB Output is correct
5 Correct 0 ms 212 KB Output is correct
6 Correct 0 ms 212 KB Output is correct
7 Correct 1 ms 596 KB Output is correct
8 Correct 1 ms 596 KB Output is correct
9 Correct 0 ms 212 KB Output is correct
10 Correct 0 ms 212 KB Output is correct
11 Correct 1 ms 212 KB Output is correct
12 Correct 0 ms 212 KB Output is correct
13 Correct 0 ms 340 KB Output is correct
14 Correct 0 ms 212 KB Output is correct
15 Correct 0 ms 212 KB Output is correct
16 Correct 0 ms 212 KB Output is correct
17 Correct 0 ms 212 KB Output is correct
18 Correct 0 ms 212 KB Output is correct
19 Correct 3 ms 596 KB Output is correct
20 Correct 9 ms 15060 KB Output is correct
21 Correct 2 ms 1616 KB Output is correct
22 Correct 4 ms 724 KB Output is correct
23 Correct 2 ms 596 KB Output is correct
24 Correct 11 ms 19412 KB Output is correct
25 Correct 12 ms 19412 KB Output is correct
26 Correct 2 ms 768 KB Output is correct
27 Correct 1 ms 724 KB Output is correct
28 Correct 2 ms 724 KB Output is correct
29 Correct 8 ms 1108 KB Output is correct
30 Correct 7 ms 10196 KB Output is correct
31 Correct 5 ms 4420 KB Output is correct
32 Correct 11 ms 1236 KB Output is correct
33 Correct 6 ms 1108 KB Output is correct
34 Correct 29 ms 48064 KB Output is correct
35 Correct 32 ms 48064 KB Output is correct
36 Correct 6 ms 1492 KB Output is correct
37 Correct 9 ms 1392 KB Output is correct
38 Correct 2 ms 1224 KB Output is correct
39 Correct 71 ms 8176 KB Output is correct
40 Correct 5 ms 4436 KB Output is correct
41 Correct 31 ms 59076 KB Output is correct
42 Correct 13 ms 1748 KB Output is correct
43 Correct 30 ms 39572 KB Output is correct
44 Correct 36 ms 42836 KB Output is correct
45 Correct 45 ms 54508 KB Output is correct
46 Correct 19 ms 14416 KB Output is correct
47 Correct 127 ms 8324 KB Output is correct
48 Correct 56 ms 8144 KB Output is correct
49 Correct 268 ms 478684 KB Output is correct
50 Correct 319 ms 478712 KB Output is correct
51 Correct 81 ms 9060 KB Output is correct
52 Correct 59 ms 8576 KB Output is correct
53 Correct 65 ms 8288 KB Output is correct
54 Correct 1 ms 212 KB Output is correct
55 Correct 0 ms 212 KB Output is correct
56 Correct 0 ms 212 KB Output is correct
57 Correct 0 ms 212 KB Output is correct
58 Correct 0 ms 212 KB Output is correct
59 Correct 1 ms 212 KB Output is correct
60 Correct 1 ms 212 KB Output is correct
61 Correct 1 ms 340 KB Output is correct
62 Correct 0 ms 212 KB Output is correct
63 Correct 1 ms 212 KB Output is correct
64 Correct 0 ms 212 KB Output is correct
65 Correct 0 ms 212 KB Output is correct
66 Correct 0 ms 212 KB Output is correct
67 Correct 0 ms 212 KB Output is correct
68 Correct 1 ms 596 KB Output is correct
69 Correct 1 ms 596 KB Output is correct
70 Correct 1 ms 468 KB Output is correct
71 Correct 1 ms 212 KB Output is correct
72 Correct 0 ms 212 KB Output is correct
73 Correct 0 ms 212 KB Output is correct
74 Correct 0 ms 212 KB Output is correct
75 Correct 1 ms 212 KB Output is correct
76 Correct 0 ms 212 KB Output is correct
77 Correct 0 ms 212 KB Output is correct
78 Correct 0 ms 212 KB Output is correct
79 Correct 0 ms 340 KB Output is correct
80 Correct 0 ms 212 KB Output is correct
81 Correct 0 ms 212 KB Output is correct
82 Correct 0 ms 212 KB Output is correct
83 Correct 1 ms 212 KB Output is correct
84 Correct 0 ms 212 KB Output is correct
85 Correct 0 ms 212 KB Output is correct
86 Correct 0 ms 212 KB Output is correct
87 Correct 0 ms 212 KB Output is correct
88 Correct 0 ms 212 KB Output is correct
89 Correct 0 ms 212 KB Output is correct
90 Correct 0 ms 212 KB Output is correct
91 Correct 0 ms 212 KB Output is correct
92 Correct 0 ms 212 KB Output is correct
93 Correct 1 ms 212 KB Output is correct
94 Correct 0 ms 212 KB Output is correct
95 Correct 0 ms 212 KB Output is correct
96 Correct 0 ms 212 KB Output is correct
97 Correct 1 ms 596 KB Output is correct
98 Correct 0 ms 212 KB Output is correct
99 Correct 1 ms 340 KB Output is correct
100 Correct 0 ms 212 KB Output is correct
101 Correct 1 ms 212 KB Output is correct
102 Correct 1 ms 212 KB Output is correct
103 Correct 0 ms 212 KB Output is correct
104 Correct 0 ms 212 KB Output is correct
105 Correct 1 ms 340 KB Output is correct
106 Correct 0 ms 212 KB Output is correct
107 Correct 0 ms 212 KB Output is correct
108 Correct 0 ms 212 KB Output is correct
109 Correct 0 ms 212 KB Output is correct
110 Correct 1 ms 596 KB Output is correct
111 Correct 2 ms 1536 KB Output is correct
112 Correct 2 ms 1616 KB Output is correct
113 Correct 2 ms 1616 KB Output is correct
114 Correct 1 ms 596 KB Output is correct
115 Correct 1 ms 596 KB Output is correct
116 Correct 2 ms 852 KB Output is correct
117 Correct 1 ms 724 KB Output is correct
118 Correct 1 ms 624 KB Output is correct
119 Correct 4 ms 2760 KB Output is correct
120 Correct 5 ms 4336 KB Output is correct
121 Correct 5 ms 3184 KB Output is correct
122 Correct 2 ms 1108 KB Output is correct
123 Correct 2 ms 1108 KB Output is correct
124 Correct 12 ms 5952 KB Output is correct
125 Correct 47 ms 23200 KB Output is correct
126 Correct 19 ms 14332 KB Output is correct
127 Correct 49 ms 32904 KB Output is correct
128 Correct 12 ms 8020 KB Output is correct
129 Correct 18 ms 8020 KB Output is correct
130 Correct 51 ms 26584 KB Output is correct
131 Correct 47 ms 24244 KB Output is correct
132 Correct 3 ms 596 KB Output is correct
133 Correct 0 ms 212 KB Output is correct
134 Correct 1 ms 980 KB Output is correct
135 Correct 1 ms 596 KB Output is correct
136 Correct 9 ms 15060 KB Output is correct
137 Correct 2 ms 1536 KB Output is correct
138 Correct 2 ms 1616 KB Output is correct
139 Correct 4 ms 724 KB Output is correct
140 Correct 3 ms 596 KB Output is correct
141 Correct 2 ms 1616 KB Output is correct
142 Correct 1 ms 596 KB Output is correct
143 Correct 1 ms 596 KB Output is correct
144 Correct 12 ms 19392 KB Output is correct
145 Correct 13 ms 19448 KB Output is correct
146 Correct 7 ms 10060 KB Output is correct
147 Correct 7 ms 1748 KB Output is correct
148 Correct 6 ms 1364 KB Output is correct
149 Correct 13 ms 1108 KB Output is correct
150 Correct 3 ms 852 KB Output is correct
151 Correct 1 ms 724 KB Output is correct
152 Correct 1 ms 724 KB Output is correct
153 Correct 2 ms 724 KB Output is correct
154 Correct 8 ms 1200 KB Output is correct
155 Correct 9 ms 10228 KB Output is correct
156 Correct 4 ms 2760 KB Output is correct
157 Correct 9 ms 4292 KB Output is correct
158 Correct 5 ms 4344 KB Output is correct
159 Correct 11 ms 1236 KB Output is correct
160 Correct 6 ms 1108 KB Output is correct
161 Correct 5 ms 3184 KB Output is correct
162 Correct 2 ms 1108 KB Output is correct
163 Correct 3 ms 1196 KB Output is correct
164 Correct 28 ms 48112 KB Output is correct
165 Correct 34 ms 48064 KB Output is correct
166 Correct 25 ms 24660 KB Output is correct
167 Correct 24 ms 3284 KB Output is correct
168 Correct 33 ms 2460 KB Output is correct
169 Correct 44 ms 2004 KB Output is correct
170 Correct 41 ms 1748 KB Output is correct
171 Correct 6 ms 1492 KB Output is correct
172 Correct 9 ms 1364 KB Output is correct
173 Correct 2 ms 1236 KB Output is correct
174 Correct 7 ms 5920 KB Output is correct
175 Correct 61 ms 3924 KB Output is correct
176 Correct 60 ms 83804 KB Output is correct
177 Correct 89 ms 19516 KB Output is correct
178 Correct 22 ms 17876 KB Output is correct
179 Correct 232 ms 18260 KB Output is correct
180 Correct 983 ms 14540 KB Output is correct
181 Correct 1397 ms 12412 KB Output is correct
182 Correct 1280 ms 11300 KB Output is correct
183 Correct 453 ms 21400 KB Output is correct
184 Correct 212 ms 15812 KB Output is correct
185 Correct 88 ms 23844 KB Output is correct
186 Correct 53 ms 26448 KB Output is correct
187 Correct 91 ms 13476 KB Output is correct
188 Correct 117 ms 65240 KB Output is correct
189 Correct 214 ms 16084 KB Output is correct
190 Correct 62 ms 15812 KB Output is correct
191 Correct 115 ms 65156 KB Output is correct
192 Correct 35 ms 15700 KB Output is correct
193 Correct 22 ms 15708 KB Output is correct
194 Correct 519 ms 957128 KB Output is correct
195 Correct 532 ms 957212 KB Output is correct
196 Correct 1128 ms 31700 KB Output is correct
197 Correct 1136 ms 26080 KB Output is correct
198 Correct 1326 ms 22376 KB Output is correct
199 Execution timed out 2078 ms 20168 KB Time limit exceeded
200 Halted 0 ms 0 KB -