Submission #700120

# Submission time Handle Problem Language Result Execution time Memory
700120 2023-02-18T16:30:28 Z urosk Airline Route Map (JOI18_airline) C++14
37 / 100
697 ms 33764 KB
#include "Alicelib.h"
#define here cerr<<"===========================================\n"
#define dbg(x) cerr<<#x<<": "<<x<<endl;
#include "bits/stdc++.h"
//#include <ext/pb_ds/tree_policy.hpp>
//#include <ext/pb_ds/assoc_container.hpp>
#define ld double
#define ll int
#define llinf 100000000000000000LL // 10^17
#define pb push_back
#define popb pop_back
#define fi first
#define sc second
#define endl '\n'
#define pll pair<ll,ll>
#define pld pair<ld,ld>
#define sz(a) (ll)(a.size())
#define all(a) a.begin(),a.end()
#define ceri(a,l,r) {cerr<<#a<<": ";for(ll i_ = l;i_<=r;i_++) cerr<<a[i_]<< " ";cerr<<endl;}
#define cer(a) {cerr<<#a<<": ";for(ll x_ : a) cerr<<x_<< " ";cerr<<endl;}

#define daj_mi_malo_vremena ios_base::sync_with_stdio(false);cerr.tie(0);cout.tie(0);cin.tie(0);

using namespace std;
#define maxn 1020
void Alice(ll N,ll M,ll A[],ll B[] ){
    ll n = N,m = M;
    ll d = 12;
    ll v = n+d,u = m;
    vector<pll> a;
    vector<ll> want(maxn,0);
    vector<ll> deg(maxn,0);
    vector<vector<bool> > ima(maxn,vector<bool>(maxn,0));
    for(ll i = 0;i<m;i++) a.pb({A[i],B[i]});
    for(ll i = 0;i<v-2;i++) a.pb({i,v-1});
    for(ll i = n;i<v-2;i++) a.pb({i,v-2});
    a.pb({v,n});
    set<pll> s;
    for(ll i = n;i<v-2;i++) want[i] = i-n;
    for(ll i = 0;i<v;i++) ima[i][i] = 1;
    for(ll i = v-3;i>n;i--){
        if(want[i]){
            a.pb({i,n});
            deg[i]++;
            deg[n]++;
            want[i]--;
        }
        ll j = i-1;
        while(want[i]&&j>=n){
            if(want[j]&&!ima[i][j]){
                ima[i][j] = ima[j][i] = 1;
                a.pb({i,j});
                want[j]--;
                want[i]--;
                deg[i]++;
                deg[j]++;
            }
            j--;
        }
    }
    //ceri(deg,n,v-3);
    for(ll i = 0;i<n;i++){
        for(ll j = 0;j<d-2;j++){
            if((1<<j)&i) a.pb({i,n+j});
        }
    }
    u = sz(a);
    InitG(v+1,u);
    //dbg(sz(a));
    //for(pll p : a) cerr<<p.fi<< " "<<p.sc<<endl;
    for(ll i = 0;i<u;i++) MakeG(i,a[i].fi,a[i].sc);
}
/**
4 3
0 1
0 2
0 3
**/
#include "Boblib.h"
#define here cerr<<"===========================================\n"
#define dbg(x) cerr<<#x<<": "<<x<<endl;
#include "bits/stdc++.h"
//#include <ext/pb_ds/tree_policy.hpp>
//#include <ext/pb_ds/assoc_container.hpp>
#define ld double
#define ll int
#define llinf 100000000000000000LL // 10^17
#define pb push_back
#define popb pop_back
#define fi first
#define sc second
#define endl '\n'
#define pll pair<ll,ll>
#define pld pair<ld,ld>
#define sz(a) (ll)(a.size())
#define all(a) a.begin(),a.end()
#define ceri(a,l,r) {cerr<<#a<<": ";for(ll i_ = l;i_<=r;i_++) cerr<<a[i_]<< " ";cerr<<endl;}
#define cer(a) {cerr<<#a<<": ";for(ll x_ : a) cerr<<x_<< " ";cerr<<endl;}

#define daj_mi_malo_vremena ios_base::sync_with_stdio(false);cerr.tie(0);cout.tie(0);cin.tie(0);

