Submission #336523

# Submission time Handle Problem Language Result Execution time Memory
336523 2020-12-15T14:00:20 Z mehrdad_sohrabi Airline Route Map (JOI18_airline) C++14
100 / 100
921 ms 37868 KB
#include <bits/stdc++.h>
#include "Alicelib.h"
typedef long long int ll;
typedef long double ld;
#define pb push_back
#define pii pair < ll , ll >
#define F first
#define S second
#define endl '\n'
//#define int long long
#define sync ios_base::sync_with_stdio(false);cin.tie(0);cout.tie(0)
#pragma GCC optimize("Ofast,no-stack-protector,unroll-loops,fast-math")
#define kill(x) return cout<<x<<'\n', 0;
using namespace std;
void Alice( int n,int m,int A[],int B[]){
    vector <int> ras;
    for (int i=n;i<n+12;i++){
        ras.pb(i);
    }
    vector <pii> mm;
    for (int i=0;i<m;i++){
        mm.pb({A[i],B[i]});
    }
    for (int i=n+1;i<n+11;i++){
        mm.pb({n,i});
        mm.pb({i,n+11});
    }
    for (int i=n+2;i<n+11;i++){
        mm.pb({i,i-1});
    }
    for (int i=0;i<n;i++){
        mm.pb({i,n+11});
    }
    for (int i=0;i<n;i++){
        for (int j=0;j<10;j++){
            if ((i & (1<<j))){
                mm.pb({i,n+1+j});
            }
        }
    }
    
    InitG(n+12,mm.size());
    for (int i=0;i<mm.size();i++){
        MakeG(i, mm[i].F, mm[i].S);
    }
    /*
    cout << n+12 << " " << mm.size() << endl;
    for (int i=0;i<mm.size();i++){
        cout << mm[i].F << " ";
    }
    cout << endl;
    for (int i=0;i<mm.size();i++){
        cout << mm[i].S << " ";
    }
    */
}
/*
int a[100],b[100];
int32_t main(){
    int n,m;
    cin >> n >> m;
    for (int i=0;i<m;i++){
        cin >> a[i] >> b[i];
    }
    Alice(n,m,a,b);
}
*/
#include <bits/stdc++.h>
#include "Boblib.h"
typedef long long int ll;
typedef long double ld;
#define pb push_back
#define pii pair < ll , ll >
#define F first
#define S second
//#define endl '\n'
//#define int long long
#define sync ios_base::sync_with_stdio(false);cin.tie(0);cout.tie(0)
#pragma GCC optimize("Ofast,no-stack-protector,unroll-loops,fast-math")
#define kill(x) return cout<<x<<'\n', 0;
using namespace std;
void Bob(int V,int U,int C[],int D[]){
    ll id=0,mx=0;
    vector <int> g[V];
    for (int i=0;i<U;i++){
        g[C[i]].pb(D[i]);
        g[D[i]].pb(C[i]);
    }
    for (int i=0;i<V;i++){
        if (g[i].size()>mx){
            mx=g[i].size();
            id=i;
        }
    }
    for (int i=0;i<V;i++){
     //   if (i!=id && g[i].size()==mx) cout << 1/0;
    }
    ll w=0;
    ll vis[V];
    memset(vis,0,sizeof vis);
    ll bad[V];
    memset(bad,0,sizeof bad);
    for (auto u : g[id]){
        vis[u]=1;
    }
    for (int i=0;i<V;i++){
        if (vis[i]==0 && i!=id) w=i;
    }
    bad[w]=2;
    bad[id]=2;
   // cout << id << " rvr " << w << endl;
    vector <pii> ras;
    for (auto u : g[w]){
        ras.pb({g[u].size(),u});
        bad[u]=1;
    }
    sort(ras.begin(),ras.end());
    vector <int> bit;
   // bit.pb(ras[0].S);
    ll qe=0;
    ll y=0;
    for (int i=0;i<V;i++){
        if (bad[i]==1){
                y++;
            ll cnt=0;
            for (auto u : g[i]){
                if (bad[u]==1) cnt++;
            }
            if (cnt==1) qe++;
            if (cnt>2) cout << 1/0;
        }
    }
   // if (y!=10) cout << 1/0;
   // if (qe!=2) cout << 1/0;
    queue <int> q;
    q.push(ras[0].S);
   // if (ras.size()>1 && g[ras[0].S].size()==g[ras[1].S].size()) cout << 1/0;

    while(q.size()){
        ll v=q.front();
        //if (q.size()>2) cout << 1/0;
        bad[v]=2;
        q.pop();
        bit.pb(v);
        for (auto u : g[v]){
            if (bad[u]==1){
                q.push(u);
            }
        }
    }
    reverse(bit.begin(),bit.end());
    ll val[V];
    memset(val,0,sizeof val);
    for (int i=0;i<bit.size();i++){
        ll v=bit[i];
        for (auto u : g[v]){
            if (bad[u]) continue;
            val[u]+=(1<<i);
        }
    }
    vector <pii> m;
    for (int i=0;i<V;i++){
        if (bad[i]) continue;
        for (auto u : g[i]){
            if (bad[u] || val[u]>val[i]) continue;
            m.pb({val[u],val[i]});
        }
    }
   // for (auto u : m){
     //   cout << u.F << " " << u.S << endl;
   // }
    //for (int i=0;i<V;i++){
      //  cout << val[i] << " fejf " << bad[i] << endl;
    //}
    //for (auto u : bit){
      //  cout << u << endl;
    //}

    InitMap(V-12,m.size());
    for (auto u : m){
        MakeMap(u.F,u.S);
    }
}
/*
int a[100];
int b[100];
int32_t main(){
    int n,m;
    cin >> n >> m;
    for (int i=0;i<m;i++){
        cin >> a[i];
    }
    for (int i=0;i<m;i++){
        cin >> b[i];
    }
    Bob(n,m,a,b);
}
*/

