Submission #700124

# Submission time Handle Problem Language Result Execution time Memory
700124 2023-02-18T16:33:05 Z urosk Airline Route Map (JOI18_airline) C++14
91 / 100
781 ms 58336 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 2020
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 2020
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 19 ms 37832 KB Output is correct
2 Correct 18 ms 37760 KB Output is correct
3 Correct 24 ms 37792 KB Output is correct
4 Correct 18 ms 37816 KB Output is correct
5 Correct 17 ms 37892 KB Output is correct
6 Correct 16 ms 37832 KB Output is correct
7 Correct 25 ms 37820 KB Output is correct
8 Correct 18 ms 37820 KB Output is correct
9 Correct 17 ms 37940 KB Output is correct
10 Correct 18 ms 37820 KB Output is correct
11 Correct 17 ms 37784 KB Output is correct
12 Correct 18 ms 37732 KB Output is correct
13 Correct 17 ms 37820 KB Output is correct
14 Correct 20 ms 37720 KB Output is correct
15 Correct 18 ms 37916 KB Output is correct
16 Correct 24 ms 37728 KB Output is correct
17 Correct 20 ms 37808 KB Output is correct
18 Correct 19 ms 37796 KB Output is correct
19 Correct 18 ms 37876 KB Output is correct
20 Correct 17 ms 37796 KB Output is correct
21 Correct 18 ms 37792 KB Output is correct
22 Correct 24 ms 37808 KB Output is correct
23 Correct 24 ms 37844 KB Output is correct
24 Correct 22 ms 37744 KB Output is correct
25 Correct 20 ms 37748 KB Output is correct
26 Correct 19 ms 37788 KB Output is correct
27 Correct 19 ms 37780 KB Output is correct
28 Correct 22 ms 37796 KB Output is correct
29 Correct 19 ms 37792 KB Output is correct
30 Correct 19 ms 37908 KB Output is correct
31 Correct 19 ms 37832 KB Output is correct
32 Correct 23 ms 37784 KB Output is correct
33 Correct 19 ms 37812 KB Output is correct
34 Correct 18 ms 37760 KB Output is correct
35 Correct 19 ms 37788 KB Output is correct
36 Correct 18 ms 37824 KB Output is correct
37 Correct 19 ms 37712 KB Output is correct
38 Correct 19 ms 37764 KB Output is correct
39 Correct 18 ms 37720 KB Output is correct
40 Correct 17 ms 37932 KB Output is correct
41 Correct 18 ms 37776 KB Output is correct
42 Correct 17 ms 37880 KB Output is correct
43 Correct 18 ms 37780 KB Output is correct
44 Correct 18 ms 37856 KB Output is correct
45 Correct 18 ms 37816 KB Output is correct
46 Correct 20 ms 37816 KB Output is correct
47 Correct 18 ms 37896 KB Output is correct
48 Correct 17 ms 37896 KB Output is correct
49 Correct 17 ms 37912 KB Output is correct
50 Correct 19 ms 37832 KB Output is correct
51 Correct 18 ms 37836 KB Output is correct
52 Correct 18 ms 37804 KB Output is correct
53 Correct 20 ms 37796 KB Output is correct
54 Correct 18 ms 37872 KB Output is correct
55 Correct 16 ms 37884 KB Output is correct
56 Correct 17 ms 37820 KB Output is correct
57 Correct 18 ms 37828 KB Output is correct
58 Correct 20 ms 37776 KB Output is correct
# Verdict Execution time Memory Grader output
1 Correct 19 ms 37832 KB Output is correct
2 Correct 18 ms 37760 KB Output is correct
3 Correct 24 ms 37792 KB Output is correct
4 Correct 18 ms 37816 KB Output is correct
5 Correct 17 ms 37892 KB Output is correct
6 Correct 16 ms 37832 KB Output is correct
7 Correct 25 ms 37820 KB Output is correct
8 Correct 18 ms 37820 KB Output is correct
9 Correct 17 ms 37940 KB Output is correct
10 Correct 18 ms 37820 KB Output is correct
11 Correct 17 ms 37784 KB Output is correct
12 Correct 18 ms 37732 KB Output is correct
13 Correct 17 ms 37820 KB Output is correct
14 Correct 20 ms 37720 KB Output is correct
15 Correct 18 ms 37916 KB Output is correct
16 Correct 24 ms 37728 KB Output is correct
17 Correct 20 ms 37808 KB Output is correct
18 Correct 19 ms 37796 KB Output is correct
19 Correct 18 ms 37876 KB Output is correct
20 Correct 17 ms 37796 KB Output is correct
21 Correct 18 ms 37792 KB Output is correct
22 Correct 24 ms 37808 KB Output is correct
23 Correct 24 ms 37844 KB Output is correct
24 Correct 22 ms 37744 KB Output is correct
25 Correct 20 ms 37748 KB Output is correct
26 Correct 19 ms 37788 KB Output is correct
27 Correct 19 ms 37780 KB Output is correct
28 Correct 22 ms 37796 KB Output is correct
29 Correct 19 ms 37792 KB Output is correct
30 Correct 19 ms 37908 KB Output is correct
31 Correct 19 ms 37832 KB Output is correct
32 Correct 23 ms 37784 KB Output is correct
33 Correct 19 ms 37812 KB Output is correct
34 Correct 18 ms 37760 KB Output is correct
35 Correct 19 ms 37788 KB Output is correct
36 Correct 18 ms 37824 KB Output is correct
37 Correct 19 ms 37712 KB Output is correct
38 Correct 19 ms 37764 KB Output is correct
39 Correct 18 ms 37720 KB Output is correct
40 Correct 17 ms 37932 KB Output is correct
41 Correct 18 ms 37776 KB Output is correct
42 Correct 17 ms 37880 KB Output is correct
43 Correct 18 ms 37780 KB Output is correct
44 Correct 18 ms 37856 KB Output is correct
45 Correct 18 ms 37816 KB Output is correct
46 Correct 20 ms 37816 KB Output is correct
47 Correct 18 ms 37896 KB Output is correct
48 Correct 17 ms 37896 KB Output is correct
49 Correct 17 ms 37912 KB Output is correct
50 Correct 19 ms 37832 KB Output is correct
51 Correct 18 ms 37836 KB Output is correct
52 Correct 18 ms 37804 KB Output is correct
53 Correct 20 ms 37796 KB Output is correct
54 Correct 18 ms 37872 KB Output is correct
55 Correct 16 ms 37884 KB Output is correct
56 Correct 17 ms 37820 KB Output is correct
57 Correct 18 ms 37828 KB Output is correct
58 Correct 20 ms 37776 KB Output is correct
59 Correct 18 ms 37872 KB Output is correct
60 Correct 17 ms 37760 KB Output is correct
61 Correct 18 ms 37948 KB Output is correct
62 Correct 18 ms 37820 KB Output is correct
63 Correct 19 ms 37836 KB Output is correct
64 Correct 22 ms 37792 KB Output is correct
65 Correct 17 ms 37892 KB Output is correct
66 Correct 19 ms 37820 KB Output is correct
67 Correct 18 ms 37820 KB Output is correct
68 Correct 18 ms 37796 KB Output is correct
69 Correct 20 ms 37788 KB Output is correct
70 Correct 20 ms 37848 KB Output is correct
71 Correct 17 ms 37796 KB Output is correct
72 Correct 17 ms 37936 KB Output is correct
73 Correct 18 ms 37832 KB Output is correct
74 Correct 17 ms 37924 KB Output is correct
75 Correct 19 ms 37932 KB Output is correct
76 Correct 17 ms 37760 KB Output is correct
77 Correct 18 ms 37956 KB Output is correct
78 Correct 18 ms 37776 KB Output is correct
79 Correct 18 ms 37908 KB Output is correct
80 Correct 18 ms 37868 KB Output is correct
81 Correct 20 ms 37792 KB Output is correct
82 Correct 18 ms 37760 KB Output is correct
83 Correct 17 ms 37864 KB Output is correct
84 Correct 18 ms 37780 KB Output is correct
85 Correct 18 ms 37840 KB Output is correct
86 Correct 18 ms 37816 KB Output is correct
87 Correct 17 ms 37888 KB Output is correct
88 Correct 19 ms 37820 KB Output is correct
89 Correct 17 ms 37740 KB Output is correct
90 Correct 17 ms 37808 KB Output is correct
91 Correct 16 ms 37744 KB Output is correct
92 Correct 17 ms 37832 KB Output is correct
93 Correct 17 ms 37888 KB Output is correct
94 Correct 18 ms 37792 KB Output is correct
95 Correct 18 ms 37852 KB Output is correct
96 Correct 17 ms 37868 KB Output is correct
97 Correct 18 ms 38012 KB Output is correct
98 Correct 18 ms 37844 KB Output is correct
99 Correct 17 ms 37800 KB Output is correct
100 Correct 22 ms 37768 KB Output is correct
101 Correct 17 ms 37796 KB Output is correct
102 Correct 16 ms 37868 KB Output is correct
103 Correct 17 ms 37816 KB Output is correct
104 Correct 17 ms 37872 KB Output is correct
105 Correct 16 ms 37908 KB Output is correct
106 Correct 17 ms 37948 KB Output is correct
107 Correct 17 ms 37812 KB Output is correct
108 Correct 17 ms 37828 KB Output is correct
109 Correct 18 ms 37828 KB Output is correct
110 Correct 18 ms 37820 KB Output is correct
111 Correct 19 ms 37808 KB Output is correct
112 Correct 17 ms 37952 KB Output is correct
113 Correct 17 ms 37780 KB Output is correct
114 Correct 17 ms 37888 KB Output is correct
115 Correct 19 ms 37824 KB Output is correct
116 Correct 19 ms 37808 KB Output is correct
117 Correct 19 ms 37868 KB Output is correct
118 Correct 17 ms 37856 KB Output is correct
# Verdict Execution time Memory Grader output
1 Partially correct 735 ms 58204 KB Output is partially correct : V - N = 13
2 Partially correct 553 ms 54528 KB Output is partially correct : V - N = 13
3 Partially correct 184 ms 44992 KB Output is partially correct : V - N = 13
4 Partially correct 23 ms 38392 KB Output is partially correct : V - N = 13
5 Partially correct 111 ms 42108 KB Output is partially correct : V - N = 13
6 Partially correct 375 ms 52528 KB Output is partially correct : V - N = 13
7 Partially correct 543 ms 58000 KB Output is partially correct : V - N = 13
8 Partially correct 653 ms 56424 KB Output is partially correct : V - N = 13
9 Partially correct 290 ms 47020 KB Output is partially correct : V - N = 13
10 Partially correct 50 ms 39200 KB Output is partially correct : V - N = 13
11 Partially correct 64 ms 39888 KB Output is partially correct : V - N = 13
12 Partially correct 356 ms 49208 KB Output is partially correct : V - N = 13
13 Partially correct 650 ms 57000 KB Output is partially correct : V - N = 13
14 Partially correct 665 ms 57516 KB Output is partially correct : V - N = 13
15 Partially correct 364 ms 51568 KB Output is partially correct : V - N = 13
16 Partially correct 106 ms 40912 KB Output is partially correct : V - N = 13
17 Partially correct 30 ms 38656 KB Output is partially correct : V - N = 13
18 Partially correct 253 ms 46084 KB Output is partially correct : V - N = 13
19 Partially correct 595 ms 55600 KB Output is partially correct : V - N = 13
20 Partially correct 566 ms 58336 KB Output is partially correct : V - N = 13
21 Partially correct 174 ms 44388 KB Output is partially correct : V - N = 13
22 Partially correct 129 ms 42404 KB Output is partially correct : V - N = 13
23 Partially correct 78 ms 39824 KB Output is partially correct : V - N = 13
24 Partially correct 20 ms 38108 KB Output is partially correct : V - N = 13
25 Partially correct 55 ms 39048 KB Output is partially correct : V - N = 13
26 Partially correct 111 ms 41756 KB Output is partially correct : V - N = 13
27 Partially correct 189 ms 43408 KB Output is partially correct : V - N = 13
28 Partially correct 145 ms 42724 KB Output is partially correct : V - N = 13
29 Partially correct 72 ms 40328 KB Output is partially correct : V - N = 13
30 Partially correct 29 ms 38396 KB Output is partially correct : V - N = 13
31 Partially correct 23 ms 38308 KB Output is partially correct : V - N = 13
32 Partially correct 24 ms 38204 KB Output is partially correct : V - N = 13
33 Partially correct 23 ms 38184 KB Output is partially correct : V - N = 13
34 Partially correct 25 ms 38124 KB Output is partially correct : V - N = 13
35 Partially correct 22 ms 38228 KB Output is partially correct : V - N = 13
36 Partially correct 725 ms 58136 KB Output is partially correct : V - N = 13
37 Partially correct 706 ms 58300 KB Output is partially correct : V - N = 13
38 Partially correct 616 ms 58200 KB Output is partially correct : V - N = 13
39 Partially correct 706 ms 58324 KB Output is partially correct : V - N = 13
40 Partially correct 781 ms 58236 KB Output is partially correct : V - N = 13
41 Partially correct 137 ms 41820 KB Output is partially correct : V - N = 13
42 Partially correct 97 ms 41052 KB Output is partially correct : V - N = 13
43 Partially correct 104 ms 41652 KB Output is partially correct : V - N = 13
44 Partially correct 23 ms 38176 KB Output is partially correct : V - N = 13
45 Partially correct 66 ms 40076 KB Output is partially correct : V - N = 13
46 Partially correct 199 ms 45328 KB Output is partially correct : V - N = 13
47 Partially correct 106 ms 41732 KB Output is partially correct : V - N = 13
48 Partially correct 280 ms 47160 KB Output is partially correct : V - N = 13
49 Partially correct 66 ms 39844 KB Output is partially correct : V - N = 13
50 Partially correct 37 ms 38692 KB Output is partially correct : V - N = 13
51 Partially correct 519 ms 54700 KB Output is partially correct : V - N = 13
52 Partially correct 23 ms 38392 KB Output is partially correct : V - N = 13
53 Partially correct 491 ms 52552 KB Output is partially correct : V - N = 13
54 Partially correct 492 ms 55912 KB Output is partially correct : V - N = 13
55 Partially correct 56 ms 39068 KB Output is partially correct : V - N = 13
56 Partially correct 313 ms 48928 KB Output is partially correct : V - N = 13
57 Partially correct 717 ms 57100 KB Output is partially correct : V - N = 13
58 Partially correct 116 ms 40816 KB Output is partially correct : V - N = 13
59 Partially correct 302 ms 46116 KB Output is partially correct : V - N = 13
60 Partially correct 569 ms 57632 KB Output is partially correct : V - N = 13
61 Partially correct 20 ms 37892 KB Output is partially correct : V - N = 13
62 Partially correct 17 ms 37916 KB Output is partially correct : V - N = 13
63 Partially correct 17 ms 37748 KB Output is partially correct : V - N = 13
64 Partially correct 19 ms 37904 KB Output is partially correct : V - N = 13
65 Partially correct 17 ms 37904 KB Output is partially correct : V - N = 13
66 Partially correct 17 ms 37868 KB Output is partially correct : V - N = 13
67 Partially correct 19 ms 37796 KB Output is partially correct : V - N = 13
68 Partially correct 19 ms 37776 KB Output is partially correct : V - N = 13
69 Partially correct 18 ms 38008 KB Output is partially correct : V - N = 13
70 Partially correct 19 ms 37832 KB Output is partially correct : V - N = 13
71 Partially correct 17 ms 37872 KB Output is partially correct : V - N = 13
72 Partially correct 18 ms 37832 KB Output is partially correct : V - N = 13
73 Partially correct 18 ms 37812 KB Output is partially correct : V - N = 13
74 Partially correct 18 ms 37972 KB Output is partially correct : V - N = 13
75 Partially correct 18 ms 37840 KB Output is partially correct : V - N = 13
76 Partially correct 18 ms 37744 KB Output is partially correct : V - N = 13
77 Partially correct 23 ms 37808 KB Output is partially correct : V - N = 13
78 Partially correct 22 ms 37892 KB Output is partially correct : V - N = 13
79 Partially correct 18 ms 37892 KB Output is partially correct : V - N = 13
80 Partially correct 19 ms 37968 KB Output is partially correct : V - N = 13
81 Partially correct 18 ms 37896 KB Output is partially correct : V - N = 13
82 Partially correct 19 ms 37888 KB Output is partially correct : V - N = 13
83 Partially correct 18 ms 37868 KB Output is partially correct : V - N = 13
84 Partially correct 18 ms 37824 KB Output is partially correct : V - N = 13
85 Partially correct 19 ms 37756 KB Output is partially correct : V - N = 13
86 Partially correct 18 ms 37736 KB Output is partially correct : V - N = 13
87 Partially correct 18 ms 37804 KB Output is partially correct : V - N = 13
88 Partially correct 18 ms 37848 KB Output is partially correct : V - N = 13
89 Partially correct 18 ms 37932 KB Output is partially correct : V - N = 13
90 Partially correct 18 ms 37820 KB Output is partially correct : V - N = 13
91 Partially correct 18 ms 37892 KB Output is partially correct : V - N = 13
92 Partially correct 19 ms 37892 KB Output is partially correct : V - N = 13
93 Partially correct 18 ms 37868 KB Output is partially correct : V - N = 13
94 Partially correct 20 ms 37832 KB Output is partially correct : V - N = 13
95 Partially correct 18 ms 37776 KB Output is partially correct : V - N = 13
96 Partially correct 19 ms 37796 KB Output is partially correct : V - N = 13
97 Partially correct 18 ms 37816 KB Output is partially correct : V - N = 13
98 Partially correct 20 ms 38024 KB Output is partially correct : V - N = 13
99 Partially correct 20 ms 37936 KB Output is partially correct : V - N = 13
100 Partially correct 23 ms 37928 KB Output is partially correct : V - N = 13
101 Partially correct 19 ms 37812 KB Output is partially correct : V - N = 13
102 Partially correct 19 ms 37984 KB Output is partially correct : V - N = 13
103 Partially correct 19 ms 37956 KB Output is partially correct : V - N = 13
104 Partially correct 19 ms 37796 KB Output is partially correct : V - N = 13
105 Partially correct 18 ms 37836 KB Output is partially correct : V - N = 13
106 Partially correct 19 ms 37820 KB Output is partially correct : V - N = 13
107 Partially correct 20 ms 37876 KB Output is partially correct : V - N = 13
108 Partially correct 19 ms 37744 KB Output is partially correct : V - N = 13
109 Partially correct 34 ms 37944 KB Output is partially correct : V - N = 13
110 Partially correct 19 ms 37876 KB Output is partially correct : V - N = 13
111 Partially correct 20 ms 37812 KB Output is partially correct : V - N = 13
112 Partially correct 17 ms 37884 KB Output is partially correct : V - N = 13
113 Partially correct 17 ms 37796 KB Output is partially correct : V - N = 13
114 Partially correct 18 ms 37796 KB Output is partially correct : V - N = 13
115 Partially correct 18 ms 37892 KB Output is partially correct : V - N = 13
116 Partially correct 18 ms 37808 KB Output is partially correct : V - N = 13
117 Partially correct 19 ms 37852 KB Output is partially correct : V - N = 13
118 Partially correct 18 ms 37788 KB Output is partially correct : V - N = 13
119 Partially correct 17 ms 37888 KB Output is partially correct : V - N = 13
120 Partially correct 19 ms 37868 KB Output is partially correct : V - N = 13
121 Partially correct 18 ms 37796 KB Output is partially correct : V - N = 13
122 Partially correct 18 ms 37808 KB Output is partially correct : V - N = 13
123 Partially correct 18 ms 37892 KB Output is partially correct : V - N = 13
124 Partially correct 17 ms 37820 KB Output is partially correct : V - N = 13
125 Partially correct 18 ms 37832 KB Output is partially correct : V - N = 13
126 Partially correct 19 ms 37796 KB Output is partially correct : V - N = 13
127 Partially correct 17 ms 37764 KB Output is partially correct : V - N = 13
128 Partially correct 17 ms 37828 KB Output is partially correct : V - N = 13
129 Partially correct 16 ms 37868 KB Output is partially correct : V - N = 13
130 Partially correct 18 ms 37828 KB Output is partially correct : V - N = 13
131 Partially correct 19 ms 37820 KB Output is partially correct : V - N = 13
132 Partially correct 17 ms 37772 KB Output is partially correct : V - N = 13
133 Partially correct 17 ms 37852 KB Output is partially correct : V - N = 13
134 Partially correct 18 ms 37808 KB Output is partially correct : V - N = 13
135 Partially correct 19 ms 37880 KB Output is partially correct : V - N = 13
136 Partially correct 18 ms 37852 KB Output is partially correct : V - N = 13
137 Partially correct 17 ms 37904 KB Output is partially correct : V - N = 13
138 Partially correct 18 ms 37820 KB Output is partially correct : V - N = 13
139 Partially correct 20 ms 37768 KB Output is partially correct : V - N = 13
140 Partially correct 22 ms 37864 KB Output is partially correct : V - N = 13
141 Partially correct 19 ms 37820 KB Output is partially correct : V - N = 13
142 Partially correct 19 ms 37912 KB Output is partially correct : V - N = 13
143 Partially correct 19 ms 37808 KB Output is partially correct : V - N = 13
144 Partially correct 18 ms 37900 KB Output is partially correct : V - N = 13
145 Partially correct 18 ms 37820 KB Output is partially correct : V - N = 13
146 Partially correct 18 ms 37844 KB Output is partially correct : V - N = 13
147 Partially correct 19 ms 37804 KB Output is partially correct : V - N = 13
148 Partially correct 18 ms 37768 KB Output is partially correct : V - N = 13
149 Partially correct 20 ms 37868 KB Output is partially correct : V - N = 13
150 Partially correct 18 ms 37832 KB Output is partially correct : V - N = 13
151 Partially correct 23 ms 37776 KB Output is partially correct : V - N = 13
152 Partially correct 20 ms 37824 KB Output is partially correct : V - N = 13
153 Partially correct 20 ms 39092 KB Output is partially correct : V - N = 13
154 Partially correct 19 ms 37888 KB Output is partially correct : V - N = 13
155 Partially correct 20 ms 37808 KB Output is partially correct : V - N = 13
156 Partially correct 18 ms 37796 KB Output is partially correct : V - N = 13
157 Partially correct 18 ms 37840 KB Output is partially correct : V - N = 13
158 Partially correct 20 ms 39200 KB Output is partially correct : V - N = 13
159 Partially correct 24 ms 37880 KB Output is partially correct : V - N = 13
160 Partially correct 17 ms 37892 KB Output is partially correct : V - N = 13
161 Partially correct 19 ms 37844 KB Output is partially correct : V - N = 13
162 Partially correct 18 ms 37792 KB Output is partially correct : V - N = 13
163 Partially correct 18 ms 37892 KB Output is partially correct : V - N = 13
164 Partially correct 18 ms 37880 KB Output is partially correct : V - N = 13
165 Partially correct 19 ms 37752 KB Output is partially correct : V - N = 13
166 Partially correct 18 ms 37812 KB Output is partially correct : V - N = 13
167 Partially correct 19 ms 37876 KB Output is partially correct : V - N = 13
168 Partially correct 18 ms 37904 KB Output is partially correct : V - N = 13
169 Partially correct 20 ms 37864 KB Output is partially correct : V - N = 13
170 Partially correct 18 ms 37796 KB Output is partially correct : V - N = 13
171 Partially correct 23 ms 37768 KB Output is partially correct : V - N = 13
172 Partially correct 18 ms 37796 KB Output is partially correct : V - N = 13
173 Partially correct 18 ms 37820 KB Output is partially correct : V - N = 13
174 Partially correct 18 ms 37952 KB Output is partially correct : V - N = 13
175 Partially correct 20 ms 37816 KB Output is partially correct : V - N = 13
176 Partially correct 17 ms 37872 KB Output is partially correct : V - N = 13
177 Partially correct 18 ms 37832 KB Output is partially correct : V - N = 13
178 Partially correct 18 ms 37836 KB Output is partially correct : V - N = 13