using namespace std;
#define maxn 1020
void Bob(ll V,ll U,ll C[],ll D[]){
    ll n = V,m = U;
    vector<ll> ans(maxn,0);
    vector<ll> deg(maxn,0);
    vector<pll> e(maxn*maxn);
    vector<bool> spec(maxn,0);
    vector<vector<ll> > g(maxn);
    vector<vector<bool> > ok(maxn,vector<bool>(maxn,0));
    for(ll i = 0;i<m;i++) e[i] = {C[i],D[i]};
    for(ll i = 0;i<m;i++){
        ll x = e[i].fi,y = e[i].sc;
        deg[x]++;
        deg[y]++;
        ok[x][y] = ok[y][x] = 1;
        g[x].pb(y);
        g[y].pb(x);
    }
    for(ll i = 0;i<n;i++) ok[i][i] = 1;
    ll u = 0;
    for(ll i = 0;i<n;i++) if(deg[i]>deg[u]) u = i;
    ll v = -1;
    for(ll i = 0;i<n;i++) if(!ok[u][i]){
        if(v==-1) v = i;
        else if(deg[i]>deg[v]) v = i;
    }
    ll r = -1;
    for(ll i = 0;i<n;i++){
        if(!ok[u][i]&&deg[i]<deg[v]) r = i;
    }
    vector<ll> w;
    for(ll x : g[v]){
        w.pb(x);
        spec[x] = 1;
    }
    spec[u] = spec[v] = spec[r] = 1;
    for(ll x : w){
        ll cnt = -1;
        for(ll y : w){
            if(ok[x][y]){
                cnt++;
            }
        }
        if(cnt==5){
            if(ok[x][r]) cnt = 0;
        }
        for(ll y : g[x]){
            if(!spec[y]){
                ans[y]+=(1<<cnt);
            }
        }
    }
    ll gr = 0;
    for(ll i = 0;i<m;i++){
        ll x = e[i].fi,y = e[i].sc;
        if(spec[x]||spec[y]) continue;
        gr++;
    }
    InitMap(n-13,gr);
    for(ll i = 0;i<m;i++){
        ll x = e[i].fi,y = e[i].sc;
        if(spec[x]||spec[y]) continue;
        x = ans[x],y = ans[y];
        MakeMap(x,y);
    }
}
/**
4 3
0 1
0 2
0 3
**/
# Verdict Execution time Memory Grader output
1 Correct 6 ms 13196 KB Output is correct
2 Correct 7 ms 13164 KB Output is correct
3 Correct 8 ms 13080 KB Output is correct
4 Correct 7 ms 13308 KB Output is correct
5 Correct 7 ms 13104 KB Output is correct
6 Correct 6 ms 13188 KB Output is correct
7 Correct 6 ms 13188 KB Output is correct
8 Correct 6 ms 13188 KB Output is correct
9 Correct 7 ms 13188 KB Output is correct
10 Correct 7 ms 13184 KB Output is correct
11 Correct 6 ms 13180 KB Output is correct
12 Correct 6 ms 13196 KB Output is correct
13 Correct 7 ms 13112 KB Output is correct
14 Correct 6 ms 13196 KB Output is correct
15 Correct 6 ms 13192 KB Output is correct
16 Correct 8 ms 13176 KB Output is correct
17 Correct 6 ms 13116 KB Output is correct
18 Correct 7 ms 13116 KB Output is correct
19 Correct 7 ms 13092 KB Output is correct
20 Correct 9 ms 13188 KB Output is correct
21 Correct 6 ms 13192 KB Output is correct
22 Correct 6 ms 13184 KB Output is correct
23 Correct 6 ms 13188 KB Output is correct
24 Correct 7 ms 13216 KB Output is correct
25 Correct 7 ms 13184 KB Output is correct
26 Correct 6 ms 13164 KB Output is correct
27 Correct 7 ms 13116 KB Output is correct
28 Correct 6 ms 13128 KB Output is correct
29 Correct 8 ms 13192 KB Output is correct
30 Correct 7 ms 13184 KB Output is correct
31 Correct 7 ms 13092 KB Output is correct
32 Correct 7 ms 13092 KB Output is correct
33 Correct 6 ms 13184 KB Output is correct
34 Correct 7 ms 13136 KB Output is correct
35 Correct 7 ms 13184 KB Output is correct
36 Correct 6 ms 13116 KB Output is correct
37 Correct 6 ms 13160 KB Output is correct
38 Correct 6 ms 13188 KB Output is correct
39 Correct 7 ms 13188 KB Output is correct
40 Correct 9 ms 13272 KB Output is correct
41 Correct 7 ms 13188 KB Output is correct
42 Correct 6 ms 13164 KB Output is correct
43 Correct 7 ms 13136 KB Output is correct
44 Correct 6 ms 13184 KB Output is correct
45 Correct 7 ms 13188 KB Output is correct
46 Correct 7 ms 13172 KB Output is correct
47 Correct 6 ms 13188 KB Output is correct
48 Correct 6 ms 13128 KB Output is correct
49 Correct 6 ms 13172 KB Output is correct
50 Correct 6 ms 13188 KB Output is correct
51 Correct 7 ms 13184 KB Output is correct
52 Correct 7 ms 13188 KB Output is correct
53 Correct 7 ms 13184 KB Output is correct
54 Correct 8 ms 13100 KB Output is correct
55 Correct 6 ms 13092 KB Output is correct
56 Correct 6 ms 13168 KB Output is correct
57 Correct 7 ms 13252 KB Output is correct
58 Correct 6 ms 13188 KB Output is correct
# Verdict Execution time Memory Grader output
1 Correct 6 ms 13196 KB Output is correct
2 Correct 7 ms 13164 KB Output is correct
3 Correct 8 ms 13080 KB Output is correct
4 Correct 7 ms 13308 KB Output is correct
5 Correct 7 ms 13104 KB Output is correct
6 Correct 6 ms 13188 KB Output is correct
7 Correct 6 ms 13188 KB Output is correct
8 Correct 6 ms 13188 KB Output is correct
9 Correct 7 ms 13188 KB Output is correct
10 Correct 7 ms 13184 KB Output is correct
11 Correct 6 ms 13180 KB Output is correct
12 Correct 6 ms 13196 KB Output is correct
13 Correct 7 ms 13112 KB Output is correct
14 Correct 6 ms 13196 KB Output is correct
15 Correct 6 ms 13192 KB Output is correct
16 Correct 8 ms 13176 KB Output is correct
17 Correct 6 ms 13116 KB Output is correct
18 Correct 7 ms 13116 KB Output is correct
19 Correct 7 ms 13092 KB Output is correct
20 Correct 9 ms 13188 KB Output is correct
21 Correct 6 ms 13192 KB Output is correct
22 Correct 6 ms 13184 KB Output is correct
23 Correct 6 ms 13188 KB Output is correct
24 Correct 7 ms 13216 KB Output is correct
25 Correct 7 ms 13184 KB Output is correct
26 Correct 6 ms 13164 KB Output is correct
27 Correct 7 ms 13116 KB Output is correct
28 Correct 6 ms 13128 KB Output is correct
29 Correct 8 ms 13192 KB Output is correct
30 Correct 7 ms 13184 KB Output is correct
31 Correct 7 ms 13092 KB Output is correct
32 Correct 7 ms 13092 KB Output is correct
33 Correct 6 ms 13184 KB Output is correct
34 Correct 7 ms 13136 KB Output is correct
35 Correct 7 ms 13184 KB Output is correct
36 Correct 6 ms 13116 KB Output is correct
37 Correct 6 ms 13160 KB Output is correct
38 Correct 6 ms 13188 KB Output is correct
39 Correct 7 ms 13188 KB Output is correct
40 Correct 9 ms 13272 KB Output is correct
41 Correct 7 ms 13188 KB Output is correct
42 Correct 6 ms 13164 KB Output is correct
43 Correct 7 ms 13136 KB Output is correct
44 Correct 6 ms 13184 KB Output is correct
45 Correct 7 ms 13188 KB Output is correct
46 Correct 7 ms 13172 KB Output is correct
47 Correct 6 ms 13188 KB Output is correct
48 Correct 6 ms 13128 KB Output is correct
49 Correct 6 ms 13172 KB Output is correct
50 Correct 6 ms 13188 KB Output is correct
51 Correct 7 ms 13184 KB Output is correct
52 Correct 7 ms 13188 KB Output is correct
53 Correct 7 ms 13184 KB Output is correct
54 Correct 8 ms 13100 KB Output is correct
55 Correct 6 ms 13092 KB Output is correct
56 Correct 6 ms 13168 KB Output is correct
57 Correct 7 ms 13252 KB Output is correct
58 Correct 6 ms 13188 KB Output is correct
59 Correct 7 ms 13316 KB Output is correct
60 Correct 7 ms 13316 KB Output is correct
61 Correct 8 ms 13096 KB Output is correct
62 Correct 7 ms 13196 KB Output is correct
63 Correct 7 ms 13164 KB Output is correct
64 Correct 6 ms 13180 KB Output is correct
65 Correct 7 ms 13320 KB Output is correct
66 Correct 7 ms 13160 KB Output is correct
67 Correct 7 ms 13148 KB Output is correct
68 Correct 7 ms 13176 KB Output is correct
69 Correct 8 ms 13144 KB Output is correct
70 Correct 7 ms 13316 KB Output is correct
71 Correct 7 ms 13316 KB Output is correct
72 Correct 8 ms 13256 KB Output is correct
73 Correct 6 ms 13244 KB Output is correct
74 Correct 7 ms 13164 KB Output is correct
75 Correct 8 ms 13252 KB Output is correct
76 Correct 8 ms 13200 KB Output is correct
77 Correct 7 ms 13252 KB Output is correct
78 Correct 8 ms 13288 KB Output is correct
79 Correct 6 ms 13316 KB Output is correct
80 Correct 8 ms 13184 KB Output is correct
81 Correct 7 ms 13164 KB Output is correct
82 Correct 9 ms 13188 KB Output is correct
83 Correct 8 ms 13160 KB Output is correct
84 Correct 7 ms 13188 KB Output is correct
85 Correct 8 ms 13324 KB Output is correct
86 Correct 7 ms 13116 KB Output is correct
87 Correct 7 ms 13284 KB Output is correct
88 Correct 6 ms 13116 KB Output is correct
89 Correct 8 ms 13088 KB Output is correct
90 Correct 6 ms 13192 KB Output is correct
91 Correct 7 ms 13184 KB Output is correct
92 Correct 7 ms 13184 KB Output is correct
93 Correct 6 ms 13184 KB Output is correct
94 Correct 6 ms 13316 KB Output is correct
95 Correct 7 ms 13324 KB Output is correct
96 Correct 6 ms 13300 KB Output is correct
97 Correct 9 ms 13300 KB Output is correct
98 Correct 8 ms 13220 KB Output is correct
99 Correct 8 ms 13220 KB Output is correct
100 Correct 7 ms 13116 KB Output is correct
101 Correct 7 ms 13268 KB Output is correct
102 Correct 6 ms 13116 KB Output is correct
103 Correct 6 ms 13188 KB Output is correct
104 Correct 7 ms 13128 KB Output is correct
105 Correct 7 ms 13324 KB Output is correct
106 Correct 7 ms 13116 KB Output is correct
107 Correct 6 ms 13136 KB Output is correct
108 Correct 7 ms 13188 KB Output is correct
109 Correct 7 ms 13196 KB Output is correct
110 Correct 7 ms 13168 KB Output is correct
111 Correct 7 ms 13200 KB Output is correct
112 Correct 7 ms 13116 KB Output is correct
113 Correct 9 ms 13116 KB Output is correct
114 Correct 8 ms 13324 KB Output is correct
115 Correct 7 ms 13316 KB Output is correct
116 Correct 7 ms 13188 KB Output is correct
117 Correct 6 ms 13168 KB Output is correct
118 Correct 6 ms 13188 KB Output is correct
# Verdict Execution time Memory Grader output
1 Partially correct 650 ms 33728 KB Output is partially correct : V - N = 13
2 Partially correct 532 ms 29984 KB Output is partially correct : V - N = 13
3 Partially correct 223 ms 20180 KB Output is partially correct : V - N = 13
4 Partially correct 19 ms 13752 KB Output is partially correct : V - N = 13
5 Partially correct 98 ms 17252 KB Output is partially correct : V - N = 13
6 Partially correct 446 ms 28000 KB Output is partially correct : V - N = 13
7 Partially correct 626 ms 33368 KB Output is partially correct : V - N = 13
8 Partially correct 525 ms 31548 KB Output is partially correct : V - N = 13
9 Partially correct 240 ms 22360 KB Output is partially correct : V - N = 13
10 Partially correct 44 ms 14456 KB Output is partially correct : V - N = 13
11 Partially correct 70 ms 15276 KB Output is partially correct : V - N = 13
12 Partially correct 337 ms 24588 KB Output is partially correct : V - N = 13
13 Partially correct 610 ms 32380 KB Output is partially correct : V - N = 13
14 Partially correct 697 ms 32856 KB Output is partially correct : V - N = 13
15 Partially correct 387 ms 26884 KB Output is partially correct : V - N = 13
16 Partially correct 73 ms 16100 KB Output is partially correct : V - N = 13
17 Partially correct 22 ms 13964 KB Output is partially correct : V - N = 13
18 Partially correct 272 ms 21252 KB Output is partially correct : V - N = 13
19 Partially correct 552 ms 30856 KB Output is partially correct : V - N = 13
20 Partially correct 638 ms 33436 KB Output is partially correct : V - N = 13
21 Partially correct 160 ms 19604 KB Output is partially correct : V - N = 13
22 Partially correct 155 ms 17652 KB Output is partially correct : V - N = 13
23 Partially correct 48 ms 15120 KB Output is partially correct : V - N = 13
24 Partially correct 9 ms 13444 KB Output is partially correct : V - N = 13
25 Partially correct 42 ms 14364 KB Output is partially correct : V - N = 13
26 Partially correct 83 ms 17196 KB Output is partially correct : V - N = 13
27 Partially correct 197 ms 18528 KB Output is partially correct : V - N = 13
28 Partially correct 133 ms 18128 KB Output is partially correct : V - N = 13
29 Partially correct 87 ms 15692 KB Output is partially correct : V - N = 13
30 Partially correct 11 ms 13688 KB Output is partially correct : V - N = 13
31 Partially correct 13 ms 13512 KB Output is partially correct : V - N = 13
32 Partially correct 12 ms 13468 KB Output is partially correct : V - N = 13
33 Partially correct 12 ms 13568 KB Output is partially correct : V - N = 13
34 Partially correct 11 ms 13520 KB Output is partially correct : V - N = 13
35 Partially correct 12 ms 13480 KB Output is partially correct : V - N = 13
36 Partially correct 568 ms 33764 KB Output is partially correct : V - N = 13
37 Partially correct 602 ms 33672 KB Output is partially correct : V - N = 13
38 Partially correct 599 ms 33468 KB Output is partially correct : V - N = 13
39 Partially correct 608 ms 33592 KB Output is partially correct : V - N = 13
40 Partially correct 559 ms 33612 KB Output is partially correct : V - N = 13
41 Partially correct 147 ms 17132 KB Output is partially correct : V - N = 13
42 Partially correct 81 ms 16404 KB Output is partially correct : V - N = 13
43 Partially correct 89 ms 16808 KB Output is partially correct : V - N = 13
44 Partially correct 12 ms 13660 KB Output is partially correct : V - N = 13
45 Partially correct 78 ms 15328 KB Output is partially correct : V - N = 13
46 Partially correct 246 ms 20708 KB Output is partially correct : V - N = 13
47 Partially correct 94 ms 17072 KB Output is partially correct : V - N = 13
48 Partially correct 357 ms 22552 KB Output is partially correct : V - N = 13
49 Partially correct 49 ms 15032 KB Output is partially correct : V - N = 13
50 Partially correct 23 ms 13988 KB Output is partially correct : V - N = 13
51 Partially correct 535 ms 29824 KB Output is partially correct : V - N = 13
52 Partially correct 13 ms 13764 KB Output is partially correct : V - N = 13
53 Partially correct 426 ms 27868 KB Output is partially correct : V - N = 13
54 Partially correct 508 ms 31464 KB Output is partially correct : V - N = 13
55 Partially correct 36 ms 14496 KB Output is partially correct : V - N = 13
56 Partially correct 348 ms 23964 KB Output is partially correct : V - N = 13
57 Partially correct 615 ms 32616 KB Output is partially correct : V - N = 13
58 Partially correct 97 ms 16020 KB Output is partially correct : V - N = 13
59 Partially correct 271 ms 21108 KB Output is partially correct : V - N = 13
60 Partially correct 625 ms 32856 KB Output is partially correct : V - N = 13
61 Partially correct 8 ms 13216 KB Output is partially correct : V - N = 13
62 Partially correct 7 ms 13300 KB Output is partially correct : V - N = 13
63 Partially correct 7 ms 13164 KB Output is partially correct : V - N = 13
64 Partially correct 7 ms 13188 KB Output is partially correct : V - N = 13
65 Partially correct 7 ms 13188 KB Output is partially correct : V - N = 13
66 Partially correct 7 ms 13324 KB Output is partially correct : V - N = 13
67 Partially correct 7 ms 13316 KB Output is partially correct : V - N = 13
68 Partially correct 9 ms 13316 KB Output is partially correct : V - N = 13
69 Partially correct 9 ms 13132 KB Output is partially correct : V - N = 13
70 Partially correct 9 ms 13176 KB Output is partially correct : V - N = 13
71 Partially correct 7 ms 13072 KB Output is partially correct : V - N = 13
72 Partially correct 8 ms 13192 KB Output is partially correct : V - N = 13
73 Partially correct 9 ms 13220 KB Output is partially correct : V - N = 13
74 Partially correct 7 ms 13308 KB Output is partially correct : V - N = 13
75 Partially correct 7 ms 13188 KB Output is partially correct : V - N = 13
76 Partially correct 9 ms 13112 KB Output is partially correct : V - N = 13
77 Partially correct 7 ms 13196 KB Output is partially correct : V - N = 13
78 Partially correct 8 ms 13116 KB Output is partially correct : V - N = 13
79 Partially correct 7 ms 13224 KB Output is partially correct : V - N = 13
80 Partially correct 8 ms 13316 KB Output is partially correct : V - N = 13
81 Partially correct 7 ms 13292 KB Output is partially correct : V - N = 13
82 Partially correct 7 ms 13184 KB Output is partially correct : V - N = 13
83 Partially correct 7 ms 13160 KB Output is partially correct : V - N = 13
84 Partially correct 7 ms 13316 KB Output is partially correct : V - N = 13
85 Partially correct 8 ms 13188 KB Output is partially correct : V - N = 13
86 Partially correct 7 ms 13088 KB Output is partially correct : V - N = 13
87 Partially correct 7 ms 13316 KB Output is partially correct : V - N = 13
88 Partially correct 7 ms 13192 KB Output is partially correct : V - N = 13
89 Partially correct 7 ms 13168 KB Output is partially correct : V - N = 13
90 Partially correct 7 ms 13188 KB Output is partially correct : V - N = 13
91 Partially correct 7 ms 13180 KB Output is partially correct : V - N = 13
92 Partially correct 8 ms 13116 KB Output is partially correct : V - N = 13
93 Partially correct 9 ms 13104 KB Output is partially correct : V - N = 13
94 Partially correct 7 ms 13088 KB Output is partially correct : V - N = 13
95 Partially correct 8 ms 13116 KB Output is partially correct : V - N = 13
96 Partially correct 7 ms 13268 KB Output is partially correct : V - N = 13
97 Partially correct 7 ms 13244 KB Output is partially correct : V - N = 13
98 Partially correct 8 ms 13224 KB Output is partially correct : V - N = 13
99 Partially correct 8 ms 13292 KB Output is partially correct : V - N = 13
100 Partially correct 8 ms 13308 KB Output is partially correct : V - N = 13
101 Partially correct 7 ms 13200 KB Output is partially correct : V - N = 13
102 Partially correct 7 ms 13168 KB Output is partially correct : V - N = 13
103 Partially correct 8 ms 13316 KB Output is partially correct : V - N = 13
104 Partially correct 7 ms 13164 KB Output is partially correct : V - N = 13
105 Partially correct 9 ms 13196 KB Output is partially correct : V - N = 13
106 Partially correct 7 ms 13188 KB Output is partially correct : V - N = 13
107 Partially correct 7 ms 13316 KB Output is partially correct : V - N = 13
108 Partially correct 7 ms 13188 KB Output is partially correct : V - N = 13
109 Partially correct 7 ms 13196 KB Output is partially correct : V - N = 13
110 Partially correct 7 ms 13168 KB Output is partially correct : V - N = 13
111 Partially correct 9 ms 13252 KB Output is partially correct : V - N = 13
112 Partially correct 7 ms 13196 KB Output is partially correct : V - N = 13
113 Partially correct 7 ms 13180 KB Output is partially correct : V - N = 13
114 Partially correct 7 ms 13192 KB Output is partially correct : V - N = 13
115 Partially correct 7 ms 13116 KB Output is partially correct : V - N = 13
116 Partially correct 7 ms 13088 KB Output is partially correct : V - N = 13
117 Partially correct 7 ms 13244 KB Output is partially correct : V - N = 13
118 Partially correct 7 ms 13172 KB Output is partially correct : V - N = 13
119 Partially correct 9 ms 13192 KB Output is partially correct : V - N = 13
120 Partially correct 7 ms 13188 KB Output is partially correct : V - N = 13
121 Partially correct 7 ms 13292 KB Output is partially correct : V - N = 13
122 Partially correct 7 ms 13188 KB Output is partially correct : V - N = 13
123 Partially correct 6 ms 13088 KB Output is partially correct : V - N = 13
124 Partially correct 7 ms 13128 KB Output is partially correct : V - N = 13
125 Partially correct 9 ms 13104 KB Output is partially correct : V - N = 13
126 Partially correct 7 ms 13188 KB Output is partially correct : V - N = 13
127 Partially correct 7 ms 13200 KB Output is partially correct : V - N = 13
128 Partially correct 7 ms 13212 KB Output is partially correct : V - N = 13
129 Partially correct 7 ms 13152 KB Output is partially correct : V - N = 13
130 Partially correct 8 ms 13128 KB Output is partially correct : V - N = 13
131 Partially correct 7 ms 13148 KB Output is partially correct : V - N = 13
132 Partially correct 7 ms 13164 KB Output is partially correct : V - N = 13
133 Partially correct 7 ms 13296 KB Output is partially correct : V - N = 13
134 Partially correct 7 ms 13128 KB Output is partially correct : V - N = 13
135 Partially correct 6 ms 13188 KB Output is partially correct : V - N = 13
136 Partially correct 6 ms 13192 KB Output is partially correct : V - N = 13
137 Partially correct 7 ms 13188 KB Output is partially correct : V - N = 13
138 Partially correct 7 ms 13184 KB Output is partially correct : V - N = 13
139 Partially correct 7 ms 13192 KB Output is partially correct : V - N = 13
140 Partially correct 6 ms 13184 KB Output is partially correct : V - N = 13
141 Partially correct 6 ms 13188 KB Output is partially correct : V - N = 13
142 Partially correct 7 ms 13188 KB Output is partially correct : V - N = 13
143 Partially correct 7 ms 13196 KB Output is partially correct : V - N = 13
144 Partially correct 7 ms 13172 KB Output is partially correct : V - N = 13
145 Partially correct 10 ms 13168 KB Output is partially correct : V - N = 13
146 Partially correct 7 ms 13188 KB Output is partially correct : V - N = 13
147 Partially correct 7 ms 13184 KB Output is partially correct : V - N = 13
148 Partially correct 6 ms 13180 KB Output is partially correct : V - N = 13
149 Partially correct 6 ms 13188 KB Output is partially correct : V - N = 13
150 Partially correct 6 ms 13188 KB Output is partially correct : V - N = 13
151 Partially correct 7 ms 13180 KB Output is partially correct : V - N = 13
152 Partially correct 8 ms 13264 KB Output is partially correct : V - N = 13
153 Partially correct 7 ms 13196 KB Output is partially correct : V - N = 13
154 Partially correct 7 ms 13104 KB Output is partially correct : V - N = 13
155 Partially correct 7 ms 13184 KB Output is partially correct : V - N = 13
156 Partially correct 7 ms 13164 KB Output is partially correct : V - N = 13
157 Partially correct 6 ms 13192 KB Output is partially correct : V - N = 13
158 Partially correct 7 ms 13176 KB Output is partially correct : V - N = 13
159 Partially correct 6 ms 13188 KB Output is partially correct : V - N = 13
160 Partially correct 7 ms 13092 KB Output is partially correct : V - N = 13
161 Partially correct 7 ms 13184 KB Output is partially correct : V - N = 13
162 Partially correct 6 ms 13188 KB Output is partially correct : V - N = 13
163 Partially correct 6 ms 13168 KB Output is partially correct : V - N = 13
164 Partially correct 7 ms 13092 KB Output is partially correct : V - N = 13
165 Partially correct 6 ms 13200 KB Output is partially correct : V - N = 13
166 Partially correct 7 ms 13164 KB Output is partially correct : V - N = 13
167 Partially correct 7 ms 13204 KB Output is partially correct : V - N = 13
168 Partially correct 7 ms 13188 KB Output is partially correct : V - N = 13
169 Partially correct 8 ms 13116 KB Output is partially correct : V - N = 13
170 Partially correct 7 ms 13164 KB Output is partially correct : V - N = 13
171 Runtime error 15 ms 22892 KB Execution killed with signal 11
172 Halted 0 ms 0 KB -