Compilation message

Alice.cpp: In function 'void Alice(int, int, int*, int*)':
Alice.cpp:43:19: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::pair<long long int, long long int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
   43 |     for (int i=0;i<mm.size();i++){
      |                  ~^~~~~~~~~~

Bob.cpp: In function 'void Bob(int, int, int*, int*)':
Bob.cpp:23:24: warning: comparison of integer expressions of different signedness: 'std::vector<int>::size_type' {aka 'long unsigned int'} and 'll' {aka 'long long int'} [-Wsign-compare]
   23 |         if (g[i].size()>mx){
      |             ~~~~~~~~~~~^~~
Bob.cpp:63:33: warning: division by zero [-Wdiv-by-zero]
   63 |             if (cnt>2) cout << 1/0;
      |                                ~^~
Bob.cpp:87:19: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
   87 |     for (int i=0;i<bit.size();i++){
      |                  ~^~~~~~~~~~~
# Verdict Execution time Memory Grader output
1 Correct 5 ms 4920 KB Output is correct
2 Correct 5 ms 4832 KB Output is correct
3 Correct 5 ms 4932 KB Output is correct
4 Correct 5 ms 4932 KB Output is correct
5 Correct 5 ms 4832 KB Output is correct
6 Correct 5 ms 4832 KB Output is correct
7 Correct 5 ms 4928 KB Output is correct
8 Correct 5 ms 4832 KB Output is correct
9 Correct 6 ms 4832 KB Output is correct
10 Correct 5 ms 4932 KB Output is correct
11 Correct 6 ms 4832 KB Output is correct
12 Correct 5 ms 4832 KB Output is correct
13 Correct 5 ms 4928 KB Output is correct
14 Correct 7 ms 4920 KB Output is correct
15 Correct 5 ms 4928 KB Output is correct
16 Correct 6 ms 4960 KB Output is correct
17 Correct 5 ms 4832 KB Output is correct
18 Correct 5 ms 4920 KB Output is correct
19 Correct 5 ms 4832 KB Output is correct
20 Correct 5 ms 4832 KB Output is correct
21 Correct 6 ms 4832 KB Output is correct
22 Correct 5 ms 4920 KB Output is correct
23 Correct 5 ms 4832 KB Output is correct
24 Correct 5 ms 4832 KB Output is correct
25 Correct 6 ms 4832 KB Output is correct
26 Correct 5 ms 4832 KB Output is correct
27 Correct 5 ms 4868 KB Output is correct
28 Correct 5 ms 4992 KB Output is correct
29 Correct 5 ms 4932 KB Output is correct
30 Correct 5 ms 4940 KB Output is correct
31 Correct 5 ms 4832 KB Output is correct
32 Correct 5 ms 4932 KB Output is correct
33 Correct 5 ms 4832 KB Output is correct
34 Correct 5 ms 4932 KB Output is correct
35 Correct 5 ms 4932 KB Output is correct
36 Correct 5 ms 4832 KB Output is correct
37 Correct 5 ms 4832 KB Output is correct
38 Correct 5 ms 4832 KB Output is correct
39 Correct 5 ms 4832 KB Output is correct
40 Correct 7 ms 4832 KB Output is correct
41 Correct 5 ms 4924 KB Output is correct
42 Correct 5 ms 4832 KB Output is correct
43 Correct 6 ms 4832 KB Output is correct
44 Correct 5 ms 4832 KB Output is correct
45 Correct 5 ms 4940 KB Output is correct
46 Correct 5 ms 4832 KB Output is correct
47 Correct 5 ms 4832 KB Output is correct
48 Correct 5 ms 4832 KB Output is correct
49 Correct 5 ms 4832 KB Output is correct
50 Correct 5 ms 4932 KB Output is correct
51 Correct 5 ms 4832 KB Output is correct
52 Correct 5 ms 4924 KB Output is correct
53 Correct 6 ms 4944 KB Output is correct
54 Correct 5 ms 4832 KB Output is correct
55 Correct 5 ms 4832 KB Output is correct
56 Correct 5 ms 4832 KB Output is correct
57 Correct 6 ms 4932 KB Output is correct
58 Correct 5 ms 4832 KB Output is correct
# Verdict Execution time Memory Grader output
1 Correct 5 ms 4920 KB Output is correct
2 Correct 5 ms 4832 KB Output is correct
3 Correct 5 ms 4932 KB Output is correct
4 Correct 5 ms 4932 KB Output is correct
5 Correct 5 ms 4832 KB Output is correct
6 Correct 5 ms 4832 KB Output is correct
7 Correct 5 ms 4928 KB Output is correct
8 Correct 5 ms 4832 KB Output is correct
9 Correct 6 ms 4832 KB Output is correct
10 Correct 5 ms 4932 KB Output is correct
11 Correct 6 ms 4832 KB Output is correct
12 Correct 5 ms 4832 KB Output is correct
13 Correct 5 ms 4928 KB Output is correct
14 Correct 7 ms 4920 KB Output is correct
15 Correct 5 ms 4928 KB Output is correct
16 Correct 6 ms 4960 KB Output is correct
17 Correct 5 ms 4832 KB Output is correct
18 Correct 5 ms 4920 KB Output is correct
19 Correct 5 ms 4832 KB Output is correct
20 Correct 5 ms 4832 KB Output is correct
21 Correct 6 ms 4832 KB Output is correct
22 Correct 5 ms 4920 KB Output is correct
23 Correct 5 ms 4832 KB Output is correct
24 Correct 5 ms 4832 KB Output is correct
25 Correct 6 ms 4832 KB Output is correct
26 Correct 5 ms 4832 KB Output is correct
27 Correct 5 ms 4868 KB Output is correct
28 Correct 5 ms 4992 KB Output is correct
29 Correct 5 ms 4932 KB Output is correct
30 Correct 5 ms 4940 KB Output is correct
31 Correct 5 ms 4832 KB Output is correct
32 Correct 5 ms 4932 KB Output is correct
33 Correct 5 ms 4832 KB Output is correct
34 Correct 5 ms 4932 KB Output is correct
35 Correct 5 ms 4932 KB Output is correct
36 Correct 5 ms 4832 KB Output is correct
37 Correct 5 ms 4832 KB Output is correct
38 Correct 5 ms 4832 KB Output is correct
39 Correct 5 ms 4832 KB Output is correct
40 Correct 7 ms 4832 KB Output is correct
41 Correct 5 ms 4924 KB Output is correct
42 Correct 5 ms 4832 KB Output is correct
43 Correct 6 ms 4832 KB Output is correct
44 Correct 5 ms 4832 KB Output is correct
45 Correct 5 ms 4940 KB Output is correct
46 Correct 5 ms 4832 KB Output is correct
47 Correct 5 ms 4832 KB Output is correct
48 Correct 5 ms 4832 KB Output is correct
49 Correct 5 ms 4832 KB Output is correct
50 Correct 5 ms 4932 KB Output is correct
51 Correct 5 ms 4832 KB Output is correct
52 Correct 5 ms 4924 KB Output is correct
53 Correct 6 ms 4944 KB Output is correct
54 Correct 5 ms 4832 KB Output is correct
55 Correct 5 ms 4832 KB Output is correct
56 Correct 5 ms 4832 KB Output is correct
57 Correct 6 ms 4932 KB Output is correct
58 Correct 5 ms 4832 KB Output is correct
59 Correct 7 ms 5020 KB Output is correct
60 Correct 6 ms 4832 KB Output is correct
61 Correct 5 ms 4920 KB Output is correct
62 Correct 5 ms 4932 KB Output is correct
63 Correct 5 ms 4896 KB Output is correct
64 Correct 6 ms 4832 KB Output is correct
65 Correct 6 ms 4832 KB Output is correct
66 Correct 7 ms 4960 KB Output is correct
67 Correct 7 ms 4832 KB Output is correct
68 Correct 6 ms 4876 KB Output is correct
69 Correct 5 ms 4832 KB Output is correct
70 Correct 7 ms 4904 KB Output is correct
71 Correct 6 ms 4960 KB Output is correct
72 Correct 7 ms 4832 KB Output is correct
73 Correct 6 ms 4832 KB Output is correct
74 Correct 6 ms 5040 KB Output is correct
75 Correct 5 ms 4832 KB Output is correct
76 Correct 5 ms 4832 KB Output is correct
77 Correct 5 ms 5020 KB Output is correct
78 Correct 7 ms 4832 KB Output is correct
79 Correct 6 ms 4832 KB Output is correct
80 Correct 6 ms 4832 KB Output is correct
81 Correct 5 ms 4832 KB Output is correct
82 Correct 5 ms 4832 KB Output is correct
83 Correct 5 ms 4832 KB Output is correct
84 Correct 5 ms 4896 KB Output is correct
85 Correct 7 ms 4892 KB Output is correct
86 Correct 6 ms 4960 KB Output is correct
87 Correct 5 ms 4832 KB Output is correct
88 Correct 5 ms 4832 KB Output is correct
89 Correct 5 ms 4940 KB Output is correct
90 Correct 5 ms 4940 KB Output is correct
91 Correct 5 ms 4832 KB Output is correct
92 Correct 5 ms 4832 KB Output is correct
93 Correct 5 ms 4932 KB Output is correct
94 Correct 7 ms 5020 KB Output is correct
95 Correct 7 ms 4832 KB Output is correct
96 Correct 7 ms 4876 KB Output is correct
97 Correct 7 ms 5020 KB Output is correct
98 Correct 7 ms 5020 KB Output is correct
99 Correct 6 ms 4832 KB Output is correct
100 Correct 5 ms 4832 KB Output is correct
101 Correct 6 ms 4832 KB Output is correct
102 Correct 5 ms 4832 KB Output is correct
103 Correct 6 ms 4832 KB Output is correct
104 Correct 5 ms 4832 KB Output is correct
105 Correct 7 ms 4832 KB Output is correct
106 Correct 6 ms 4832 KB Output is correct
107 Correct 5 ms 4832 KB Output is correct
108 Correct 5 ms 4832 KB Output is correct
109 Correct 7 ms 4900 KB Output is correct
110 Correct 5 ms 4832 KB Output is correct
111 Correct 5 ms 4832 KB Output is correct
112 Correct 5 ms 4916 KB Output is correct
113 Correct 6 ms 4832 KB Output is correct
114 Correct 6 ms 4912 KB Output is correct
115 Correct 8 ms 4832 KB Output is correct
116 Correct 5 ms 4832 KB Output is correct
117 Correct 6 ms 4916 KB Output is correct
118 Correct 7 ms 4832 KB Output is correct
# Verdict Execution time Memory Grader output
1 Correct 921 ms 37648 KB Output is correct : V - N = 12
2 Correct 633 ms 33400 KB Output is correct : V - N = 12
3 Correct 254 ms 18272 KB Output is correct : V - N = 12
4 Correct 13 ms 5676 KB Output is correct : V - N = 12
5 Correct 141 ms 12024 KB Output is correct : V - N = 12
6 Correct 517 ms 31296 KB Output is correct : V - N = 12
7 Correct 760 ms 37184 KB Output is correct : V - N = 12
8 Correct 664 ms 35124 KB Output is correct : V - N = 12
9 Correct 355 ms 19904 KB Output is correct : V - N = 12
10 Correct 51 ms 7144 KB Output is correct : V - N = 12
11 Correct 87 ms 8528 KB Output is correct : V - N = 12
12 Correct 508 ms 22604 KB Output is correct : V - N = 12
13 Correct 744 ms 36148 KB Output is correct : V - N = 12
14 Correct 663 ms 36820 KB Output is correct : V - N = 12
15 Correct 449 ms 30908 KB Output is correct : V - N = 12
16 Correct 93 ms 10236 KB Output is correct : V - N = 12
17 Correct 19 ms 6236 KB Output is correct : V - N = 12
18 Correct 357 ms 18808 KB Output is correct : V - N = 12
19 Correct 563 ms 34228 KB Output is correct : V - N = 12
20 Correct 737 ms 37868 KB Output is correct : V - N = 12
21 Correct 195 ms 15696 KB Output is correct : V - N = 12
22 Correct 159 ms 12360 KB Output is correct : V - N = 12
23 Correct 64 ms 8276 KB Output is correct : V - N = 12
24 Correct 8 ms 5272 KB Output is correct : V - N = 12
25 Correct 41 ms 6872 KB Output is correct : V - N = 12
26 Correct 129 ms 11728 KB Output is correct : V - N = 12
27 Correct 187 ms 13660 KB Output is correct : V - N = 12
28 Correct 160 ms 13032 KB Output is correct : V - N = 12
29 Correct 83 ms 9160 KB Output is correct : V - N = 12
30 Correct 13 ms 5728 KB Output is correct : V - N = 12
31 Correct 12 ms 5480 KB Output is correct : V - N = 12
32 Correct 12 ms 5344 KB Output is correct : V - N = 12
33 Correct 12 ms 5216 KB Output is correct : V - N = 12
34 Correct 12 ms 5216 KB Output is correct : V - N = 12
35 Correct 12 ms 5216 KB Output is correct : V - N = 12
36 Correct 740 ms 37556 KB Output is correct : V - N = 12
37 Correct 743 ms 37808 KB Output is correct : V - N = 12
38 Correct 737 ms 37688 KB Output is correct : V - N = 12
39 Correct 821 ms 37776 KB Output is correct : V - N = 12
40 Correct 767 ms 37784 KB Output is correct : V - N = 12
41 Correct 133 ms 11736 KB Output is correct : V - N = 12
42 Correct 135 ms 10196 KB Output is correct : V - N = 12
43 Correct 112 ms 11472 KB Output is correct : V - N = 12
44 Correct 13 ms 5484 KB Output is correct : V - N = 12
45 Correct 99 ms 8684 KB Output is correct : V - N = 12
46 Correct 236 ms 18240 KB Output is correct : V - N = 12
47 Correct 171 ms 11808 KB Output is correct : V - N = 12
48 Correct 336 ms 20296 KB Output is correct : V - N = 12
49 Correct 66 ms 8776 KB Output is correct : V - N = 12
50 Correct 25 ms 6236 KB Output is correct : V - N = 12
51 Correct 568 ms 33348 KB Output is correct : V - N = 12
52 Correct 14 ms 5692 KB Output is correct : V - N = 12
53 Correct 439 ms 30912 KB Output is correct : V - N = 12
54 Correct 615 ms 34892 KB Output is correct : V - N = 12
55 Correct 41 ms 6876 KB Output is correct : V - N = 12
56 Correct 342 ms 22080 KB Output is correct : V - N = 12
57 Correct 693 ms 36428 KB Output is correct : V - N = 12
58 Correct 93 ms 9632 KB Output is correct : V - N = 12
59 Correct 271 ms 18492 KB Output is correct : V - N = 12
60 Correct 725 ms 36912 KB Output is correct : V - N = 12
61 Correct 7 ms 4960 KB Output is correct : V - N = 12
62 Correct 7 ms 4960 KB Output is correct : V - N = 12
63 Correct 6 ms 4924 KB Output is correct : V - N = 12
64 Correct 5 ms 4832 KB Output is correct : V - N = 12
65 Correct 5 ms 4920 KB Output is correct : V - N = 12
66 Correct 6 ms 4832 KB Output is correct : V - N = 12
67 Correct 8 ms 4960 KB Output is correct : V - N = 12
68 Correct 5 ms 4832 KB Output is correct : V - N = 12
69 Correct 6 ms 4832 KB Output is correct : V - N = 12
70 Correct 6 ms 4832 KB Output is correct : V - N = 12
71 Correct 5 ms 4832 KB Output is correct : V - N = 12
72 Correct 6 ms 4904 KB Output is correct : V - N = 12
73 Correct 7 ms 5024 KB Output is correct : V - N = 12
74 Correct 7 ms 4960 KB Output is correct : V - N = 12
75 Correct 5 ms 4904 KB Output is correct : V - N = 12
76 Correct 5 ms 4912 KB Output is correct : V - N = 12
77 Correct 5 ms 4832 KB Output is correct : V - N = 12
78 Correct 6 ms 4832 KB Output is correct : V - N = 12
79 Correct 6 ms 5148 KB Output is correct : V - N = 12
80 Correct 7 ms 4832 KB Output is correct : V - N = 12
81 Correct 6 ms 4904 KB Output is correct : V - N = 12
82 Correct 6 ms 4908 KB Output is correct : V - N = 12
83 Correct 5 ms 4832 KB Output is correct : V - N = 12
84 Correct 6 ms 4932 KB Output is correct : V - N = 12
85 Correct 5 ms 4832 KB Output is correct : V - N = 12
86 Correct 6 ms 4832 KB Output is correct : V - N = 12
87 Correct 6 ms 4832 KB Output is correct : V - N = 12
88 Correct 6 ms 4904 KB Output is correct : V - N = 12
89 Correct 6 ms 4832 KB Output is correct : V - N = 12
90 Correct 6 ms 4928 KB Output is correct : V - N = 12
91 Correct 5 ms 4832 KB Output is correct : V - N = 12
92 Correct 5 ms 4832 KB Output is correct : V - N = 12
93 Correct 5 ms 5000 KB Output is correct : V - N = 12
94 Correct 5 ms 4832 KB Output is correct : V - N = 12
95 Correct 6 ms 4892 KB Output is correct : V - N = 12
96 Correct 7 ms 4960 KB Output is correct : V - N = 12
97 Correct 7 ms 4960 KB Output is correct : V - N = 12
98 Correct 7 ms 4960 KB Output is correct : V - N = 12
99 Correct 6 ms 4960 KB Output is correct : V - N = 12
100 Correct 7 ms 4832 KB Output is correct : V - N = 12
101 Correct 6 ms 4832 KB Output is correct : V - N = 12
102 Correct 5 ms 4832 KB Output is correct : V - N = 12
103 Correct 6 ms 4920 KB Output is correct : V - N = 12
104 Correct 5 ms 5088 KB Output is correct : V - N = 12
105 Correct 6 ms 4832 KB Output is correct : V - N = 12
106 Correct 5 ms 4832 KB Output is correct : V - N = 12
107 Correct 5 ms 4832 KB Output is correct : V - N = 12
108 Correct 5 ms 4896 KB Output is correct : V - N = 12
109 Correct 5 ms 4832 KB Output is correct : V - N = 12
110 Correct 5 ms 4832 KB Output is correct : V - N = 12
111 Correct 6 ms 4832 KB Output is correct : V - N = 12
112 Correct 6 ms 4832 KB Output is correct : V - N = 12
113 Correct 6 ms 4832 KB Output is correct : V - N = 12
114 Correct 6 ms 4960 KB Output is correct : V - N = 12
115 Correct 5 ms 4920 KB Output is correct : V - N = 12
116 Correct 5 ms 4832 KB Output is correct : V - N = 12
117 Correct 6 ms 4832 KB Output is correct : V - N = 12
118 Correct 5 ms 4832 KB Output is correct : V - N = 12
119 Correct 5 ms 4832 KB Output is correct : V - N = 12
120 Correct 7 ms 4832 KB Output is correct : V - N = 12
121 Correct 5 ms 4832 KB Output is correct : V - N = 12
122 Correct 5 ms 4832 KB Output is correct : V - N = 12
123 Correct 5 ms 4896 KB Output is correct : V - N = 12
124 Correct 5 ms 4832 KB Output is correct : V - N = 12
125 Correct 5 ms 4932 KB Output is correct : V - N = 12
126 Correct 5 ms 4960 KB Output is correct : V - N = 12
127 Correct 5 ms 4832 KB Output is correct : V - N = 12
128 Correct 5 ms 4832 KB Output is correct : V - N = 12
129 Correct 5 ms 4924 KB Output is correct : V - N = 12
130 Correct 5 ms 4832 KB Output is correct : V - N = 12
131 Correct 5 ms 4924 KB Output is correct : V - N = 12
132 Correct 5 ms 4832 KB Output is correct : V - N = 12
133 Correct 5 ms 4920 KB Output is correct : V - N = 12
134 Correct 5 ms 4832 KB Output is correct : V - N = 12
135 Correct 5 ms 4832 KB Output is correct : V - N = 12
136 Correct 5 ms 4932 KB Output is correct : V - N = 12
137 Correct 5 ms 4992 KB Output is correct : V - N = 12
138 Correct 5 ms 4920 KB Output is correct : V - N = 12
139 Correct 5 ms 4832 KB Output is correct : V - N = 12
140 Correct 5 ms 4928 KB Output is correct : V - N = 12
141 Correct 5 ms 4928 KB Output is correct : V - N = 12
142 Correct 5 ms 4832 KB Output is correct : V - N = 12
143 Correct 5 ms 4924 KB Output is correct : V - N = 12
144 Correct 6 ms 4832 KB Output is correct : V - N = 12
145 Correct 5 ms 4996 KB Output is correct : V - N = 12
146 Correct 5 ms 4924 KB Output is correct : V - N = 12
147 Correct 5 ms 4832 KB Output is correct : V - N = 12
148 Correct 5 ms 4920 KB Output is correct : V - N = 12
149 Correct 5 ms 4832 KB Output is correct : V - N = 12
150 Correct 5 ms 4832 KB Output is correct : V - N = 12
151 Correct 5 ms 4940 KB Output is correct : V - N = 12
152 Correct 5 ms 5068 KB Output is correct : V - N = 12
153 Correct 5 ms 4832 KB Output is correct : V - N = 12
154 Correct 5 ms 4832 KB Output is correct : V - N = 12
155 Correct 5 ms 4940 KB Output is correct : V - N = 12
156 Correct 5 ms 4992 KB Output is correct : V - N = 12
157 Correct 5 ms 4832 KB Output is correct : V - N = 12
158 Correct 5 ms 4832 KB Output is correct : V - N = 12
159 Correct 5 ms 4832 KB Output is correct : V - N = 12
160 Correct 5 ms 4928 KB Output is correct : V - N = 12
161 Correct 5 ms 4832 KB Output is correct : V - N = 12
162 Correct 5 ms 4932 KB Output is correct : V - N = 12
163 Correct 5 ms 4924 KB Output is correct : V - N = 12
164 Correct 5 ms 4832 KB Output is correct : V - N = 12
165 Correct 6 ms 4832 KB Output is correct : V - N = 12
166 Correct 6 ms 4832 KB Output is correct : V - N = 12
167 Correct 6 ms 4832 KB Output is correct : V - N = 12
168 Correct 6 ms 4932 KB Output is correct : V - N = 12
169 Correct 5 ms 4932 KB Output is correct : V - N = 12
170 Correct 5 ms 4832 KB Output is correct : V - N = 12
171 Correct 5 ms 4832 KB Output is correct : V - N = 12
172 Correct 5 ms 4832 KB Output is correct : V - N = 12
173 Correct 6 ms 4936 KB Output is correct : V - N = 12
174 Correct 5 ms 4832 KB Output is correct : V - N = 12
175 Correct 5 ms 4996 KB Output is correct : V - N = 12
176 Correct 5 ms 4996 KB Output is correct : V - N = 12
177 Correct 6 ms 4832 KB Output is correct : V - N = 12
178 Correct 5 ms 4924 KB Output is correct : V - N = 12