Submission #388719

# Submission time Handle Problem Language Result Execution time Memory
388719 2021-04-12T16:43:10 Z denkendoemeer Airline Route Map (JOI18_airline) C++14
100 / 100
822 ms 29388 KB
#include<bits/stdc++.h>
#include "Alicelib.h"
using namespace std;
void Alice(int n,int m,int a[],int b[])
{
    vector<pair<int,int>>ed;
    int i,j;
    for(i=0;i<m;i++)
        ed.emplace_back(a[i],b[i]);
    for(i=0;i<n;i++)
        for(j=0;j<10;j++)
            if (i>>j&1)
                ed.emplace_back(n+j,i);
    for(i=0;i<n;i++)
        ed.emplace_back(n+10,i);
    for(i=1;i<10;i++)
        ed.emplace_back(n+i-1,n+i);
    ed.emplace_back(n+11,n+10);
    InitG(n+12,ed.size());
    for(i=0;i<ed.size();i++)
        MakeG(i,ed[i].first,ed[i].second);
}
#include<bits/stdc++.h>
#include "Boblib.h"
using namespace std;
void Bob(int n,int m,int a[],int b[])
{
    vector<vector<int>>g(n);
    int i;
    for(i=0;i<m;i++){
        g[a[i]].push_back(b[i]);
        g[b[i]].push_back(a[i]);
    }
    vector<bool>nr(n);
    int poz;
    for(i=0;i<n;i++)
        if (g[i].size()==1 && g[g[i][0]].size()==n-11){
            poz=g[i][0];
            for(auto it:g[poz])
                nr[it]=1;
            break;
        }
    int cur=poz;
    for(i=0;i<n;i++)
        if (i!=poz && nr[i]==0 && g[i].size()<=g[cur].size())
            cur=i;
    int pre=cur;
    vector<int>care(n);
    for(i=9;i>=0;i--){
        for(auto it:g[cur])
            if (nr[it])
                care[it]+=1<<i;
        for(auto it:g[cur])
            if (nr[it]==0 && it!=pre){
                pre=cur;
                cur=it;
                break;
            }
    }
    vector<pair<int,int>>ed;
    for(i=0;i<m;i++)
        if (nr[a[i]] && nr[b[i]])
            ed.emplace_back(care[a[i]],care[b[i]]);
    InitMap(n-12,ed.size());
    for(auto it:ed)
        MakeMap(it.first,it.second);
}

Compilation message

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

Bob.cpp: In function 'void Bob(int, int, int*, int*)':
Bob.cpp:15:48: warning: comparison of integer expressions of different signedness: 'std::vector<int>::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare]
   15 |         if (g[i].size()==1 && g[g[i][0]].size()==n-11){
      |                               ~~~~~~~~~~~~~~~~~^~~~~~
Bob.cpp:23:32: warning: 'poz' may be used uninitialized in this function [-Wmaybe-uninitialized]
   23 |         if (i!=poz && nr[i]==0 && g[i].size()<=g[cur].size())
      |             ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# Verdict Execution time Memory Grader output
1 Correct 5 ms 4580 KB Output is correct
2 Correct 5 ms 4592 KB Output is correct
3 Correct 5 ms 4496 KB Output is correct
4 Correct 5 ms 4500 KB Output is correct
5 Correct 5 ms 4596 KB Output is correct
6 Correct 5 ms 4712 KB Output is correct
7 Correct 5 ms 4572 KB Output is correct
8 Correct 5 ms 4516 KB Output is correct
9 Correct 5 ms 4592 KB Output is correct
10 Correct 5 ms 4588 KB Output is correct
11 Correct 5 ms 4592 KB Output is correct
12 Correct 5 ms 4592 KB Output is correct
13 Correct 5 ms 4592 KB Output is correct
14 Correct 5 ms 4684 KB Output is correct
15 Correct 6 ms 4592 KB Output is correct
16 Correct 5 ms 4744 KB Output is correct
17 Correct 5 ms 4572 KB Output is correct
18 Correct 5 ms 4592 KB Output is correct
19 Correct 5 ms 4592 KB Output is correct
20 Correct 5 ms 4592 KB Output is correct
21 Correct 5 ms 4592 KB Output is correct
22 Correct 5 ms 4592 KB Output is correct
23 Correct 5 ms 4528 KB Output is correct
24 Correct 5 ms 4588 KB Output is correct
25 Correct 5 ms 4572 KB Output is correct
26 Correct 5 ms 4572 KB Output is correct
27 Correct 5 ms 4600 KB Output is correct
28 Correct 5 ms 4584 KB Output is correct
29 Correct 5 ms 4596 KB Output is correct
30 Correct 5 ms 4580 KB Output is correct
31 Correct 5 ms 4588 KB Output is correct
32 Correct 5 ms 4584 KB Output is correct
33 Correct 5 ms 4580 KB Output is correct
34 Correct 5 ms 4496 KB Output is correct
35 Correct 5 ms 4588 KB Output is correct
36 Correct 5 ms 4572 KB Output is correct
37 Correct 5 ms 4592 KB Output is correct
38 Correct 5 ms 4668 KB Output is correct
39 Correct 5 ms 4592 KB Output is correct
40 Correct 5 ms 4516 KB Output is correct
41 Correct 5 ms 4516 KB Output is correct
42 Correct 6 ms 4516 KB Output is correct
43 Correct 6 ms 4528 KB Output is correct
44 Correct 5 ms 4516 KB Output is correct
45 Correct 5 ms 4580 KB Output is correct
46 Correct 5 ms 4512 KB Output is correct
47 Correct 5 ms 4592 KB Output is correct
48 Correct 5 ms 4588 KB Output is correct
49 Correct 5 ms 4592 KB Output is correct
50 Correct 5 ms 4596 KB Output is correct
51 Correct 5 ms 4592 KB Output is correct
52 Correct 5 ms 4588 KB Output is correct
53 Correct 5 ms 4532 KB Output is correct
54 Correct 5 ms 4592 KB Output is correct
55 Correct 5 ms 4576 KB Output is correct
56 Correct 5 ms 4572 KB Output is correct
57 Correct 5 ms 4592 KB Output is correct
58 Correct 5 ms 4568 KB Output is correct
# Verdict Execution time Memory Grader output
1 Correct 5 ms 4580 KB Output is correct
2 Correct 5 ms 4592 KB Output is correct
3 Correct 5 ms 4496 KB Output is correct
4 Correct 5 ms 4500 KB Output is correct
5 Correct 5 ms 4596 KB Output is correct
6 Correct 5 ms 4712 KB Output is correct
7 Correct 5 ms 4572 KB Output is correct
8 Correct 5 ms 4516 KB Output is correct
9 Correct 5 ms 4592 KB Output is correct
10 Correct 5 ms 4588 KB Output is correct
11 Correct 5 ms 4592 KB Output is correct
12 Correct 5 ms 4592 KB Output is correct
13 Correct 5 ms 4592 KB Output is correct
14 Correct 5 ms 4684 KB Output is correct
15 Correct 6 ms 4592 KB Output is correct
16 Correct 5 ms 4744 KB Output is correct
17 Correct 5 ms 4572 KB Output is correct
18 Correct 5 ms 4592 KB Output is correct
19 Correct 5 ms 4592 KB Output is correct
20 Correct 5 ms 4592 KB Output is correct
21 Correct 5 ms 4592 KB Output is correct
22 Correct 5 ms 4592 KB Output is correct
23 Correct 5 ms 4528 KB Output is correct
24 Correct 5 ms 4588 KB Output is correct
25 Correct 5 ms 4572 KB Output is correct
26 Correct 5 ms 4572 KB Output is correct
27 Correct 5 ms 4600 KB Output is correct
28 Correct 5 ms 4584 KB Output is correct
29 Correct 5 ms 4596 KB Output is correct
30 Correct 5 ms 4580 KB Output is correct
31 Correct 5 ms 4588 KB Output is correct
32 Correct 5 ms 4584 KB Output is correct
33 Correct 5 ms 4580 KB Output is correct
34 Correct 5 ms 4496 KB Output is correct
35 Correct 5 ms 4588 KB Output is correct
36 Correct 5 ms 4572 KB Output is correct
37 Correct 5 ms 4592 KB Output is correct
38 Correct 5 ms 4668 KB Output is correct
39 Correct 5 ms 4592 KB Output is correct
40 Correct 5 ms 4516 KB Output is correct
41 Correct 5 ms 4516 KB Output is correct
42 Correct 6 ms 4516 KB Output is correct
43 Correct 6 ms 4528 KB Output is correct
44 Correct 5 ms 4516 KB Output is correct
45 Correct 5 ms 4580 KB Output is correct
46 Correct 5 ms 4512 KB Output is correct
47 Correct 5 ms 4592 KB Output is correct
48 Correct 5 ms 4588 KB Output is correct
49 Correct 5 ms 4592 KB Output is correct
50 Correct 5 ms 4596 KB Output is correct
51 Correct 5 ms 4592 KB Output is correct
52 Correct 5 ms 4588 KB Output is correct
53 Correct 5 ms 4532 KB Output is correct
54 Correct 5 ms 4592 KB Output is correct
55 Correct 5 ms 4576 KB Output is correct
56 Correct 5 ms 4572 KB Output is correct
57 Correct 5 ms 4592 KB Output is correct
58 Correct 5 ms 4568 KB Output is correct
59 Correct 6 ms 4720 KB Output is correct
60 Correct 5 ms 4628 KB Output is correct
61 Correct 5 ms 4648 KB Output is correct
62 Correct 5 ms 4528 KB Output is correct
63 Correct 5 ms 4592 KB Output is correct
64 Correct 5 ms 4700 KB Output is correct
65 Correct 6 ms 4720 KB Output is correct
66 Correct 5 ms 4708 KB Output is correct
67 Correct 5 ms 4728 KB Output is correct
68 Correct 5 ms 4596 KB Output is correct
69 Correct 5 ms 4508 KB Output is correct
70 Correct 5 ms 4624 KB Output is correct
71 Correct 6 ms 4720 KB Output is correct
72 Correct 5 ms 4700 KB Output is correct
73 Correct 5 ms 4724 KB Output is correct
74 Correct 5 ms 4568 KB Output is correct
75 Correct 5 ms 4680 KB Output is correct
76 Correct 5 ms 4600 KB Output is correct
77 Correct 6 ms 4640 KB Output is correct
78 Correct 6 ms 4700 KB Output is correct
79 Correct 5 ms 4652 KB Output is correct
80 Correct 5 ms 4592 KB Output is correct
81 Correct 5 ms 4592 KB Output is correct
82 Correct 5 ms 4592 KB Output is correct
83 Correct 5 ms 4596 KB Output is correct
84 Correct 5 ms 4572 KB Output is correct
85 Correct 5 ms 4696 KB Output is correct
86 Correct 5 ms 4724 KB Output is correct
87 Correct 5 ms 4516 KB Output is correct
88 Correct 5 ms 4584 KB Output is correct
89 Correct 5 ms 4512 KB Output is correct
90 Correct 5 ms 4528 KB Output is correct
91 Correct 5 ms 4588 KB Output is correct
92 Correct 5 ms 4596 KB Output is correct
93 Correct 5 ms 4516 KB Output is correct
94 Correct 5 ms 4720 KB Output is correct
95 Correct 6 ms 4720 KB Output is correct
96 Correct 5 ms 4720 KB Output is correct
97 Correct 5 ms 4720 KB Output is correct
98 Correct 5 ms 4720 KB Output is correct
99 Correct 5 ms 4720 KB Output is correct
100 Correct 5 ms 4592 KB Output is correct
101 Correct 5 ms 4604 KB Output is correct
102 Correct 5 ms 4588 KB Output is correct
103 Correct 5 ms 4516 KB Output is correct
104 Correct 6 ms 4592 KB Output is correct
105 Correct 5 ms 4716 KB Output is correct
106 Correct 6 ms 4664 KB Output is correct
107 Correct 6 ms 4592 KB Output is correct
108 Correct 6 ms 4592 KB Output is correct
109 Correct 5 ms 4724 KB Output is correct
110 Correct 5 ms 4572 KB Output is correct
111 Correct 5 ms 4716 KB Output is correct
112 Correct 6 ms 4496 KB Output is correct
113 Correct 5 ms 4576 KB Output is correct
114 Correct 5 ms 4736 KB Output is correct
115 Correct 5 ms 4644 KB Output is correct
116 Correct 5 ms 4516 KB Output is correct
117 Correct 5 ms 4592 KB Output is correct
118 Correct 6 ms 4572 KB Output is correct
# Verdict Execution time Memory Grader output
1 Correct 766 ms 29284 KB Output is correct : V - N = 12
2 Correct 519 ms 25640 KB Output is correct : V - N = 12
3 Correct 207 ms 13900 KB Output is correct : V - N = 12
4 Correct 12 ms 5212 KB Output is correct : V - N = 12
5 Correct 117 ms 9872 KB Output is correct : V - N = 12
6 Correct 549 ms 23604 KB Output is correct : V - N = 12
7 Correct 674 ms 28872 KB Output is correct : V - N = 12
8 Correct 602 ms 27456 KB Output is correct : V - N = 12
9 Correct 304 ms 16108 KB Output is correct : V - N = 12
10 Correct 52 ms 6388 KB Output is correct : V - N = 12
11 Correct 77 ms 7456 KB Output is correct : V - N = 12
12 Correct 332 ms 18068 KB Output is correct : V - N = 12
13 Correct 616 ms 28000 KB Output is correct : V - N = 12
14 Correct 691 ms 28504 KB Output is correct : V - N = 12
15 Correct 503 ms 22376 KB Output is correct : V - N = 12
16 Correct 114 ms 8316 KB Output is correct : V - N = 12
17 Correct 24 ms 5676 KB Output is correct : V - N = 12
18 Correct 331 ms 14948 KB Output is correct : V - N = 12
19 Correct 568 ms 26592 KB Output is correct : V - N = 12
20 Correct 664 ms 29276 KB Output is correct : V - N = 12
21 Correct 179 ms 12200 KB Output is correct : V - N = 12
22 Correct 148 ms 10228 KB Output is correct : V - N = 12
23 Correct 75 ms 7240 KB Output is correct : V - N = 12
24 Correct 8 ms 4860 KB Output is correct : V - N = 12
25 Correct 47 ms 6176 KB Output is correct : V - N = 12
26 Correct 131 ms 9760 KB Output is correct : V - N = 12
27 Correct 177 ms 11148 KB Output is correct : V - N = 12
28 Correct 221 ms 10692 KB Output is correct : V - N = 12
29 Correct 76 ms 7872 KB Output is correct : V - N = 12
30 Correct 13 ms 5392 KB Output is correct : V - N = 12
31 Correct 11 ms 5096 KB Output is correct : V - N = 12
32 Correct 10 ms 5000 KB Output is correct : V - N = 12
33 Correct 12 ms 4940 KB Output is correct : V - N = 12
34 Correct 11 ms 4972 KB Output is correct : V - N = 12
35 Correct 13 ms 5008 KB Output is correct : V - N = 12
36 Correct 794 ms 29388 KB Output is correct : V - N = 12
37 Correct 649 ms 29260 KB Output is correct : V - N = 12
38 Correct 767 ms 29324 KB Output is correct : V - N = 12
39 Correct 728 ms 29116 KB Output is correct : V - N = 12
40 Correct 822 ms 29272 KB Output is correct : V - N = 12
41 Correct 122 ms 9796 KB Output is correct : V - N = 12
42 Correct 98 ms 8568 KB Output is correct : V - N = 12
43 Correct 110 ms 9420 KB Output is correct : V - N = 12
44 Correct 12 ms 5080 KB Output is correct : V - N = 12
45 Correct 59 ms 7484 KB Output is correct : V - N = 12
46 Correct 298 ms 14436 KB Output is correct : V - N = 12
47 Correct 124 ms 9792 KB Output is correct : V - N = 12
48 Correct 391 ms 16184 KB Output is correct : V - N = 12
49 Correct 79 ms 7288 KB Output is correct : V - N = 12
50 Correct 26 ms 5716 KB Output is correct : V - N = 12
51 Correct 669 ms 25564 KB Output is correct : V - N = 12
52 Correct 15 ms 5136 KB Output is correct : V - N = 12
53 Correct 551 ms 23476 KB Output is correct : V - N = 12
54 Correct 735 ms 27152 KB Output is correct : V - N = 12
55 Correct 40 ms 6292 KB Output is correct : V - N = 12
56 Correct 423 ms 17584 KB Output is correct : V - N = 12
57 Correct 813 ms 28188 KB Output is correct : V - N = 12
58 Correct 113 ms 8240 KB Output is correct : V - N = 12
59 Correct 323 ms 14940 KB Output is correct : V - N = 12
60 Correct 629 ms 28628 KB Output is correct : V - N = 12
61 Correct 5 ms 4724 KB Output is correct : V - N = 12
62 Correct 5 ms 4668 KB Output is correct : V - N = 12
63 Correct 5 ms 4636 KB Output is correct : V - N = 12
64 Correct 5 ms 4572 KB Output is correct : V - N = 12
65 Correct 5 ms 4528 KB Output is correct : V - N = 12
66 Correct 5 ms 4732 KB Output is correct : V - N = 12
67 Correct 6 ms 4624 KB Output is correct : V - N = 12
68 Correct 5 ms 4704 KB Output is correct : V - N = 12
69 Correct 5 ms 4516 KB Output is correct : V - N = 12
70 Correct 5 ms 4572 KB Output is correct : V - N = 12
71 Correct 5 ms 4592 KB Output is correct : V - N = 12
72 Correct 5 ms 4700 KB Output is correct : V - N = 12
73 Correct 5 ms 4720 KB Output is correct : V - N = 12
74 Correct 5 ms 4624 KB Output is correct : V - N = 12
75 Correct 5 ms 4720 KB Output is correct : V - N = 12
76 Correct 5 ms 4592 KB Output is correct : V - N = 12
77 Correct 5 ms 4592 KB Output is correct : V - N = 12
78 Correct 5 ms 4712 KB Output is correct : V - N = 12
79 Correct 6 ms 4640 KB Output is correct : V - N = 12
80 Correct 5 ms 4720 KB Output is correct : V - N = 12
81 Correct 5 ms 4688 KB Output is correct : V - N = 12
82 Correct 5 ms 4588 KB Output is correct : V - N = 12
83 Correct 5 ms 4576 KB Output is correct : V - N = 12
84 Correct 5 ms 4592 KB Output is correct : V - N = 12
85 Correct 6 ms 4592 KB Output is correct : V - N = 12
86 Correct 5 ms 4600 KB Output is correct : V - N = 12
87 Correct 5 ms 4728 KB Output is correct : V - N = 12
88 Correct 5 ms 4724 KB Output is correct : V - N = 12
89 Correct 5 ms 4588 KB Output is correct : V - N = 12
90 Correct 5 ms 4592 KB Output is correct : V - N = 12
91 Correct 5 ms 4524 KB Output is correct : V - N = 12
92 Correct 5 ms 4592 KB Output is correct : V - N = 12
93 Correct 5 ms 4584 KB Output is correct : V - N = 12
94 Correct 5 ms 4568 KB Output is correct : V - N = 12
95 Correct 5 ms 4588 KB Output is correct : V - N = 12
96 Correct 6 ms 4700 KB Output is correct : V - N = 12
97 Correct 6 ms 4644 KB Output is correct : V - N = 12
98 Correct 5 ms 4700 KB Output is correct : V - N = 12
99 Correct 5 ms 4720 KB Output is correct : V - N = 12
100 Correct 6 ms 4616 KB Output is correct : V - N = 12
101 Correct 5 ms 4720 KB Output is correct : V - N = 12
102 Correct 5 ms 4516 KB Output is correct : V - N = 12
103 Correct 5 ms 4524 KB Output is correct : V - N = 12
104 Correct 5 ms 4516 KB Output is correct : V - N = 12
105 Correct 5 ms 4496 KB Output is correct : V - N = 12
106 Correct 5 ms 4572 KB Output is correct : V - N = 12
107 Correct 5 ms 4644 KB Output is correct : V - N = 12
108 Correct 5 ms 4520 KB Output is correct : V - N = 12
109 Correct 5 ms 4592 KB Output is correct : V - N = 12
110 Correct 5 ms 4632 KB Output is correct : V - N = 12
111 Correct 5 ms 4728 KB Output is correct : V - N = 12
112 Correct 5 ms 4696 KB Output is correct : V - N = 12
113 Correct 5 ms 4572 KB Output is correct : V - N = 12
114 Correct 5 ms 4516 KB Output is correct : V - N = 12
115 Correct 6 ms 4572 KB Output is correct : V - N = 12
116 Correct 5 ms 4600 KB Output is correct : V - N = 12
117 Correct 5 ms 4700 KB Output is correct : V - N = 12
118 Correct 5 ms 4516 KB Output is correct : V - N = 12
119 Correct 5 ms 4644 KB Output is correct : V - N = 12
120 Correct 5 ms 4552 KB Output is correct : V - N = 12
121 Correct 5 ms 4592 KB Output is correct : V - N = 12
122 Correct 5 ms 4540 KB Output is correct : V - N = 12
123 Correct 5 ms 4592 KB Output is correct : V - N = 12
124 Correct 5 ms 4512 KB Output is correct : V - N = 12
125 Correct 6 ms 4592 KB Output is correct : V - N = 12
126 Correct 5 ms 4496 KB Output is correct : V - N = 12
127 Correct 5 ms 4756 KB Output is correct : V - N = 12
128 Correct 6 ms 4596 KB Output is correct : V - N = 12
129 Correct 5 ms 4580 KB Output is correct : V - N = 12
130 Correct 5 ms 4552 KB Output is correct : V - N = 12
131 Correct 5 ms 4588 KB Output is correct : V - N = 12
132 Correct 5 ms 4592 KB Output is correct : V - N = 12
133 Correct 5 ms 4592 KB Output is correct : V - N = 12
134 Correct 5 ms 4592 KB Output is correct : V - N = 12
135 Correct 5 ms 4516 KB Output is correct : V - N = 12
136 Correct 5 ms 4516 KB Output is correct : V - N = 12
137 Correct 5 ms 4592 KB Output is correct : V - N = 12
138 Correct 5 ms 4588 KB Output is correct : V - N = 12
139 Correct 5 ms 4528 KB Output is correct : V - N = 12
140 Correct 5 ms 4596 KB Output is correct : V - N = 12
141 Correct 5 ms 4540 KB Output is correct : V - N = 12
142 Correct 5 ms 4572 KB Output is correct : V - N = 12
143 Correct 5 ms 4576 KB Output is correct : V - N = 12
144 Correct 5 ms 4568 KB Output is correct : V - N = 12
145 Correct 5 ms 4516 KB Output is correct : V - N = 12
146 Correct 6 ms 4516 KB Output is correct : V - N = 12
147 Correct 6 ms 4596 KB Output is correct : V - N = 12
148 Correct 5 ms 4588 KB Output is correct : V - N = 12
149 Correct 5 ms 4688 KB Output is correct : V - N = 12
150 Correct 5 ms 4588 KB Output is correct : V - N = 12
151 Correct 5 ms 4596 KB Output is correct : V - N = 12
152 Correct 5 ms 4588 KB Output is correct : V - N = 12
153 Correct 5 ms 4596 KB Output is correct : V - N = 12
154 Correct 5 ms 4584 KB Output is correct : V - N = 12
155 Correct 5 ms 4528 KB Output is correct : V - N = 12
156 Correct 5 ms 4592 KB Output is correct : V - N = 12
157 Correct 5 ms 4592 KB Output is correct : V - N = 12
158 Correct 5 ms 4592 KB Output is correct : V - N = 12
159 Correct 5 ms 4572 KB Output is correct : V - N = 12
160 Correct 5 ms 4572 KB Output is correct : V - N = 12
161 Correct 5 ms 4516 KB Output is correct : V - N = 12
162 Correct 5 ms 4596 KB Output is correct : V - N = 12
163 Correct 5 ms 4592 KB Output is correct : V - N = 12
164 Correct 5 ms 4588 KB Output is correct : V - N = 12
165 Correct 5 ms 4580 KB Output is correct : V - N = 12
166 Correct 5 ms 4604 KB Output is correct : V - N = 12
167 Correct 5 ms 4592 KB Output is correct : V - N = 12
168 Correct 5 ms 4592 KB Output is correct : V - N = 12
169 Correct 5 ms 4592 KB Output is correct : V - N = 12
170 Correct 5 ms 4584 KB Output is correct : V - N = 12
171 Correct 5 ms 4648 KB Output is correct : V - N = 12
172 Correct 5 ms 4504 KB Output is correct : V - N = 12
173 Correct 5 ms 4588 KB Output is correct : V - N = 12
174 Correct 6 ms 4600 KB Output is correct : V - N = 12
175 Correct 5 ms 4572 KB Output is correct : V - N = 12
176 Correct 5 ms 4540 KB Output is correct : V - N = 12
177 Correct 5 ms 4592 KB Output is correct : V - N = 12
178 Correct 5 ms 4600 KB Output is correct : V - N = 12