QOJ.ac
QOJ
ID | 题目 | 提交者 | 结果 | 用时 | 内存 | 语言 | 文件大小 | 提交时间 | 测评时间 |
---|---|---|---|---|---|---|---|---|---|
#67738 | #4786. Balance | A_zjzj | AC ✓ | 7ms | 3672kb | C++14 | 1.6kb | 2022-12-11 17:50:25 | 2022-12-11 17:50:27 |
Judging History
answer
#include<bits/stdc++.h>
using namespace std;using ll=long long;const int N=55,V=N*2,E=N*N*2,INF=1e9;
int n,s,t,kk=1,a[N][N],p[N],dis[V],pre[V],mn[V],head[V],x[N],y[N];vector<pair<int,int> >A[N];
struct edges{int to,c,w,nex;}edge[E];
void add(int u,int v,int c,int w){
edge[++kk]={v,c,w,head[u]};head[u]=kk;
edge[++kk]={u,0,-w,head[v]};head[v]=kk;
}
void add(int u,int v,int w){A[u].push_back({v,w});}
bool bfs(){
queue<int>q;q.push(s);memset(dis,-0x3f,sizeof dis);dis[s]=0;mn[s]=INF;for(int u;!q.empty();q.pop()){
u=q.front();for(int i=head[u],v;v=edge[i].to,i;i=edge[i].nex)if(edge[i].c&&dis[v]<dis[u]+edge[i].w)
pre[v]=i,dis[v]=dis[u]+edge[i].w,mn[v]=min(mn[u],edge[i].c),q.push(v);
}return dis[t]>-INF;
}
int EK(){
int sum=0;for(;bfs();){
for(int u=t;u^s;u=edge[pre[u]^1].to){
edge[pre[u]].c-=mn[t];edge[pre[u]^1].c+=mn[t];
sum+=edge[pre[u]].w*mn[t];
}
}return sum;
}
void find(){
queue<int>q;q.push(1);x[1]=3.5e4;for(int u;!q.empty();q.pop()){
u=q.front();for(auto [v,w]:A[u])if(x[v]<x[u]+w)x[v]=x[u]+w,q.push(v);
}int mn=INF;for(int i=1;i<=n;i++)mn=min(mn,a[p[i]][i]-x[p[i]]);for(int i=1;i<=n;i++)x[i]+=mn;
}
int main(){
cin>>n;t=n+n+1;for(int i=1;i<=n;i++)for(int j=1;j<=n;j++)cin>>a[i][j],add(i,j+n,1,a[i][j]);
for(int i=1;i<=n;i++)add(s,i,1,0),add(i+n,t,1,0);cout<<EK()*n<<endl;
for(int u=1;u<=n;u++)for(int i=head[u],v;v=edge[i].to,i;i=edge[i].nex)if(!edge[i].c)p[v-n]=u;
for(int i=1;i<=n;i++)for(int j=1;j<=n;j++)add(p[j],i,a[i][j]-a[p[j]][j]);
find();for(int i=1;i<=n;i++)y[i]=a[p[i]][i]-x[p[i]];
for(int i=1;i<=n;i++)for(int j=1;j<=n;j++)cout<<x[i]+y[j]<<"\n "[j<n];return 0;
}
詳細信息
Test #1:
score: 100
Accepted
time: 2ms
memory: 3304kb
input:
4 1 1 1 1 1 1 1 1 1 1 1 0 1 1 1 1
output:
16 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
result:
ok correct plan, good job!
Test #2:
score: 0
Accepted
time: 3ms
memory: 3392kb
input:
24 20594 15420 1258 6283 18795 7007 20323 16605 27476 270 2082 5286 32911 30847 17237 14187 9258 26749 27575 8042 2690 25493 23540 30506 15252 21600 26878 32384 22641 12550 29190 28725 33837 7235 6316 1318 10773 4177 6535 33628 31431 19567 25294 22712 18861 16725 25214 12950 29777 22466 16743 2033 3...
output:
18759816 31779 32466 39121 32141 37335 35450 37632 31667 32131 32859 35760 31728 32911 36071 34124 31922 34126 33539 34246 29202 31060 35557 28701 33827 33485 34172 40827 33847 39041 37156 39338 33373 33837 34565 37466 33434 34617 37777 35830 33628 35832 35245 35952 30908 32766 37263 30407 35533 297...
result:
ok correct plan, good job!
Test #3:
score: 0
Accepted
time: 1ms
memory: 3388kb
input:
26 33843 4186 34463 31487 11691 21399 21812 3854 4528 13263 21833 19716 29022 10705 8168 8409 27934 3783 29849 24042 14065 15002 4843 6517 21734 12278 26338 1119 5487 14023 25 31245 22085 4572 1142 29790 5880 24200 27303 22103 33926 31608 28620 13493 34221 1937 3683 2232 26225 5911 29024 12063 1699 ...
output:
22604374 33843 33922 40882 37256 35347 36564 32386 40707 37325 38520 39714 36641 34412 40330 34321 40782 37651 39797 34616 36953 36553 38327 35728 34986 33885 39758 33448 33527 40487 36861 34952 36169 31991 40312 36930 38125 39319 36246 34017 39935 33926 40387 37256 39402 34221 36558 36158 37932 353...
result:
ok correct plan, good job!
Test #4:
score: 0
Accepted
time: 2ms
memory: 3376kb
input:
18 23270 27030 2054 8583 23368 14462 14272 29654 6022 25600 28450 4197 17277 25975 14277 29321 31388 31080 1518 22875 18906 19655 8207 15611 33521 5465 27573 6108 10647 7821 14313 32320 7911 34480 10825 2182 2083 17392 22176 34917 29951 14131 32477 34599 1640 20762 13100 29612 27387 22275 31043 1947...
output:
10419318 35973 28412 34486 33559 30482 31487 30164 32286 29275 36829 31560 34137 31034 33796 31324 31123 31388 33495 39330 31769 37843 36916 33839 34844 33521 35643 32632 40186 34917 37494 34391 37153 34681 34480 34745 36852 38286 30725 36799 35872 32795 33800 32477 34599 31588 39142 33873 36450 333...
result:
ok correct plan, good job!
Test #5:
score: 0
Accepted
time: 5ms
memory: 3492kb
input:
44 15140 28131 21203 163 17542 29126 5041 11316 847 978 19798 5350 18220 12453 19900 34926 3993 18621 19511 21231 12595 2721 23644 9306 5608 31446 7952 12124 7209 21403 6117 19196 7370 5341 2312 7162 10213 13682 23667 24886 6377 19035 12989 17252 2619 8840 25090 2323 127 18180 34138 23228 28605 1677...
output:
64951392 35222 38996 34288 33666 35452 34084 34503 32882 33097 32658 33755 36145 32395 33706 34540 36108 34476 37167 34795 35348 33275 34029 35223 35012 32718 31446 32826 35959 35082 32913 35941 35102 36397 31849 35738 34664 33777 33912 34774 34359 35326 36235 33279 32875 34857 38631 33923 33301 350...
result:
ok correct plan, good job!
Test #6:
score: 0
Accepted
time: 2ms
memory: 3456kb
input:
3 10563 8010 6959 11216 11399 13097 30720 30111 23171
output:
161313 10563 9954 11652 12008 11399 13097 30720 30111 31809
result:
ok correct plan, good job!
Test #7:
score: 0
Accepted
time: 0ms
memory: 3352kb
input:
4 34584 6954 17306 11086 28520 28466 18108 10648 26437 15242 31334 23599 8251 32027 34767 30388
output:
499088 34584 34530 39481 32891 28520 28466 33417 26827 26437 26383 31334 24744 32081 32027 36978 30388
result:
ok correct plan, good job!
Test #8:
score: 0
Accepted
time: 2ms
memory: 3568kb
input:
20 17259 25284 1594 26730 18545 31186 1181 26771 18487 5574 21215 9070 6559 19266 1635 16994 944 8669 29722 9442 2975 6789 31414 32924 25636 7931 22773 19221 3881 33053 14346 21434 31779 14067 1318 27749 16783 31700 20821 23135 4427 20297 19889 32816 12284 26493 6994 10187 13211 8014 24806 24140 209...
output:
13009140 30337 33202 30484 31178 30791 31186 32084 33538 30632 31721 32527 31554 30033 30256 30147 29002 31088 36147 31167 30336 32083 34948 32230 32924 32537 32932 33830 35284 32378 33467 34273 33300 31779 32002 31893 30748 32834 37893 32913 32082 31975 34840 32122 32816 32429 32824 33722 35176 322...
result:
ok correct plan, good job!
Test #9:
score: 0
Accepted
time: 2ms
memory: 3388kb
input:
5 12838 3253 34754 12413 4646 12234 5306 25539 12888 17930 19531 17112 15299 16114 27633 1153 4829 9496 3835 29367 34413 19721 30834 14852 30496
output:
642670 37793 23101 34754 22103 47635 28578 13886 25539 12888 38420 31804 17112 28765 16114 41646 19525 4833 16486 3835 29367 34413 19721 31374 18723 44255
result:
ok correct plan, good job!
Test #10:
score: 0
Accepted
time: 4ms
memory: 3472kb
input:
37 4779 26318 25075 18596 6171 9356 26569 16754 4333 14702 20811 18649 6722 3745 31882 14687 5527 9119 9968 31512 19943 24820 27630 25971 17947 30039 7531 18485 3828 30851 28646 21048 11348 18854 17931 26859 22542 21620 22048 20254 31762 26810 5871 24042 24540 10252 16159 29985 21989 7255 27785 1450...
output:
45795307 34905 31580 32479 32386 30732 30801 29967 29997 32875 33496 33352 33122 35400 32443 35242 34841 33273 34580 33091 31512 31425 32144 34533 27850 32783 37142 33012 32087 28550 31515 32972 32361 32654 32800 32634 30587 31749 36256 32931 33830 33737 32083 32152 31318 31348 34226 34847 34703 344...
result:
ok correct plan, good job!
Test #11:
score: 0
Accepted
time: 2ms
memory: 3316kb
input:
14 15797 2485 15462 5532 30372 10650 16946 26173 32717 8732 15046 22759 3231 1660 3962 11099 10263 32811 8717 2003 29829 7304 27728 12879 18022 3211 33845 2676 18892 8424 31001 28706 23706 16267 33669 24464 1620 11599 193 12281 8923 19403 10922 18835 12397 9787 750 24428 8408 998 9349 21352 2198 264...
output:
6203022 29286 38058 34787 36375 33343 33850 37455 40996 32717 39967 39244 25606 37409 33936 25722 34494 31223 32811 29779 30286 33891 37432 29153 36403 35680 22042 33845 30372 25500 34272 31001 32589 29557 30064 33669 37210 28931 36181 35458 21820 33623 30150 30121 38893 35622 37210 34178 34685 3829...
result:
ok correct plan, good job!
Test #12:
score: 0
Accepted
time: 2ms
memory: 3552kb
input:
19 4383 31190 32888 26910 20319 12703 9773 30227 7217 14805 19936 5263 27575 18369 17343 16249 12279 27038 21983 19566 2025 3229 31436 971 9004 5753 14115 8411 15405 5094 17607 20262 20275 12128 247 16644 1457 30921 20349 27265 28750 24116 18742 2082 27413 14862 5394 9311 34185 5365 6428 32218 605 2...
output:
11957213 39078 31823 32888 32157 37684 34713 37006 35050 38509 35964 34462 35452 35060 32495 29608 34651 31964 36566 31642 38357 31102 32167 31436 36963 33992 36285 34329 37788 35243 33741 34731 34339 31774 28887 33930 31243 35845 30921 38801 31546 32611 31880 37407 34436 36729 34773 38232 35687 341...
result:
ok correct plan, good job!
Test #13:
score: 0
Accepted
time: 5ms
memory: 3488kb
input:
43 34875 26069 20783 2222 34599 30828 12262 27171 16052 28488 25466 29726 18716 15186 15635 31793 32767 12033 26828 21335 33596 23405 2682 3116 1902 25529 20689 34715 8696 29031 15039 8186 4662 3416 20409 33524 8728 11136 3500 20547 33269 11985 21031 28871 22276 32146 16059 28721 3843 33538 20044 29...
output:
62760693 34875 36311 36407 36148 37605 35657 35743 35271 35975 35567 34889 34462 38258 36122 34554 36713 34874 36952 35672 37003 35907 36081 35500 35660 38322 33657 34917 35707 36033 37912 36914 35987 37487 36403 35433 36834 37782 35424 37974 35808 36111 36489 34918 32670 34106 34202 33943 35400 334...
result:
ok correct plan, good job!
Test #14:
score: 0
Accepted
time: 2ms
memory: 3556kb
input:
13 1434 25104 31831 19679 29070 6693 26505 18173 31840 15315 932 10718 2874 954 15189 20202 24599 30193 5467 3312 22174 20461 12179 34284 31146 19659 2015 12066 1523 23248 959 19755 4231 24913 28257 25905 30770 19504 33664 12151 15808 8142 21004 17511 6673 20789 4451 6912 978 24836 1357 20002 20221 ...
output:
5191342 32041 38597 36192 31932 35483 33405 31717 25416 31840 29783 37526 40033 34167 28799 35355 32950 28690 32241 30163 28475 22174 28598 26541 34284 36791 30925 31538 38094 35689 31429 34980 32902 31214 24913 31337 29280 37023 39530 33664 21113 27669 25264 21004 24555 22477 20789 14488 20912 1885...
result:
ok correct plan, good job!
Test #15:
score: 0
Accepted
time: 0ms
memory: 3320kb
input:
24 12166 14922 14224 586 32801 6849 32091 7613 19214 13703 20783 7745 25554 20694 26335 33285 20234 9384 27098 10976 22194 29861 7179 511 11190 23334 28732 24361 17886 8795 12964 30066 16419 20818 33699 22468 7573 25266 25016 12931 4427 34262 34276 32201 25000 32990 28106 19821 8021 29235 24678 1206...
output:
19053360 31722 32900 31961 35973 33826 35024 32091 36073 30772 30941 35213 32610 34330 33321 32079 34488 35422 34404 33409 31334 31904 34187 31843 33816 32589 33767 32828 36840 34693 35891 32958 36940 31639 31808 36080 33477 35197 34188 32946 35355 36289 35271 34276 32201 32771 35054 32710 34683 315...
result:
ok correct plan, good job!
Test #16:
score: 0
Accepted
time: 4ms
memory: 3604kb
input:
35 28294 30258 2364 12899 4237 31996 12796 31146 10043 30552 3721 22822 13276 23074 24945 28712 31445 24491 34462 26184 4641 2016 23923 28889 4190 18810 623 11025 21900 6340 15450 30109 8671 26797 24588 2144 28510 20209 3765 29399 12679 25221 4427 22790 34902 19160 21222 28059 14519 7172 28304 1836 ...
output:
40965610 34015 35312 33646 35188 35824 34225 30428 32928 35752 35790 33982 34656 33192 35520 36796 33275 34642 32042 34462 36500 35884 28603 33736 35370 33148 34037 35762 36329 33317 36365 35147 38634 33018 34204 36268 34478 35775 34109 35651 36287 34688 30891 33391 36215 36253 34445 35119 33655 359...
result:
ok correct plan, good job!
Test #17:
score: 0
Accepted
time: 2ms
memory: 3556kb
input:
22 27324 21312 22989 4189 12745 17815 29667 688 3851 24067 625 28155 11636 3678 12056 26600 25555 25429 6908 7512 27194 24462 2999 14745 28980 12822 4948 24445 4732 22776 5714 29564 9463 16077 30644 14890 28987 19327 3112 31794 25348 31380 32213 33046 17959 9740 6199 15896 3474 13118 29494 33559 147...
output:
15811422 30141 30778 31579 32146 25116 30480 29667 31868 29614 31223 29607 29168 30853 29167 33575 31505 30043 27803 27832 34419 29801 29055 34132 34769 35570 36137 29107 34471 33658 35859 33605 35214 33598 33159 34844 33158 37566 35496 34034 31794 31823 38410 33792 33046 32826 33463 34264 34831 278...
result:
ok correct plan, good job!
Test #18:
score: 0
Accepted
time: 3ms
memory: 3508kb
input:
49 636 14777 21591 17404 30943 34889 27449 143 9950 29951 9311 34623 24649 25393 25541 27324 24370 2426 1505 24495 20626 13309 31223 8591 25036 992 28406 6365 4875 21745 23318 14272 22097 20959 11549 30774 13513 6900 21565 7707 26041 20758 32258 33530 7462 7034 26778 1584 34882 31748 31187 4900 2834...
output:
81340490 36169 34544 36224 34684 34944 34889 35271 36210 34982 36396 36164 36741 35757 32638 35691 36805 35583 35571 35195 36515 34787 35272 34870 36706 35474 35931 34330 34420 35195 33325 36923 35727 35834 35029 35488 35888 35579 35627 35547 35594 35723 36088 33260 34394 37670 34904 35342 34860 364...
result:
ok correct plan, good job!
Test #19:
score: 0
Accepted
time: 6ms
memory: 3400kb
input:
47 9183 29293 24720 7135 28724 9271 8117 30570 7041 12370 33306 1390 19979 8240 30087 26086 6670 24843 15498 19736 10826 7182 33916 22155 29101 34319 317 31306 11000 2124 19195 31200 28134 13376 11590 22433 11308 4104 1150 20039 23464 5844 31856 31850 4546 25020 26276 4025 33669 17988 34993 2791 920...
output:
74628762 36494 33341 34756 34914 34083 34714 33871 34913 34259 34262 35058 33794 32544 33716 34164 33148 33768 34808 33179 35545 32932 35394 33916 36429 34392 34806 33422 33823 36075 35716 34927 33967 34116 35783 34969 34860 34607 32343 33426 35286 35487 34508 34002 34290 33914 33364 33952 36902 337...
result:
ok correct plan, good job!
Test #20:
score: 0
Accepted
time: 3ms
memory: 3384kb
input:
22 14453 31732 33814 5374 22916 9638 2254 30672 18129 10318 29738 20208 19396 25878 22764 6321 26748 11226 34916 24865 32453 30291 1557 9857 16371 33533 33949 15201 10337 22367 3671 23381 30770 30032 7570 29853 12678 14799 4561 592 6996 19219 1541 14116 25405 29716 19843 1697 22471 6267 17924 27315 ...
output:
15979722 36728 35209 34797 36864 38474 38713 36361 34618 35190 40115 33680 36720 38454 32763 29674 34495 37517 36201 34916 35800 35602 34828 33818 32299 31887 33954 35564 35803 33451 31708 32280 37205 30770 33810 35544 29853 26764 31585 34607 33291 32006 32890 32692 31918 35372 33853 33441 35508 371...
result:
ok correct plan, good job!
Test #21:
score: 0
Accepted
time: 7ms
memory: 3404kb
input:
50 29197 29962 30025 8386 9609 21545 25221 3331 7661 13361 22978 19917 20570 2280 12081 9657 22135 24037 14165 7741 2643 27027 6877 33478 23339 8173 943 957 12339 27854 32541 33260 3360 28334 18254 8346 19995 21291 26766 26766 28186 17892 25880 67 880 8731 6636 15873 5226 7744 2170 23973 24086 33957...
output:
84737200 34543 33503 33128 34675 33569 32097 34566 33506 34412 32866 29624 33686 33076 34951 33566 32760 32047 33563 32454 35001 33948 33657 34370 33926 34645 35175 33196 34505 32504 33183 36360 33260 34667 34005 35638 33315 35294 34370 37510 33540 34993 34038 34335 35265 33488 34232 33623 29940 336...
result:
ok correct plan, good job!
Test #22:
score: 0
Accepted
time: 2ms
memory: 3480kb
input:
41 29952 19058 23881 16062 22330 34663 20272 23976 17524 10929 22630 27101 3423 16243 3960 22207 23604 19703 29940 10240 34291 31680 29344 17693 6306 13521 31190 9409 28262 4447 21375 21556 5057 17221 12111 1510 24004 26933 20593 28812 10492 5499 1409 16985 28884 30796 6047 22407 5733 22504 12139 12...
output:
56732233 34326 31748 35143 34602 35799 36546 34216 34131 33255 38267 34733 34467 33863 36404 33955 35298 35065 37284 35654 34382 34291 36859 33850 34891 36799 37119 34781 35872 35281 35337 35071 33482 35057 37221 36691 35673 35375 34337 32747 35737 35344 33221 30643 34038 33497 34694 35441 33111 330...
result:
ok correct plan, good job!
Test #23:
score: 0
Accepted
time: 0ms
memory: 3492kb
input:
8 12737 11169 12370 1315 19856 30794 19717 26962 28669 21497 8634 9821 19584 15757 13603 16126 25412 17596 28510 2135 27947 3510 12307 17197 3836 21522 14853 5451 6319 1199 27248 14806 207 1669 21766 28532 28810 27859 12866 15570 17042 32529 892 6950 29944 29192 2124 25999 1542 15932 28929 12814 953...
output:
1863320 41303 34131 45329 31467 43838 30794 39857 39414 28669 21497 32695 18833 31204 18160 27223 26780 25412 18240 29438 15576 27947 14903 23966 23523 28694 21522 32720 18858 31229 18185 27248 26805 38368 31196 42394 28532 40903 27859 36922 36479 39701 32529 43727 29865 42236 29192 38255 37812 2490...
result:
ok correct plan, good job!
Test #24:
score: 0
Accepted
time: 5ms
memory: 3388kb
input:
45 26823 20177 12837 31754 21315 27747 9780 25939 18396 1449 25379 16522 18137 18373 22549 15219 28865 33862 14644 16995 4106 12409 23365 12006 9329 23281 31945 29332 8057 6231 24539 33180 26574 20764 6849 18965 6684 17488 5435 6188 5067 10512 7221 12455 2106 22711 7226 8460 23677 25158 206 27829 12...
output:
68331375 33629 34259 35297 34739 35169 32951 34037 37004 34347 34860 33454 34134 37576 34567 34808 37504 36712 33862 35396 35815 35593 32036 35518 30315 36493 35641 34133 34419 35376 34550 35352 35389 38890 36886 35602 37794 34335 34122 35855 34890 35092 35340 35116 36177 34986 33303 33933 34971 344...
result:
ok correct plan, good job!
Test #25:
score: 0
Accepted
time: 3ms
memory: 3424kb
input:
34 33593 22888 22260 14465 11760 21395 34903 26615 12817 18372 30285 9828 12558 22069 9208 29201 28304 30411 10265 2453 17850 8638 17161 28547 18275 20658 6755 18403 930 14649 2004 15830 10693 9506 11732 7068 28067 9132 13123 9059 20536 417 15350 4347 23479 28515 28028 7251 22330 21860 16373 13007 8...
output:
38613630 35926 31972 31692 33568 35703 34335 34903 34177 35004 33045 35072 33958 34332 34504 35157 36169 36035 35084 36888 33548 36429 33357 34093 37021 36714 34854 37197 35137 32250 34707 34164 35284 33528 35327 33120 29166 28886 30762 32897 31529 32097 31371 32198 30239 32266 31152 31526 31698 323...
result:
ok correct plan, good job!
Test #26:
score: 0
Accepted
time: 2ms
memory: 3392kb
input:
8 26814 9111 19387 13500 26322 19796 33901 8883 24233 25319 33541 2508 11421 10716 22566 28843 19701 11284 24747 3752 17242 4282 7525 33133 22298 16725 25911 32755 12982 23290 7047 8718 20320 3300 19650 21306 7990 34779 9086 20097 28114 14506 17617 19071 8931 32154 21047 14540 23049 31828 873 5060 8...
output:
2034040 40968 49747 44876 51425 35223 55427 33901 51114 29633 38412 33541 40090 23888 44092 22566 39779 22987 31766 26895 33444 17242 37446 15920 33133 22298 31077 26206 32755 16553 36757 15231 32444 20320 29099 24228 30777 14575 34779 13253 30466 28114 36893 32022 38571 22369 42573 21047 38260 2304...
result:
ok correct plan, good job!
Test #27:
score: 0
Accepted
time: 2ms
memory: 3472kb
input:
17 32676 9314 10438 11210 29428 1596 26611 8207 17707 15564 2170 29930 7485 7208 16271 15456 23268 1745 13380 4551 27949 3743 15654 18140 4904 18860 15083 20624 15909 24802 3078 9861 20920 8154 13602 19074 18003 31494 7393 9923 8688 18673 15233 4393 21002 26838 8231 10359 17362 11433 10937 1787 1808...
output:
9008980 32676 31935 44558 41106 34458 33355 35887 33081 35197 30902 34871 36450 41820 34047 33692 34077 33571 19519 18778 31401 27949 21301 20198 22730 19924 22040 17745 21714 23293 28663 20890 20535 20920 20414 23064 22323 34946 31494 24846 23743 26275 23469 25585 21290 25259 26838 32208 24435 2408...
result:
ok correct plan, good job!
Test #28:
score: 0
Accepted
time: 5ms
memory: 3636kb
input:
46 15782 10241 7208 14305 9001 9680 3657 2907 20300 25117 23165 13693 8101 5285 5056 2723 7756 31697 9298 15748 27028 5116 16501 11906 22556 28876 18131 6002 8112 2591 6645 16679 14614 16457 27317 30396 10322 18126 29927 23381 10783 26732 12842 13339 5151 3592 31499 2119 13387 18062 12448 29327 6482...
output:
70911070 34983 33226 32950 32442 33323 35145 29836 33045 32422 31414 33929 34657 32821 33987 32138 31820 30539 35015 33085 32851 32673 31074 32881 31446 33814 32696 33172 32569 33433 32230 31769 33430 30389 32234 33605 32770 34284 33364 29927 30999 32715 30915 33205 32094 30967 32559 36478 34721 344...
result:
ok correct plan, good job!
Test #29:
score: 0
Accepted
time: 0ms
memory: 3380kb
input:
22 23125 5926 20563 4722 27509 32109 24277 15558 6423 20285 32789 16796 20185 3598 21262 33058 27604 21172 28801 5147 17246 34656 3286 23942 31298 28295 18144 27587 29613 22177 30082 20232 615 20790 4845 3953 31916 27090 6506 24275 12925 4287 8559 612 29060 15593 21349 18209 23770 25600 9151 2987 19...
output:
15899686 28807 30971 33802 34975 33887 32491 34093 29840 32788 32301 35036 31800 32960 34453 34420 33298 31051 31136 32337 31281 33472 34656 26303 28467 31298 32471 31383 29987 31589 27336 30284 29797 32532 29296 30456 31949 31916 30794 28547 28632 29833 28777 30968 32152 29060 31224 34055 35228 341...
result:
ok correct plan, good job!
Test #30:
score: 0
Accepted
time: 3ms
memory: 3532kb
input:
26 18793 12028 10696 26484 18849 11372 30877 25274 22561 34891 22203 24964 16097 21051 8900 29040 15661 20448 16191 4808 24004 20518 32137 4093 33606 12516 2575 8719 9770 9224 29799 9509 15228 8341 31478 14313 8619 34604 23290 31265 12031 5410 13596 20972 6753 13380 29196 21254 8624 6312 12591 16797...
output:
22279062 34629 35355 35123 37028 34535 30894 33022 37453 35220 34891 36226 38346 33859 35081 32136 33233 33699 34793 36239 33277 35955 34135 35368 34222 36783 35164 30887 31613 31381 33286 30793 27152 29280 33711 31478 31149 32484 34604 30117 31339 28394 29491 29957 31051 32497 29535 32213 30393 316...
result:
ok correct plan, good job!
Test #31:
score: 0
Accepted
time: 2ms
memory: 3492kb
input:
9 7529 16707 23739 5127 19080 26873 2664 29087 18026 13313 18570 8680 30452 24441 20058 4815 6844 19847 11047 18640 29944 29626 21484 18569 18766 23045 25576 16265 14088 3818 9115 10685 7495 25710 30600 18493 18619 18121 15622 30932 24461 11695 27819 2644 31718 22504 16211 30300 25440 25291 15032 25...
output:
2201373 26070 16707 28011 28589 23002 26983 30495 33219 29375 27933 18570 29874 30452 24865 28846 32358 35082 31238 28003 18640 29944 30522 24935 28916 32428 35152 31308 23451 14088 25392 25970 20383 24364 27876 30600 26756 28413 19050 30354 30932 25345 29326 32838 35562 31718 28359 18996 30300 3087...
result:
ok correct plan, good job!
Test #32:
score: 0
Accepted
time: 3ms
memory: 3400kb
input:
31 12866 27462 28825 15726 3324 10124 4437 33897 8036 30991 30461 8929 460 6304 27160 7690 31572 28718 22175 28466 1623 23443 21752 31678 20389 31180 13150 34573 14370 27375 20109 163 26203 5524 12892 584 9488 6137 15862 34568 18737 9065 23032 4636 12636 657 10758 28832 1677 24196 14363 10033 8047 1...
output:
31875192 40256 39157 36915 41434 36009 39100 39495 38953 45096 39114 39301 41085 37901 37275 38144 38546 39360 39288 38330 36547 38130 40031 38577 36594 39671 38809 42051 34573 39576 38964 39287 29728 28629 26387 30906 25481 28572 28967 28425 34568 28586 28773 30557 27373 26747 27616 28018 28832 287...
result:
ok correct plan, good job!
Test #33:
score: 0
Accepted
time: 2ms
memory: 3376kb
input:
21 13038 28608 32526 22507 31071 22179 10215 24104 20745 22950 27879 23848 8729 34923 4875 34866 15841 10544 11793 13030 5712 30686 18308 9288 1791 32813 20079 12021 25049 23836 32273 29428 13805 24923 13461 31038 8628 21588 65 28857 23371 13532 13552 13196 27342 32216 13340 7972 12135 24648 5503 17...
output:
14250978 40272 33991 34989 39863 40328 35876 35483 35576 35757 33326 30481 32194 36494 36768 37831 34866 32518 38956 36022 39933 32793 39219 32938 33936 38810 39275 34823 34430 34523 34704 32273 29428 31141 35441 35715 36778 33813 31465 37903 34969 38880 31740 32625 26344 27342 32216 32681 28229 278...
result:
ok correct plan, good job!
Test #34:
score: 0
Accepted
time: 3ms
memory: 3572kb
input:
27 30709 22198 8988 12496 1337 29747 949 18966 34977 25732 29528 2517 25784 24136 22104 13677 26147 3747 9606 1795 20473 16033 32945 18444 20476 14433 34961 28507 27236 21226 1879 15608 26324 33166 18783 33942 16562 1578 32152 3728 2989 15017 23706 17907 18271 25331 30505 18153 12751 23611 11033 197...
output:
24124095 38542 35101 35405 34985 37965 32238 34465 30626 34977 34906 37004 34049 35263 34381 38680 37147 34432 34504 33633 34353 34939 36221 35194 34240 34125 38237 35502 37507 34066 34370 33950 36930 31203 33430 29591 33942 33871 35969 33014 34228 33346 37645 36112 33397 33469 32598 33318 33904 351...
result:
ok correct plan, good job!
Test #35:
score: 0
Accepted
time: 3ms
memory: 3564kb
input:
24 23721 6088 34623 28718 23572 30142 34419 26879 28014 19699 5972 3994 20360 18358 20379 8700 12182 29527 12247 6896 9356 11114 27637 23276 13163 28806 395 19548 815 10184 15445 20470 5763 31607 31165 4655 23834 28749 28008 16941 29272 11261 19899 5027 24359 24583 33485 4961 6173 10055 17515 19697 ...
output:
19316784 33316 35547 37003 38295 35432 31389 34419 38456 35266 35120 37661 34715 31825 36329 35146 38169 34718 33598 34190 33626 37868 33298 36998 35422 29803 32034 33490 34782 31919 27876 30906 34943 31753 31607 34148 31202 28312 32816 31633 34656 31205 30085 30677 30113 34355 29785 33485 31909 280...
result:
ok correct plan, good job!
Test #36:
score: 0
Accepted
time: 0ms
memory: 3404kb
input:
31 21247 14079 28247 8146 25572 24862 5221 20342 14356 8639 9471 26609 32383 31275 15231 28224 2963 22130 19417 18869 5198 18511 32541 16495 4330 24176 30732 6358 5927 32198 13934 14925 28124 4251 24481 30729 16786 33569 22020 14357 28590 26926 17649 27545 28861 19096 7016 4777 22828 1594 24460 3434...
output:
31757826 35818 32679 34643 37019 38310 35603 35784 36271 36266 35253 35419 36426 37197 39071 38717 34949 34691 34012 33975 35772 36553 35683 36071 35289 35139 37002 30732 35881 34617 38592 35633 33603 30464 32428 34804 36095 33388 33569 34056 34051 33038 33204 34211 34982 36856 36502 32734 32476 317...
result:
ok correct plan, good job!
Test #37:
score: 0
Accepted
time: 2ms
memory: 3472kb
input:
17 2943 6971 4351 16346 33770 19903 30303 20911 33458 18824 15856 8084 13653 25802 32857 26641 16347 20985 5334 24594 6411 29372 13669 17541 25178 34775 3564 5674 3860 3863 23179 4544 10458 21892 14680 8652 5120 34993 2062 8970 21931 28187 30034 12243 8234 9726 26286 18204 8843 27458 27748 31156 844...
output:
9173234 33971 31137 37217 40385 38805 33120 34296 34201 43359 31607 32077 35227 31678 31763 32857 37233 35583 25387 22553 28633 31801 30221 24536 25712 25617 34775 23023 23493 26643 23094 23179 24273 28649 26999 28579 25745 31825 34993 33413 27728 28904 28809 37967 26215 26685 29835 26286 26371 2746...
result:
ok correct plan, good job!
Test #38:
score: 0
Accepted
time: 2ms
memory: 3360kb
input:
14 2686 26937 19364 14912 31 22093 7787 23180 22292 14204 17385 30894 28885 3205 6390 25240 9099 20513 32063 26980 21654 561 27868 31751 14271 18357 16548 13148 16753 6006 17621 26538 5727 30973 16888 33807 22103 25945 6275 2747 13025 1807 1825 18035 34931 8617 19250 25401 23412 24196 31686 18151 85...
output:
6239464 29937 26937 31580 38830 41292 38836 31266 40039 28335 32218 34530 42683 32115 36109 29470 26470 31113 38363 40825 38369 30799 39572 27868 31751 34063 42216 31648 35642 23705 20705 25348 32598 35060 32604 25034 33807 22103 25986 28298 36451 25883 29877 33288 30288 34931 42181 44643 42187 3461...
result:
ok correct plan, good job!
Test #39:
score: 0
Accepted
time: 2ms
memory: 3388kb
input:
8 8730 19366 34056 17881 11791 3969 2797 28222 17768 16065 4316 17603 30811 4265 9164 2425 9177 15767 12377 18293 26808 29234 16591 31134 685 4111 10937 23148 24566 24537 6972 34665 5339 2405 15016 10078 8731 18804 24204 18919 28069 434 16804 7465 19700 4760 9618 10302 28809 15248 18148 15550 29404 ...
output:
1728080 45321 26911 34056 38414 41657 40378 43244 49931 34475 16065 23210 27568 30811 29532 32398 39085 34177 15767 22912 27270 30513 29234 32100 38787 30055 11645 18790 23148 26391 25112 27978 34665 26281 7871 15016 19374 22617 21338 24204 30891 28069 9659 16804 21162 24405 23126 25992 32679 33658 ...
result:
ok correct plan, good job!
Test #40:
score: 0
Accepted
time: 2ms
memory: 3400kb
input:
4 25902 27586 12942 17211 25738 12850 16921 5256 23053 11158 16316 29872 15607 27306 18255 325
output:
405804 27352 27586 18535 32091 25738 25972 16921 30477 25133 25367 16316 29872 27072 27306 18255 31811
result:
ok correct plan, good job!
Test #41:
score: 0
Accepted
time: 2ms
memory: 3460kb
input:
6 29710 11879 11907 18225 34338 11619 14494 21887 3523 33749 17033 6388 20564 11513 17419 21204 28236 2578 21828 13053 4268 25925 24009 18001 5982 29753 19416 1670 17454 14652 28374 8670 332 26950 15734 1826
output:
969804 46978 33858 23521 45720 34338 28330 35007 21887 11550 33749 22367 16359 40876 27756 17419 39618 28236 22228 36649 23529 13192 35391 24009 18001 42873 29753 19416 41615 30233 24225 28374 15254 4917 27116 15734 9726
result:
ok correct plan, good job!
Test #42:
score: 0
Accepted
time: 0ms
memory: 3336kb
input:
22 2688 10354 19852 18786 9226 233 23225 25920 25224 23903 32126 14423 12593 25946 6424 28964 23835 8381 25227 23785 15092 12304 18153 636 27368 544 29610 15724 10742 22056 6461 25387 2573 29046 12102 26583 27563 29054 16770 32196 29877 27208 31832 16087 25428 4529 12159 31250 34263 14964 27596 1017...
output:
15750438 35315 32707 28932 29734 32747 32786 32334 31933 31561 34431 32126 33539 31304 30778 29817 32262 31871 34111 27994 31405 29949 29538 37198 34590 30815 31617 34630 34669 34217 33816 33444 36314 34009 35422 33187 32661 31700 34145 33754 35994 29877 33288 31832 31421 36831 34223 30448 31250 342...
result:
ok correct plan, good job!
Test #43:
score: 0
Accepted
time: 3ms
memory: 3432kb
input:
29 25063 16710 16093 22503 28668 29700 17878 352 10332 25776 34849 31650 13356 31871 32369 10593 6752 24915 5822 13407 25445 2978 28529 12385 22748 12663 453 10032 18105 34416 28478 16123 11130 12569 17001 4960 34211 8917 33131 2447 10031 24559 19228 33325 16768 11417 894 6242 22040 31812 24836 2153...
output:
28539538 34472 32500 35440 32223 35076 35358 31206 36432 32894 33441 34849 31827 31941 32840 32861 39355 35316 36432 35850 36485 31348 34822 33805 35144 33617 33843 32912 34016 33367 34936 32964 35904 32687 35540 35822 31670 36896 33358 33905 35313 32291 32405 33304 33325 39819 35780 36896 36314 369...
result:
ok correct plan, good job!
Test #44:
score: 0
Accepted
time: 3ms
memory: 3480kb
input:
21 1645 28611 18475 31597 104 31173 19538 20504 7406 25704 21183 18805 7788 23454 1174 29166 20030 3489 18923 21684 15838 29695 34725 28499 10966 254 33243 12857 34514 5897 6063 28068 9445 23603 25395 4183 34179 16083 20896 16232 7555 1936 23546 10631 14099 15789 4137 30779 29366 18095 26203 3207 13...
output:
14229537 31852 33608 30148 31597 29570 31817 29557 31532 26615 30811 32649 31564 30892 30789 31208 31197 34767 28369 31032 28049 31437 34834 36590 33130 34579 32552 34799 32539 34514 29597 33793 35631 34546 33874 33771 34190 34179 37749 31351 34014 31031 34419 33073 34829 31369 32818 30791 33038 307...
result:
ok correct plan, good job!
Test #45:
score: 0
Accepted
time: 0ms
memory: 3464kb
input:
35 19330 25913 9222 30373 14853 352 22423 10262 26735 331 16251 23333 26427 25372 11833 10056 881 14975 16281 17658 1444 33728 18534 25314 13238 4870 29086 16685 30089 30906 28749 8864 1780 16949 8579 18411 18103 25635 23885 17795 1767 15467 32441 20057 17423 34196 2082 33848 21339 26366 22506 23400...
output:
41057905 34204 35871 34938 34983 32011 33262 34107 33560 35818 35584 33826 33926 33478 35393 35685 34248 37881 36961 35363 37096 34969 33728 34169 34324 35958 34340 34518 34193 30324 36421 36557 36663 36523 34036 35014 34574 36241 35308 35353 32381 33632 34477 33930 36188 35954 34196 34296 33848 357...
result:
ok correct plan, good job!
Test #46:
score: 0
Accepted
time: 4ms
memory: 3372kb
input:
41 11531 28291 17786 6146 7266 9064 17796 28837 4298 34001 24486 8636 23055 16191 24354 33392 34746 21129 22785 23159 9350 11723 14488 25558 24179 7368 19788 18056 857 25724 6188 2928 1064 8318 7042 31866 1963 7317 23938 5336 28164 23515 34974 3946 30060 30095 3292 31599 8703 23050 13985 21086 11066...
output:
56651586 37365 36745 35332 34685 36238 34981 37272 36784 36492 37186 35507 36398 38189 35517 40643 33392 35961 33125 36599 35647 36461 36047 36935 33104 36221 34839 37445 36172 36608 35127 35903 35835 36730 36617 36667 38110 36246 36834 34368 37242 37362 35594 34974 33561 32914 34467 33210 35501 350...
result:
ok correct plan, good job!
Test #47:
score: 0
Accepted
time: 1ms
memory: 3428kb
input:
11 7029 18167 3723 7031 34703 13105 24622 23493 2894 17007 19616 2744 24187 20411 1496 1197 15728 30610 2649 12441 18673 29440 16579 11259 1718 29133 1653 30682 31436 8446 28492 4601 28861 9845 18706 13980 1959 25279 9837 9536 19316 10984 21908 31719 18257 19851 21570 24234 25742 27999 23127 8229 12...
output:
3742959 41779 33441 31861 30526 34703 37402 39864 33550 29885 33488 41143 32525 24187 22607 21272 25449 28148 30610 24296 20631 24234 31889 40386 32048 30468 29133 33310 36009 38471 32157 28492 32095 39750 32355 24017 22437 21102 25279 27978 30440 24126 20461 24064 31719 35487 27149 25569 24234 2841...
result:
ok correct plan, good job!
Test #48:
score: 0
Accepted
time: 3ms
memory: 3324kb
input:
25 7258 8485 19069 17882 29179 34592 24365 21668 25360 20514 21458 5695 33467 30067 7627 32877 3443 19125 14582 1403 8663 13590 11576 28917 12719 3930 12269 7447 18459 2434 22743 32518 6135 14167 13443 13053 18619 14509 11700 6526 879 27653 5240 5746 24253 7762 26211 30624 23701 1447 12327 2386 4288...
output:
20400850 33345 34627 33894 33609 41513 40050 38717 35727 33746 35398 34288 38132 34299 35369 31817 32877 35586 36545 33926 33570 32754 37105 36823 35092 34980 27146 28428 27695 27410 35314 33851 32518 29528 27547 29199 28089 31933 28100 29170 25618 26678 29387 30346 27727 27371 26555 30906 30624 288...
result:
ok correct plan, good job!
Test #49:
score: 0
Accepted
time: 3ms
memory: 3464kb
input:
18 26544 30315 33140 7539 30287 2241 13156 13039 9258 30826 5331 30096 34129 24214 332 6148 27742 14674 23106 1583 25407 18689 4959 8812 529 5130 8916 23893 8180 4561 13607 2716 17812 24312 5098 21049 3707 29920 2738 20649 14825 25563 18383 15317 24670 11719 29705 23660 11600 16407 2238 26392 16589 ...
output:
10306044 40249 41752 42550 39300 39333 40078 43296 44384 41379 41787 41537 39101 34129 44521 43624 42553 41634 44740 23106 24609 25407 22157 22190 22935 26153 27241 24236 24644 24394 21958 16986 27378 26481 25410 24491 27597 28417 29920 30718 27468 27501 28246 31464 32552 29547 29955 29705 27269 222...
result:
ok correct plan, good job!
Test #50:
score: 0
Accepted
time: 0ms
memory: 3496kb
input:
25 31685 1895 9774 34264 32301 30230 3837 505 14051 20343 21556 18695 27402 6170 6287 31694 1506 34949 22813 10387 14085 1460 31628 32644 14699 2235 867 15668 14126 33513 23449 29907 19594 23783 19021 9983 21033 29985 28629 10872 3107 5910 25317 30134 25767 23399 6029 8302 1467 11421 8312 5110 13227...
output:
20728050 34308 34590 42240 37515 36343 35401 34694 31554 33372 37642 35717 36560 32815 36817 37726 32351 37874 34949 37262 37831 33847 35979 33978 36475 41035 31478 31760 39410 34685 33513 32571 31864 28724 30542 34812 32887 33730 29985 33987 34896 29521 35044 32119 34432 35001 31017 33149 31148 336...
result:
ok correct plan, good job!
Test #51:
score: 0
Accepted
time: 3ms
memory: 3584kb
input:
42 6676 8822 2397 22819 3396 7217 4562 10328 9381 26448 609 34308 14905 18415 22655 16887 9032 8059 4759 25479 146 30776 7949 5884 12496 23815 20741 17390 3536 7119 24257 28399 34988 18184 21369 25708 14611 15397 3361 4362 18218 11283 8421 8848 27179 20739 3359 8690 4450 34135 27163 29481 1510 27185...
output:
59181276 33639 37578 32260 33041 34055 37923 35451 35084 33039 32984 31766 34308 35928 34889 35504 36513 34994 34835 37986 31574 36541 36365 34120 35218 34620 35438 34433 37553 33227 31856 34736 35013 35084 35023 35815 35333 31045 32597 33416 34868 33844 34621 32690 36629 31311 32092 33106 36974 345...
result:
ok correct plan, good job!
Test #52:
score: 0
Accepted
time: 2ms
memory: 3528kb
input:
5 31934 27308 33690 13767 23569 8432 29246 5303 33580 12995 8422 7703 19312 5110 15418 17106 30988 8954 34062 33390 25108 21485 5805 9171 17958
output:
698505 31934 28311 34607 32645 30713 32869 29246 35542 33580 31648 16639 13016 19312 17350 15418 34611 30988 37284 35322 33390 25108 21485 27781 25819 23887
result:
ok correct plan, good job!
Test #53:
score: 0
Accepted
time: 1ms
memory: 3552kb
input:
20 2767 21911 26993 11037 33927 1356 997 7024 6524 14444 1519 15200 10218 32665 21131 870 13232 2254 18920 29040 9464 13765 16547 5147 27868 7991 23999 32590 12237 26654 17715 9271 12250 30760 25146 4816 20094 15320 30479 24514 3627 31961 9426 6969 20374 4773 31493 8720 19084 1396 5407 3682 3849 329...
output:
12653960 33670 32869 34356 26878 33927 24335 36557 33632 29399 30837 27937 30232 34873 33841 33000 32663 33625 32349 31521 33102 32628 31827 33314 25836 32885 23293 35515 32590 28357 29795 26895 29190 33831 32799 31958 31621 32583 31307 30479 32060 32762 31961 33448 25970 33019 23427 35649 32724 284...
result:
ok correct plan, good job!
Test #54:
score: 0
Accepted
time: 4ms
memory: 3444kb
input:
42 6927 21038 29889 24004 3319 19716 31380 30140 6078 33998 10263 22793 14382 12841 28973 18494 1969 1433 32852 19115 33065 26911 4668 20338 14213 963 15085 25646 21274 29426 30941 9352 373 34101 2939 2282 14388 8715 14096 27115 34200 3290 30226 30352 32445 1086 32696 17272 4655 18164 17713 7953 802...
output:
59077116 34655 36820 36741 37384 35615 36009 35527 35561 35223 34874 35298 34945 35117 35193 35547 35892 35957 36767 35420 37266 33398 34192 35769 33647 37516 33711 34140 36126 31032 35571 37057 35358 34012 35834 33139 39267 36221 34952 33928 38787 34200 37214 31736 33901 33822 34465 32696 33090 326...
result:
ok correct plan, good job!
Test #55:
score: 0
Accepted
time: 3ms
memory: 3456kb
input:
7 14397 30245 3738 10124 17911 5383 15345 26145 12483 24925 28555 31926 27448 26499 23132 13910 1596 5503 4124 12389 21462 12597 7204 29876 26484 17204 34321 23969 14643 27137 25266 34071 16351 7935 14309 3542 27716 21488 29103 6277 22429 27792 15105 24979 7546 5401 17591 27702 14843
output:
1433208 31991 30245 28523 37179 35524 32968 30321 28393 26647 24925 33581 31926 29370 26723 23132 21386 19664 28320 26665 24109 21462 33344 31598 29876 38532 36877 34321 31674 28883 27137 25415 34071 32416 29860 27213 29462 27716 25994 34650 32995 30439 27792 26725 24979 23257 31913 30258 27702 25055
result:
ok correct plan, good job!
Test #56:
score: 0
Accepted
time: 2ms
memory: 3484kb
input:
25 3950 30978 19641 19221 23601 5549 10702 23347 29701 26174 34272 620 34320 906 8229 30463 20006 5425 10602 7384 12798 23535 11859 21997 2218 5616 2086 25287 27742 1137 8256 26038 34735 34380 22210 4623 18998 12814 25328 19427 31884 17400 14005 3883 4737 7342 7182 28819 15048 10696 8904 21433 14113...
output:
20445300 36544 38345 31735 35747 37594 35168 35535 35597 35242 38157 34272 36833 38091 35908 35338 36926 35127 29785 36827 34213 32483 29468 37175 34104 34460 35682 37483 30873 34885 36732 34306 34673 34735 34380 37295 33410 35971 37229 35046 34476 36064 34265 28923 35965 33351 31621 28606 36313 332...
result:
ok correct plan, good job!
Test #57:
score: 0
Accepted
time: 5ms
memory: 3484kb
input:
41 10761 274 10096 18780 16967 311 27555 7298 8553 5297 10580 3798 28362 30961 20057 22400 8136 21065 27125 5356 15847 18740 4183 7191 33895 7322 23039 17006 11754 12153 31643 10246 28623 25022 8212 4073 29399 3800 14338 20683 16543 5975 20322 18537 30117 2405 23523 19333 23002 6847 12580 15579 2772...
output:
56503904 37049 32591 32168 33517 32178 30881 33293 33592 34941 34709 34458 37679 35030 35039 34794 34635 34137 30953 31593 33155 34911 35519 33377 37606 33895 34282 32664 35614 34445 34406 34819 34421 33245 32875 33738 35823 35052 34576 32489 33912 35490 35023 30565 30142 31491 30152 28855 31267 315...
result:
ok correct plan, good job!
Test #58:
score: 0
Accepted
time: 1ms
memory: 3468kb
input:
47 25594 23058 14401 31348 18128 4519 16952 1445 33142 17618 13767 3053 9849 11869 27268 20742 34244 20494 4773 12607 33478 11750 30281 4681 29801 10927 453 18127 26440 28836 27112 4329 19175 17197 20396 18010 15657 22840 24059 3740 24239 9720 17908 11041 33426 4276 21372 15224 17707 438 31087 17406...
output:
74925896 34347 32709 32705 34155 34155 36748 36234 34386 35696 36062 35195 34501 36486 37846 35433 36660 34244 34138 34565 35171 33859 34521 35678 35355 35446 37466 35532 36595 36053 34057 34132 34661 36384 36179 34721 35873 35474 36040 33640 34386 37729 34111 34944 33159 35725 37433 39975 34023 323...
result:
ok correct plan, good job!
Test #59:
score: 0
Accepted
time: 3ms
memory: 3500kb
input:
27 9613 31020 11487 6619 3741 932 20006 23115 11026 18330 4779 31422 2002 28538 25691 18499 34502 34367 27257 33389 19247 34352 33767 2121 10760 26435 6402 5837 19828 26660 8271 12790 30763 12719 23485 22203 23205 18903 4312 5223 6192 34547 29490 21002 20233 6725 12756 14996 12184 13749 457 22351 21...
output:
24557229 37301 35995 35072 35380 38564 34843 39979 34398 36419 36485 36824 38185 35561 36391 38627 38379 34502 38959 38017 34469 36895 34985 38967 34879 37920 35547 37330 33221 31915 30992 31300 34484 30763 35899 30318 32339 32405 32744 34105 31481 32311 34547 34299 30422 34879 33937 30389 32815 309...
result:
ok correct plan, good job!
Test #60:
score: 0
Accepted
time: 3ms
memory: 3484kb
input:
26 33898 12178 17904 20905 15855 20243 27709 12429 13148 6177 34486 25060 22503 27395 28372 29002 12308 11713 22389 20666 14016 28930 155 5084 1829 16535 20213 23035 33795 19394 27830 8604 9201 8261 23596 1270 28756 21180 2127 26740 14346 16777 30407 18189 3296 26377 2457 6639 8924 11556 1052 2966 3...
output:
21914698 33898 34450 35398 39346 32665 32603 36664 34373 39053 31652 35181 36065 31733 36136 34594 32882 32010 31660 35339 35459 33489 32999 36828 39626 36620 35048 32295 32847 33795 37743 31062 31000 35061 32770 37450 30049 33578 34462 30130 34533 32991 31279 30407 30057 33736 33856 31886 31396 352...
result:
ok correct plan, good job!
Test #61:
score: 0
Accepted
time: 3ms
memory: 3436kb
input:
26 17744 16920 13696 33676 27311 1766 21913 23566 4091 5912 4 31313 8895 223 3817 160 22748 13498 7607 4771 3468 9703 13258 10098 9768 24507 33648 25329 13046 33134 6735 19619 22112 32692 10957 25043 18494 19008 15387 12819 1866 31891 5423 32217 22143 19191 3714 29626 23352 30951 9720 20641 10976 12...
output:
22338108 32520 30461 33938 33676 33678 36839 33636 33412 31605 32437 30327 32320 32582 31888 28276 33357 29246 31089 32340 28312 33391 33114 33978 32921 32533 32140 33648 31589 35066 34804 34806 37967 34764 34540 32733 33565 31455 33448 33710 33016 29404 34485 30374 32217 33468 29440 34519 34242 351...
result:
ok correct plan, good job!
Test #62:
score: 0
Accepted
time: 3ms
memory: 3440kb
input:
32 17219 24873 4322 11427 20707 10850 31376 323 28612 29414 24257 15282 23264 34152 10128 14834 9426 7359 31222 22068 3483 11457 4792 33624 25301 32059 31560 13185 18524 21982 32914 16289 12259 30084 13142 15636 2481 9000 28946 30085 18003 3622 23927 8570 31135 28285 28579 14989 7244 6123 6833 16837...
output:
34212576 34289 35021 34838 31456 35115 35150 34753 33907 33721 36251 33551 35072 35755 34152 36350 38725 34598 36089 35947 35118 35473 33539 37514 36402 32924 35093 34692 35920 37164 35684 35319 33567 30467 31199 31016 27634 31293 31328 30931 30085 29899 32429 29729 31250 31933 30330 32528 34903 307...
result:
ok correct plan, good job!
Test #63:
score: 0
Accepted
time: 0ms
memory: 3508kb
input:
32 21184 17868 27635 16575 3349 14019 29666 27591 9337 1182 27616 32171 30653 12133 26287 5913 12320 24708 32589 21108 31205 14193 34831 7568 19147 20082 14339 3659 28331 19236 11163 8720 6614 29840 18895 29613 11541 34904 8001 21673 29281 21966 28973 7673 23636 26215 10131 33240 4906 2854 23854 326...
output:
34340544 38313 34111 33665 36299 35394 32861 34709 35981 40713 35010 33648 34930 31032 34362 30857 35288 35436 34519 35274 36827 34806 35371 34831 33529 28910 38538 35381 35753 36788 32770 38529 35692 40356 36154 35708 38342 37437 34904 36752 38024 42756 37053 35691 36973 33075 36405 32900 37331 374...
result:
ok correct plan, good job!
Test #64:
score: 0
Accepted
time: 4ms
memory: 3432kb
input:
35 34886 33502 4783 34513 1405 20903 21371 442 16450 22068 16799 11996 14822 34382 30023 32816 30349 30144 18024 10330 31211 16366 26506 1178 2230 5859 3746 7645 22472 12354 8895 16163 30295 28468 1595 16351 18805 8718 19804 18993 13704 20899 8401 11666 4879 12982 21590 27815 9127 4114 742 21902 303...
output:
41047650 34886 37625 34137 39950 33085 33820 33309 35135 35057 34976 29960 33486 35029 38278 36234 33276 35465 35723 35053 35277 34574 38274 34941 35438 35197 37643 32385 34503 34986 35876 40030 35683 35328 34594 35578 29671 32410 28922 34735 27870 28605 28094 29920 29842 29761 24745 28271 29814 330...
result:
ok correct plan, good job!
Test #65:
score: 0
Accepted
time: 2ms
memory: 3552kb
input:
21 4363 3923 4869 21422 20847 25332 27257 24051 1241 22812 7649 1533 26364 22430 21497 8042 28618 24736 15707 11858 6992 975 23769 30201 24328 21244 16391 19279 27235 25341 28514 5115 14388 8576 24452 24673 21224 6262 17492 18224 21913 9972 27033 3029 26281 29632 31754 4809 10146 1022 1940 19415 121...
output:
13943538 27726 29005 28785 26312 28434 25375 28811 27412 27837 27098 25318 28465 29383 25368 25143 24508 28618 25506 29853 25062 22908 29142 30421 30201 27728 29850 26791 30227 28828 29253 28514 26734 29881 30799 26784 26559 25924 30034 26922 31269 26478 24324 31046 32325 32105 29632 31754 28695 321...
result:
ok correct plan, good job!
Test #66:
score: 0
Accepted
time: 3ms
memory: 3284kb
input:
4 26869 2955 28956 8497 18704 7661 23045 15634 28868 5599 30064 3622 21 17416 13557 30368
output:
383412 27760 13572 28956 26524 21849 7661 23045 20613 28868 14680 30064 27632 31604 17416 32800 30368
result:
ok correct plan, good job!
Test #67:
score: 0
Accepted
time: 5ms
memory: 3560kb
input:
45 33666 31854 3131 681 335 4413 30971 32926 32374 25249 7787 22923 33741 18834 11227 20259 964 32703 23835 9810 10914 22597 29654 13190 11771 7565 33694 3256 23074 2742 706 2565 11709 32350 8103 14506 2925 23616 25846 12158 16771 20913 29957 4854 7455 22702 5016 29740 11256 18754 14496 14499 14329 ...
output:
68394555 33666 36109 39516 38923 34945 34477 32560 37519 36403 36017 35553 38620 35731 36290 38159 36340 35601 34770 35126 36052 38314 38694 35966 37140 37505 37191 36144 37376 37044 35832 36816 35777 34843 34633 37553 36438 38320 35126 37501 35062 34455 37414 36216 39404 36518 32149 34592 37999 374...
result:
ok correct plan, good job!
Test #68:
score: 0
Accepted
time: 1ms
memory: 3528kb
input:
34 11854 27821 7720 27877 27962 9259 11363 11318 33379 27473 14904 33313 27039 19235 11651 24795 12141 29173 15840 4792 24881 4872 20419 26111 18064 2596 11142 20205 14413 12157 25177 27193 18832 20855 23656 1149 14106 17269 7018 9200 1405 4351 25588 21465 27465 21352 5024 28729 33002 34088 21127 10...
output:
38766902 34690 32190 34803 33921 32723 34117 36785 32902 33379 33936 29271 34410 30985 30025 32270 33356 31777 33304 32336 33680 32509 33577 31761 33157 31585 31346 29718 32184 33750 31922 34285 35880 33034 32087 35422 32922 35535 34653 33455 34849 37517 33634 34111 34668 30003 35142 31717 30757 330...
result:
ok correct plan, good job!
Test #69:
score: 0
Accepted
time: 0ms
memory: 3384kb
input:
4 26103 4140 5682 23053 8522 3926 16266 29011 2100 22202 19893 1649 25027 14632 32630 8314
output:
439784 26103 36015 33706 46451 8663 18575 16266 29011 12290 22202 19893 32638 25027 34939 32630 45375
result:
ok correct plan, good job!
Test #70:
score: 0
Accepted
time: 6ms
memory: 3552kb
input:
48 1125 29114 9479 6689 18767 10968 25173 18260 11183 30041 3232 27091 16190 5699 19991 26663 14785 8381 14092 21913 20976 31869 9203 7115 6281 26845 30881 17110 28977 800 29967 12553 27661 21428 6613 28954 23135 26532 8741 26015 17966 8869 26105 29086 30771 34992 22001 16029 5880 9283 21367 20044 1...
output:
78234528 32546 34907 35085 33706 33638 33379 33039 33280 35807 34773 33720 35747 35399 34892 36130 31991 33017 36497 35426 33756 33115 34891 34347 35375 35781 33926 32590 32139 35849 33675 34276 33341 31854 33937 31507 35062 35719 34619 35341 35042 35063 34875 35444 33963 34475 34992 35331 37740 321...
result:
ok correct plan, good job!
Test #71:
score: 0
Accepted
time: 2ms
memory: 3388kb
input:
9 24266 22264 34254 23613 31773 16117 3420 18296 2838 14302 13923 7157 33411 19718 11472 12906 2640 16688 34209 30776 8263 9353 19786 26229 27839 29207 19561 12577 29927 17013 20038 13759 13035 20497 19707 25002 26475 1044 31945 4024 18969 8204 12492 33022 16327 478 13345 7090 4503 14650 17173 31130...
output:
2518767 34199 43111 34254 45789 32096 26219 40176 35331 39207 21821 30733 21876 33411 19718 13841 27798 22953 26829 34209 43121 34264 45799 32106 26229 40186 35341 39217 21015 29927 21070 32605 18912 13035 26992 22147 26023 31890 40802 31945 43480 29787 23910 37867 33022 36898 25153 34065 25208 3674...
result:
ok correct plan, good job!
Test #72:
score: 0
Accepted
time: 2ms
memory: 3480kb
input:
22 14430 21055 20469 11909 4931 17296 19857 25613 23041 25187 4699 9505 5639 23774 24061 8014 25068 26066 19413 21292 247 7953 26727 21932 4646 21840 14946 23913 15596 572 682 13896 5109 2434 1351 31315 8397 30900 15811 22049 2126 17966 7668 2757 6495 24478 33947 33116 948 1811 26116 32706 2410 3458...
output:
15773406 26732 27285 26569 29399 25324 26583 26011 26479 23342 26309 24208 28503 29411 26821 24432 26406 27651 26066 24115 25710 28764 26825 31226 31779 31063 33893 29818 31077 30505 30973 27836 30803 28702 32997 33905 31315 28926 30900 32145 30560 28609 30204 33258 31319 35011 35564 34848 37678 336...
result:
ok correct plan, good job!
Test #73:
score: 0
Accepted
time: 3ms
memory: 3404kb
input:
28 18350 25435 23110 341 23265 17141 2731 14937 30354 5797 21484 33269 27520 22564 8570 6252 5635 24472 30959 30082 7307 8509 29746 24784 15707 3121 8819 841 29073 29671 8482 18295 13056 2013 28189 11507 9407 17645 1722 7748 14242 8996 17096 17036 690 9839 33595 14659 18189 30133 33246 101 15670 355...
output:
26085080 33619 37331 34654 35508 37867 34840 35917 33601 35467 36604 33652 33269 37394 35098 34422 33577 37709 35623 36380 36409 32945 40703 36031 36661 36788 34607 32093 39675 30834 34546 31869 32723 35082 32055 33132 30816 32682 33819 30867 30484 34609 32313 31637 30792 34924 32838 33595 33624 301...
result:
ok correct plan, good job!
Test #74:
score: 0
Accepted
time: 2ms
memory: 3444kb
input:
8 3389 7406 33204 11727 11168 17131 34633 8651 6270 24211 17884 603 11449 13078 6584 8530 19868 12901 25714 33606 14676 6844 16829 25445 15425 25520 15829 17817 4755 6394 20950 29950 16899 10721 29588 25090 31655 30877 321 11253 33088 23278 5981 29392 707 25661 14327 17152 33876 15134 28283 24563 51...
output:
1960808 49387 46708 40381 48273 42448 41960 34633 43633 26890 24211 17884 25776 19951 19463 12136 21136 34720 32041 25714 33606 27781 27293 19966 28966 35704 33025 26698 34590 28765 28277 20950 29950 38594 35915 29588 37480 31655 31167 23840 32840 33088 30409 24082 31974 26149 25661 18334 27334 3728...
result:
ok correct plan, good job!
Test #75:
score: 0
Accepted
time: 3ms
memory: 3492kb
input:
31 11056 19846 21128 13628 29847 14510 21019 30482 21021 3080 22893 32545 20880 11840 6059 21263 31240 30860 23688 10818 27711 2191 4417 30292 14280 10700 9755 9397 20781 4438 21864 18695 1077 12983 1096 17039 14394 14543 23738 14869 14984 24324 15652 11520 25324 4682 34314 20588 32867 31358 20329 2...
output:
31781076 32520 34998 36177 36017 36192 34106 35101 37845 30532 35902 34832 32545 33230 38084 34787 35551 35761 34104 39344 36658 35396 33932 33800 38042 34120 35346 33371 35802 35091 34138 30636 31283 33761 34940 34780 34955 32869 33864 36608 29295 34665 33595 31308 31993 36847 33550 34314 34524 328...
result:
ok correct plan, good job!
Test #76:
score: 0
Accepted
time: 5ms
memory: 3456kb
input:
43 32860 1684 14943 16190 17407 30048 26535 34413 14725 15575 11663 9610 32441 23734 31855 18673 13753 4806 7632 16304 30656 22354 26717 14566 11195 25723 31599 32408 33212 10143 19492 24100 19355 19178 13554 11566 18630 405 26790 6702 20133 234 24536 29342 16231 964 6460 11334 1616 29949 13427 2904...
output:
62022297 34226 35685 37355 35546 36658 35544 36369 35371 34604 33203 34332 37351 34768 32817 34631 35596 36445 35516 34689 33160 31378 34718 34537 33251 32771 34880 34949 35975 33212 35499 36645 34685 33627 36105 33457 37605 33634 34091 34094 35772 36210 34233 36498 35317 36776 38446 36637 37749 366...
result:
ok correct plan, good job!
Test #77:
score: 0
Accepted
time: 3ms
memory: 3352kb
input:
25 21475 25676 8060 9483 27525 30161 7467 12681 10394 30108 17780 4880 21978 8973 19515 19751 34376 13221 19748 32657 11462 20514 24798 32440 27984 1946 23371 14280 26373 17700 14780 28653 33239 12064 30969 32101 6445 25609 28714 30091 1813 5028 2697 8226 34816 18072 25286 32551 14940 12633 33066 41...
output:
20700875 33815 33723 34590 38648 32765 33951 34231 33964 34304 35825 40149 32813 29583 35035 35056 32515 34376 31571 31966 33093 34439 33232 30828 34636 34126 35538 35446 36313 40371 34488 35674 35954 35687 36027 37548 41872 34536 31306 36758 36779 34238 36099 33294 33689 34816 36162 34955 32551 363...
result:
ok correct plan, good job!
Test #78:
score: 0
Accepted
time: 2ms
memory: 3440kb
input:
15 30739 9099 19915 9072 27982 20391 18483 34920 10998 488 5653 15693 34838 9212 34499 8055 10445 27605 9095 6240 12708 19323 25108 24694 8102 26524 8760 32569 10174 17422 21745 14791 32187 657 30271 28617 28063 4589 32715 17761 1894 23287 32602 17338 8261 1059 12199 19133 8612 12675 12590 31508 151...
output:
7244730 37306 35359 39396 39229 43696 37066 32204 36115 36856 37349 37156 33432 43201 43417 34499 26674 24727 28764 28597 33064 26434 21572 25483 26224 26717 26524 22800 32569 32785 23867 33165 31218 35255 35088 39555 32925 28063 31974 32715 33208 33015 29291 39060 39276 30358 36610 34663 38700 3853...
result:
ok correct plan, good job!
Test #79:
score: 0
Accepted
time: 1ms
memory: 3396kb
input:
24 4396 20668 23640 19541 10976 17281 29767 6797 15893 1527 28562 23728 33866 18028 4329 1247 24036 32469 17854 25380 17851 22009 618 7760 9201 17872 6778 18312 9340 32147 2324 4105 22226 27365 17193 14634 10304 18732 12372 33337 19844 1769 22568 18699 10677 15639 15613 19703 2893 19277 13512 31663 ...
output:
19201896 37224 32625 34504 37245 36936 39237 34375 35896 33370 35645 35191 32659 33866 37426 35141 40427 35971 37432 34437 33661 30575 29747 35428 29234 30134 25535 27414 30155 29846 32147 27285 28806 26280 28555 28101 25569 26776 30336 28051 33337 28881 30342 27347 26571 23485 22657 28338 22144 342...
result:
ok correct plan, good job!
Test #80:
score: 0
Accepted
time: 6ms
memory: 3472kb
input:
48 21630 15876 29414 175 17074 26171 15839 14360 18276 9103 11699 21162 15872 396 3903 18079 31820 32185 19550 25861 8645 1508 3580 34058 18252 31360 11963 33857 10066 5935 992 34012 10570 8009 20643 13644 15736 29145 27217 7520 32504 16655 23709 1060 21607 6512 8370 3309 26972 11115 22960 24092 198...
output:
78024048 33978 34399 34169 37315 35034 33930 34008 35733 33458 36038 34886 35613 34704 35555 35997 35783 36395 35372 33699 35065 35408 34068 35580 35634 35517 34780 34641 33857 30791 35570 35537 36258 31623 34050 31751 36158 34235 37117 35383 32535 34742 37420 33847 34595 34082 34747 36422 34972 348...
result:
ok correct plan, good job!
Test #81:
score: 0
Accepted
time: 4ms
memory: 3620kb
input:
40 19997 28891 12113 17333 11750 1135 27679 26884 5085 19932 32044 32321 19344 29283 19489 9892 24316 31214 5653 7085 3495 19402 23372 18045 12100 9652 18034 31488 2645 30548 18747 22747 24905 9213 11351 2193 5162 9238 16164 5167 27622 29540 11512 21992 17978 13132 991 6501 6761 21635 5568 591 20900...
output:
53412520 32271 31016 35002 36594 31820 32073 30664 36020 29312 33270 33726 33174 33215 34051 32630 34396 34967 34701 33905 32234 30799 34560 32652 32502 33186 33531 29652 34306 32512 30548 37291 27683 33009 33549 29305 30281 32152 33602 34301 32288 33724 32469 36455 38047 33273 33526 32117 37473 307...
result:
ok correct plan, good job!
Test #82:
score: 0
Accepted
time: 4ms
memory: 3496kb
input:
36 33237 4011 26196 24150 21787 14396 19501 34768 33894 29503 16989 18917 20598 19537 13843 7972 26750 3856 14782 14185 7705 23129 6359 10438 26049 31941 11674 18704 20236 16777 25642 29986 15819 3898 161 1083 17314 28448 34404 32207 24922 19703 21097 11583 10599 20099 19444 7566 9088 30256 21998 22...
output:
43180956 36008 33750 36699 34915 33547 35932 32521 35151 33894 35389 35289 34412 34968 33641 33574 34529 37116 35769 33881 36148 35056 36524 34533 32889 33098 37838 35383 37837 36184 34947 34270 38630 31382 33634 36862 32905 36047 33789 36738 34954 33586 35971 32560 35190 33933 35428 35328 34451 350...
result:
ok correct plan, good job!
Test #83:
score: 0
Accepted
time: 1ms
memory: 3412kb
input:
22 8710 23954 12115 19378 30598 20664 1364 13462 18761 12303 3573 21118 32761 25454 9843 21227 18752 15952 22355 6011 30603 26132 32864 25521 33117 10798 24319 34426 2916 3862 33250 4020 20059 33509 13113 8730 33295 19800 30730 31788 8783 1537 16168 29907 3395 8538 579 11115 22665 1358 4191 33200 30...
output:
15821564 33115 33128 37374 34501 33590 35062 38445 37539 34688 33397 35822 33760 34235 31063 33855 32133 31981 33761 35062 31914 30603 31757 32864 32877 37123 34250 33339 34811 38194 37288 34437 33146 35571 33509 33984 30812 33604 31882 31730 33510 34811 31663 30352 31506 28776 28789 33035 30162 292...
result:
ok correct plan, good job!
Test #84:
score: 0
Accepted
time: 4ms
memory: 3580kb
input:
31 17765 2636 9779 33844 11521 16448 6713 3132 6569 3852 19998 33778 16367 31937 32387 15038 13209 19459 4198 14515 4150 21047 28787 22605 30749 34186 24591 2712 6954 21196 7372 3864 11947 22890 32260 8980 5193 11715 7346 10722 13033 16396 9026 24392 6003 17178 34605 1045 16235 32599 30016 31675 188...
output:
31903836 35836 31704 33100 35484 32841 35804 34988 34513 31847 34513 31264 33778 35141 34997 34268 36023 33219 33669 34143 34593 33093 34134 35521 32742 34534 35324 33108 31355 34305 33318 35172 34418 30286 31682 34066 31423 34386 33570 33095 30429 33095 29846 32360 33723 33579 32850 34605 31801 322...
result:
ok correct plan, good job!
Test #85:
score: 0
Accepted
time: 3ms
memory: 3512kb
input:
31 34053 4372 759 1276 2746 24908 4506 13025 15918 6142 5290 12651 16644 22773 23367 10752 27880 29471 25726 3904 28235 23372 1401 10268 28278 34421 1969 19180 19632 11574 19111 25900 5749 12982 22197 34150 16129 12155 28008 24306 23856 12298 27590 33996 11071 20144 18101 14630 13452 27511 32453 228...
output:
32079668 34743 34606 34795 36004 33753 35880 32435 33500 34476 32449 32375 32590 33599 33834 33632 33551 35088 34006 33735 32310 32699 31107 32841 34345 33687 34421 33715 33357 34698 32567 33490 35140 35003 35192 36401 34150 36277 32832 33897 34873 32846 32772 32987 33996 34231 34029 33948 35485 344...
result:
ok correct plan, good job!
Test #86:
score: 0
Accepted
time: 6ms
memory: 3476kb
input:
50 5533 19265 20730 13475 34812 32703 9713 34129 31403 29318 4671 33294 31880 33644 33725 22731 829 26866 28924 25807 28663 4049 21413 1038 2023 311 6060 27453 19359 31418 13568 8063 25116 21749 6117 7368 26935 27898 24708 15175 29985 32987 31482 18798 10440 17761 27176 24419 29993 16047 3028 23042 ...
output:
84542750 33810 33462 35427 34429 35706 33982 34856 35160 36711 36191 33674 33719 34928 36122 33741 35992 35885 35172 34117 33330 34290 32998 35852 32561 33749 34767 36954 34925 33526 35160 32785 34758 34940 35366 34313 33264 32935 33664 34535 35477 33919 32987 35239 33739 33465 33356 34998 33055 356...
result:
ok correct plan, good job!
Test #87:
score: 0
Accepted
time: 3ms
memory: 3672kb
input:
50 6129 1217 14893 26488 13412 33942 14340 8583 34947 3292 21855 14067 7514 32170 16034 32356 25443 17852 12843 6704 11391 20537 2321 30140 18524 31200 28496 19285 11862 9741 14162 22076 18496 18882 17415 16080 30868 19401 10961 25501 3096 11469 32045 17778 5189 34460 5352 16611 14017 14227 12310 33...
output:
85450500 36298 37122 34046 37033 36614 33942 36410 35929 36592 38640 35902 38880 36240 36576 34737 38855 38323 34236 35487 37554 36676 37242 37449 36663 36703 36727 35643 36990 34817 36291 36884 38216 36324 37379 37319 38367 36396 37434 36693 36695 35309 38261 37313 36775 35917 37015 36240 37550 366...
result:
ok correct plan, good job!
Test #88:
score: 0
Accepted
time: 2ms
memory: 3616kb
input:
50 10951 8465 24200 8637 24663 22369 24817 33700 23520 29814 5556 25819 16269 26210 1635 18671 3870 29168 13987 7504 20910 30328 5257 33086 10949 31024 20627 18369 8113 15595 20523 22360 15395 12013 4053 38 7587 5114 7435 28657 8335 28422 9165 20899 14490 857 19520 15940 16604 24858 30178 6206 21337...
output:
84986150 32612 33894 32818 32709 33340 33722 34339 33725 33721 32750 33806 31310 33807 34473 33777 33498 33295 36431 33566 34005 34388 34910 35114 33086 33660 32185 32965 35080 35124 35302 35109 32392 34901 34636 33205 33641 33340 32793 30763 33220 34547 33498 34201 35651 33281 34139 34578 33254 344...
result:
ok correct plan, good job!
Test #89:
score: 0
Accepted
time: 6ms
memory: 3572kb
input:
50 28755 24649 2446 28515 34925 17762 28445 13697 1329 6416 29472 32960 15529 33992 17762 16974 10319 25859 29971 33549 21717 31705 6076 18406 24852 14526 21577 12950 34459 31829 819 10097 5347 8806 8484 301 1498 4315 901 30625 31932 7188 27187 34679 11794 32342 33371 31641 27448 14173 28849 9863 34...
output:
84451850 36177 36858 34622 36446 34925 35365 37457 36909 36878 38088 37391 35285 34890 34981 35749 36463 38072 38644 38266 34107 37071 36130 36355 35913 35185 38311 36811 36195 34890 38858 36331 37733 34401 32684 33197 37652 36713 35979 35623 34013 34548 35914 35259 36437 37354 34748 36044 36520 348...
result:
ok correct plan, good job!
Test #90:
score: 0
Accepted
time: 6ms
memory: 3508kb
input:
50 15870 17450 9148 30271 14439 33593 31508 30776 236 16160 33886 9460 8923 27838 16386 17837 11351 26263 31785 285 16778 14567 16567 15850 16261 1819 2233 4611 13304 32475 648 8680 7599 15881 26161 27193 8637 20182 18336 18239 7816 23938 33544 29961 29136 3662 318 12392 21650 15670 24861 6716 15674...
output:
85100100 35245 37452 35436 36934 35739 37397 34790 35397 37554 35077 36062 36208 35143 34441 35601 35946 33115 35224 35217 36739 36887 34783 34017 34070 35190 35422 36393 34051 37419 33272 35302 35989 35665 35843 33726 33685 34898 34958 33825 34699 35801 34944 33544 37527 37538 35876 34222 33974 359...
result:
ok correct plan, good job!
Test #91:
score: 0
Accepted
time: 3ms
memory: 3548kb
input:
50 31557 6122 1303 27854 5280 28000 34960 8279 27880 30945 12569 29748 21400 24491 10493 25828 26481 322 24783 10850 23841 18504 5471 30819 15786 19006 17495 28255 19105 18044 5687 31799 8426 185 29003 14056 31106 33039 3847 31325 174 5747 33692 12468 994 23008 2321 7387 1507 23676 23141 11659 7821 ...
output:
85093750 35924 35560 35514 36529 36004 34412 36486 35851 34002 35804 32353 36419 36755 34749 35099 36154 34709 33770 35452 33980 35740 34571 37921 33947 33046 36032 33439 37413 35150 35646 35442 35789 32713 35464 38559 35845 32328 35443 34571 34744 35856 35125 33692 36593 34573 34885 32510 34859 360...
result:
ok correct plan, good job!
Test #92:
score: 0
Accepted
time: 6ms
memory: 3664kb
input:
50 24119 1243 10873 23825 5460 31156 24333 11718 28247 19717 32895 22770 10118 8454 26409 21366 14986 20745 12865 29369 28564 21619 30366 34505 14449 34591 13953 30601 10995 7916 22009 5907 28481 21766 31199 21902 34607 16077 15207 19324 19801 30721 30968 9848 22347 29142 4670 20592 25421 9780 13119...
output:
84418100 35808 36931 34780 35554 35375 37205 34660 34983 36277 33960 34866 37222 37307 36063 34606 35385 37293 35931 34726 34141 36209 35839 33934 34505 34214 37079 37990 35808 36424 36503 37069 36019 36224 36607 36843 36445 35261 33809 34842 35898 33889 34695 35383 36129 35047 37077 35600 34211 366...
result:
ok correct plan, good job!
Test #93:
score: 0
Accepted
time: 3ms
memory: 3564kb
input:
50 22028 16570 32007 6053 7540 6438 5814 6182 3299 7970 30154 20570 20667 21362 10216 27106 6148 12610 27528 27118 7611 4055 25145 8748 1157 15544 13748 25941 32299 1270 1999 16843 25824 24600 17417 20548 24786 16993 16993 22132 30338 20154 5749 13116 3209 21725 27330 32291 25426 30902 27913 28961 2...
output:
84609200 37452 32551 32007 31514 30184 31688 30445 32749 31844 31710 33199 32182 31817 34118 31775 32292 31291 32457 33548 32273 33331 31937 32421 33208 31767 32073 29883 33082 32395 30713 32037 30635 35482 32664 30887 31451 30118 30665 30566 31575 31932 33246 32010 32282 33855 30360 30489 32501 316...
result:
ok correct plan, good job!
Test #94:
score: 0
Accepted
time: 6ms
memory: 3436kb
input:
50 21009 17090 21945 22058 682 10161 26890 11031 15968 27671 3682 12348 2602 17567 29291 7949 22712 17975 4637 34951 15395 16731 3085 32470 19668 12964 16828 1658 3106 20122 32533 34726 3635 30744 28662 6549 9749 9377 12715 5075 27091 24711 14654 31010 6865 3103 25844 17815 9353 14752 6248 22015 118...
output:
84731500 34627 36814 36076 36300 35443 34805 36337 34911 36530 35144 36249 37674 36209 34912 34674 37221 34927 35753 34746 39159 35061 36666 36500 33195 35991 35650 35239 35290 34958 38038 37776 34726 37256 36506 35437 36551 35761 35556 37094 36273 37453 36974 35289 35602 39833 34974 37753 37870 368...
result:
ok correct plan, good job!
Test #95:
score: 0
Accepted
time: 4ms
memory: 3512kb
input:
50 0 1 0 2 2 1 2 2 0 2 1 1 2 1 0 1 2 0 0 0 0 2 1 0 0 1 2 2 2 2 2 0 2 2 1 2 2 1 1 2 2 0 1 0 0 0 2 2 0 1 0 2 0 1 1 2 0 0 0 1 0 0 0 2 2 2 1 0 2 2 2 0 1 1 0 1 2 0 0 0 1 2 2 2 1 2 2 2 2 0 0 0 0 0 2 2 1 2 2 0 1 1 1 0 1 1 0 0 2 0 0 1 2 2 2 1 1 1 1 1 2 1 0 1 2 1 2 0 2 2 2 0 1 0 2 2 1 2 0 2 1 1 0 2 1 0 1 0 1...
output:
5000 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2...
result:
ok correct plan, good job!
Test #96:
score: 0
Accepted
time: 0ms
memory: 3456kb
input:
8 3231 4 0 4 4 7 33090 27114 8 28950 12573 8953 6 3 10 26397 32867 4904 0 2950 4 8 2 4 28423 13121 0 8 0 0 22369 9 28365 2915 9 30989 5 27616 0 1 2007 1 2 6 10 28111 9253 7 29841 3 1184 7 9 897 22208 9 10256 22745 8 4 30565 6 10 3
output:
1617192 50758 29667 17891 48871 37487 46000 38915 27114 50041 28950 17174 48154 36770 45283 38198 26397 32867 11776 0 30980 19596 28109 21024 9223 34212 13121 1345 32325 20941 29454 22369 10568 32876 11785 9 30989 19605 28118 21033 9232 32869 11778 2 30982 19598 28111 21026 9225 34051 12960 1184 321...
result:
ok correct plan, good job!
Test #97:
score: 0
Accepted
time: 2ms
memory: 3308kb
input:
8 10 18673 0 4 19099 7 32656 6 10 3 6 3 5 6 0 32604 5 0 24559 0 7 4 6261 8 9 2913 10 2 12394 2 28742 19505 8 2 17745 18367 5 10 4 0 3 25022 4 2 4 3 6 6 5 28561 4 4 6 5 6 17133 10 1 0 7 18298 0 7 5
output:
1240456 3923 32479 28477 22280 22211 3923 32656 36517 10 28566 24564 18367 18298 10 28743 32604 5 28561 24559 18362 18293 5 28738 32599 9 28565 24563 18366 18297 9 28742 32603 10 28566 24564 18367 18298 10 28743 32604 3 28559 24557 18360 18291 3 28736 32597 5 28561 24559 18362 18293 5 28738 32599 10...
result:
ok correct plan, good job!
Test #98:
score: 0
Accepted
time: 1ms
memory: 3496kb
input:
8 19051 5 3 7 29489 7 6 4 19808 10094 1 11030 0 2265 6 8806 21747 9 0 6 29041 1 6 1 9770 17152 16524 12887 29925 3877 7 1 34644 10598 4 15531 34076 9 9 5 9547 20024 5 29275 19009 21405 7 2 7 1 8 30664 5 4 2 20853 23068 7 468 32774 6 4 9 19378
output:
1326312 30057 10542 9914 33219 29489 11923 454 21305 29609 10094 9466 32771 29041 11475 6 20857 29609 10094 9466 32771 29041 11475 6 20857 36667 17152 16524 39829 36099 18533 7064 27915 34644 15129 14501 37806 34076 16510 5041 25892 39539 20024 19396 42701 38971 21405 9936 30787 29605 10090 9462 327...
result:
ok correct plan, good job!
Test #99:
score: 0
Accepted
time: 2ms
memory: 3396kb
input:
8 2972 0 1 2 7 10 23194 8 17658 0 6 4 32190 0 4 2509 5 6 3 4 5 7 6 10 9 10 17951 9 13194 5 0 23038 0 5 25699 7527 8 2 6 9 6 11699 10 3 2 9 1 6 19974 8 5 6 1 23398 1 9 5 23583 5 25168 5 7925 1 0
output:
1315128 23193 34886 48887 36471 37725 26617 23194 46222 17658 29351 43352 30936 32190 21082 17659 40687 5 11698 25699 13283 14537 3429 6 23034 9 11702 25703 13287 14541 3433 10 23038 5 11698 25699 13283 14537 3429 6 23034 6 11699 25700 13284 14538 3430 7 23035 19974 31667 45668 33252 34506 23398 199...
result:
ok correct plan, good job!
Test #100:
score: 0
Accepted
time: 2ms
memory: 3548kb
input:
8 0 25437 1 4 1 25317 7 10579 6 10 5 10 8 14579 8 13517 7899 8 5 5 7 9 0 1 8 2 6 10 21543 24353 30217 4 8753 29096 4 2182 23858 2 1917 2 8 11680 2 24468 5 4073 5 26018 7 3 0 20801 28373 10884 5 7 4 11924 9379 10 2 33823 4 1
output:
1346128 8767 25645 873 12835 20407 25317 29081 14385 7899 24777 5 11967 19539 24449 28213 13517 7899 24777 5 11967 19539 24449 28213 13517 9903 26781 2009 13971 21543 26453 30217 15521 12218 29096 4324 16286 23858 28768 32532 17836 20400 37278 12506 24468 32040 36950 40714 26018 16733 33611 8839 208...
result:
ok correct plan, good job!
Test #101:
score: 0
Accepted
time: 2ms
memory: 3396kb
input:
8 21312 9 10 1 5 33433 3 20461 2 15400 23259 2 0 2 6 7 2730 8 6 6921 5 3 5 6 1 10 26858 9 3 3 4 3 2732 9 8 10 1 10 6 20026 26933 34860 29042 7 1 5 6 7 4 2 7 5 5 23157 5 10 28000 9 8 5403 3 2 22000 2
output:
1241072 21312 29239 40694 20755 13839 36991 15312 33864 7473 15400 26855 6916 0 23152 1473 20025 7478 15405 26860 6921 5 23157 1478 20030 7476 15403 26858 6919 3 23155 1476 20028 7474 15401 26856 6917 1 23153 1474 20026 26933 34860 46315 26376 19460 42612 20933 39485 7478 15405 26860 6921 5 23157 14...
result:
ok correct plan, good job!
Test #102:
score: 0
Accepted
time: 2ms
memory: 3392kb
input:
8 6 1 12372 2 3 15010 8 0 15735 8 19602 17276 3 6 6 6 3 7 5350 4 20798 21693 6 4368 10 4 21606 6 9 32185 4 26445 8 10 5 8 7 4 4 7 7 1 9 6 25386 0 3 3743 0 6 4 29046 6 6 5 33636 18001 3 7 9 7 12495 0 10
output:
1121528 18009 14 13691 11365 25391 21695 8 15955 23920 5925 19602 17276 31302 27606 5919 21866 18007 12 13689 11363 25389 21693 6 15953 28499 10504 24181 21855 35881 32185 10498 26445 18005 10 13687 11361 25387 21691 4 15951 18004 9 13686 11360 25386 21690 3 15950 35690 17695 31372 29046 43072 39376...
result:
ok correct plan, good job!
Test #103:
score: 0
Accepted
time: 2ms
memory: 3460kb
input:
8 18907 4 10 6 6 6 6 1 5 10 19112 4 5 6 8 6 3032 6 9 3 26239 9 28706 4 12580 1 33899 8 14839 1 7150 0 4430 6 16663 8 10 5 9 7 34726 4818 7 9 7 9 3 6 26077 7376 3 34127 18142 7 0 5 10117 0 8 3 2 5443 0 3
output:
1095712 29912 4 19106 16031 46 5445 2513 5 29918 10 19112 16037 52 5451 2519 11 56105 26197 45299 42224 26239 31638 28706 26198 44705 14797 33899 30824 14839 20238 17306 14798 29914 6 19108 16033 48 5447 2515 7 34726 4818 23920 20845 4860 10259 7327 4819 48008 18100 37202 34127 18142 23541 20609 181...
result:
ok correct plan, good job!
Test #104:
score: 0
Accepted
time: 2ms
memory: 3552kb
input:
8 1 8 9 9 28374 2 33183 3 9 6 5 6 10030 6 26935 19640 0 10 25938 10 0 5 8 13676 8 32122 33570 4 34314 1 5 7617 5747 9 26550 7277 9 10 5463 11660 0 4 3 27095 7 8 8 17125 9 0 2467 16812 14775 10 6 5 3 30537 11569 0 28684 12828 8839 7788
output:
1411712 17347 35057 38150 35858 37249 17348 33183 25888 11099 28809 31902 29610 31001 11100 26935 19640 5135 22845 25938 23646 25037 5136 20971 13676 14412 32122 35215 32923 34314 14413 30248 22953 5747 23457 26550 24258 25649 5748 21583 14288 8584 26294 29387 27095 28486 8585 24420 17125 9 17719 20...
result:
ok correct plan, good job!
Test #105:
score: 0
Accepted
time: 2ms
memory: 3448kb
input:
8 8834 17019 2 6 6 29586 8 26029 1 2 7 2 4 7005 5377 9 3 2 18412 6 10 3 24453 7 5 1295 12366 2 19055 1 9 0 3 19063 24021 10 5 7 1 6 8 8 25818 31772 3 0 8930 10 6 4 7 7 0 5276 6 1 4249 1 1 5 7 10 2 9
output:
1092704 30269 26032 30990 36944 37679 33025 37031 26029 4249 12 4970 10924 11659 7005 11011 9 17691 13454 18412 24366 25101 20447 24453 13451 11645 7408 12366 18320 19055 14401 18407 7405 23300 19063 24021 29975 30710 26056 30062 19060 25097 20860 25818 31772 32507 27853 31859 20857 4241 4 4962 1091...
result:
ok correct plan, good job!
Test #106:
score: 0
Accepted
time: 0ms
memory: 3456kb
input:
33 7 3 6 10 21424 8 10 1 702 34929 5 9796 3 0 14113 3 23409 2 20831 10 6 8040 5 10854 27994 4 1 12183 13861 3 9668 7 5 6 33055 10 16180 2 7 19576 10 28284 0 10 8 0 3 13318 3 7 32050 8 0 9 8 9 29243 5 16819 6 23102 0 10 1 5 8 13920 22987 16165 32712 2 5 4 16018 1160 7 5 8 10 1534 16805 1 6 6 17186 2 ...
output:
33147411 45103 35282 44075 38962 38092 46982 39152 40607 41352 34929 39420 37825 36475 35495 39021 41540 44825 34277 40098 35998 35067 43157 42372 35299 38733 35289 42762 35012 42964 35204 45811 39434 37527 42876 33055 41848 36735 35865 44755 36925 38380 39125 32702 37193 35598 34248 33268 36794 393...
result:
ok correct plan, good job!
Test #107:
score: 0
Accepted
time: 5ms
memory: 3488kb
input:
43 8495 0 1 8600 2 7 4 2131 3 4464 5 4 6 6 10 4 3593 8 2 10 2 10262 9 10 3 26142 0 2 5 8 1 7 4 3 2 3 29903 10 17829 7 1162 22385 5 10 0 5 2 5 6 1 8 15766 3 0 23303 26270 1 7 7 21666 10582 8 3105 10 10 1 0 9 5 12939 6 17504 25369 2467 8 5 26239 33465 19591 5 10 29869 10 5 9 0 14565 6 7 2811 2546 6 6 ...
output:
57720921 31962 29086 32098 30647 28141 30127 24329 34982 26781 28758 32054 30314 33418 37144 27348 26910 25807 24306 28073 31790 43738 35250 30525 28535 28762 30933 27033 27339 28327 30814 43070 32580 30331 31112 33199 30251 29903 26062 29603 33654 30782 31747 24816 32228 29352 32364 30913 28407 303...
result:
ok correct plan, good job!
Test #108:
score: 0
Accepted
time: 4ms
memory: 3544kb
input:
42 10553 12279 3971 10 1 9 34784 5 30485 1 29997 31719 18240 2 0 4 8660 8910 9 15723 10 3 19084 1 8 3 3 1 8 32225 0 8 9 0 29840 3 25838 25525 5 6 6 8 6 7 14687 24167 3 25090 5 0 29337 1 8 22509 2 16444 4 14539 9 7 3217 8 25375 3 4 14705 12809 33371 2 8 30563 8583 8 4 5951 0 11192 10 5 20469 1 4 7 3 ...
output:
56521206 40867 36100 37560 34165 33076 37267 46709 38635 35006 36721 29997 35872 36943 37451 37877 36209 36005 39204 34126 35241 33190 32479 32490 37730 42247 39040 32463 33420 40199 36558 37813 38672 35172 42420 37539 31265 38398 35288 37573 36964 37653 33600 35198 30431 31891 28496 27407 31598 410...
result:
ok correct plan, good job!
Test #109:
score: 0
Accepted
time: 3ms
memory: 3380kb
input:
23 7 19772 0 7 9 9 21129 6111 4 27866 6 8 10 32344 33236 3 25985 5 0 34327 24974 9 33025 8 22559 10404 24556 13375 2 3 24195 12482 1 1 7 1114 9 1 2818 33231 486 9 9894 4 10 34132 2 29036 8 3966 4 10229 21366 1 5 1 9 5 6 7 8 10 24823 10 6 1 5 11613 1 2 2993 7 3 34059 4 23631 2 7 4 9 0 2069 31352 4 4 ...
output:
15502368 41942 47637 45833 38756 47590 64326 39967 36073 38194 46776 47672 60232 46503 43874 51919 48881 45109 37310 35829 34327 55424 47683 48327 30064 35759 33955 26878 35712 52448 28089 24195 26316 34898 35794 48354 34625 31996 40041 37003 33231 25432 23951 22449 43546 35805 36449 23341 29036 272...
result:
ok correct plan, good job!
Test #110:
score: 0
Accepted
time: 3ms
memory: 3396kb
input:
27 8088 30132 8054 8 0 10 9 2 10034 10 10 4 8 24437 0 8 8 6 33683 18730 0 31860 15266 1 7 3 4 5037 4 2110 6 4372 9 4 26931 4 20541 5 25885 1 30672 9 25931 5 4 8838 28675 27707 5 18516 2573 10 11284 1238 7 4 9 0 25095 5 3 26741 8 1031 1 25523 19051 9 10 2 7 2 2 34818 18381 0 0 5 1 24192 5 0 11692 284...
output:
21650355 27186 33323 33655 47476 36958 25198 29352 28367 36246 35457 30667 28117 22182 37009 39048 30962 34764 35186 33683 36444 36024 35953 19952 33465 30142 29298 32643 25750 31887 32219 46040 35522 23762 27916 26931 34810 34021 29231 26681 20746 35573 37612 29526 33328 33750 32247 35008 34588 345...
result:
ok correct plan, good job!
Test #111:
score: 0
Accepted
time: 2ms
memory: 3364kb
input:
32 1 32313 0 2 29225 2 8 7 5 5818 7 2 3 16824 24041 9 9 10 5 1 8 4 0 6 7 3 1 32834 2 7 32308 9 13063 5837 5 1 10 5 10 4 25282 5 5 3 15961 20110 2 6 4 3 5 29340 545 4 7 2 7 8 1 9095 7 4 7 19896 1 27920 9 8 4 10 33243 6 8 28377 6 8540 7785 27821 27062 33929 26978 2 0 4 3 0 12531 5 8 0 3 93 1 26883 8 7...
output:
30822144 38970 34890 38653 38804 29225 37701 40213 41996 35358 41464 35678 33417 37468 35537 42169 39872 39952 30100 38537 39416 38542 37343 43602 44238 32115 39103 34333 35911 38079 32826 37293 32877 28894 24814 28577 28728 19149 27625 30137 31920 25282 31388 25602 23341 27392 25461 32093 29796 298...
result:
ok correct plan, good job!
Test #112:
score: 0
Accepted
time: 5ms
memory: 3560kb
input:
45 0 1505 6 4 4 7 8 30486 2 10 0 14308 7 1 11403 9666 10 31027 29984 6 8 9 0 30617 9 7 33559 9 5 5 4 7 24609 29218 0 0 7 4 2 1996 3 5 10 12601 6 10 7 0 12929 5 1 3 0 5 3 3 18965 4610 0 33233 10 10414 9 2 5 8081 5 1 33398 9 3 5 10 3 8 3 7 10 4 10 976 5 4 5 8 7 0 6187 32388 0 15435 6 31305 2 0 4 17656...
output:
62358030 37083 39701 40655 33723 41604 41187 43729 41233 40408 38362 35002 37597 38552 38425 41569 32745 37143 31027 40221 39354 40760 33917 38713 40084 36860 38626 34508 30312 40998 42779 33319 34332 38632 34352 45368 33373 38578 37300 35221 39546 34638 40119 35639 39074 32554 30397 33015 33969 270...
result:
ok correct plan, good job!
Test #113:
score: 0
Accepted
time: 2ms
memory: 3460kb
input:
17 0 8 5 3409 6 33539 7521 31795 2 2 21932 31510 7 0 3739 4 9 1 34588 2 2 34242 6 5 8 21514 2 5 13906 7 4 17834 20573 18653 6 6 32372 5 1 2 3 0 8 2 4 18774 2 10 0 5 27625 9 2 9 3 8 6 10 5 9 25012 2 32809 15815 4331 8394 1 5 3 10548 34396 9 31617 10 10 0 1 7 8 14418 32101 6997 1 9 8078 4 24872 7 2422...
output:
7625741 51068 58411 49988 62211 47209 33539 50713 51095 42328 46563 41420 54360 52794 37627 47134 33540 45241 38101 45444 37021 49244 34242 20572 37746 38128 29361 33596 28453 41393 39827 24660 34167 20573 32274 33452 40795 32372 44595 29593 15923 33097 33479 24712 28947 23804 36744 35178 20011 2951...
result:
ok correct plan, good job!
Test #114:
score: 0
Accepted
time: 5ms
memory: 3452kb
input:
43 9 19819 1 6 1518 22696 6 1 2 8 0 18779 6 4 3 5 2 0 1 2 1647 1231 9 0 11803 1077 4 4 6 25213 4 3 12745 6 3 5 4 3 3 31922 6 1 33587 17992 3652 9 4 908 9 28699 10 24719 8 5 24159 2 3 21199 6 3 30899 9 2 9 21688 28896 8 1 11175 5 4 19986 14894 6 10 1861 16155 7 9 181 5 1 5 9 1 5 0 0 10 9 5 9 9 8 3 7 ...
output:
57662871 33050 30220 26275 23382 23288 27893 34015 28025 26073 23842 29452 32908 32152 28376 26102 30785 30371 32253 25424 34116 28581 29311 34344 30630 24146 27110 26841 26752 30036 26328 33858 27002 28621 28923 24312 27421 31046 37635 27935 31922 30155 18809 35331 31696 28866 24921 22028 21934 265...
result:
ok correct plan, good job!
Test #115:
score: 0
Accepted
time: 2ms
memory: 3444kb
input:
17 26380 6 3 3 8 584 31832 9 0 0 1 2158 7 7 4 6 2778 15076 10 0 5 5 31067 4 10 9 9 2 7 16676 8 18207 8 8 0 6 9688 5 0 6 0 22428 6 25433 9 8 9 5 0 6 9 9 26380 4 3 7 9 8 5 6 9 8 21668 1 10 8 458 14570 5988 5 10 7 29960 21138 10 1 25508 7 8 29978 10 34687 8 9 25436 11428 4 12769 5 30036 1 5 2 10 6 2429...
output:
7681552 28905 37913 15590 11536 32857 42101 31832 27133 29447 30138 37351 33404 32008 39641 29241 32644 28333 17871 26879 4556 502 21823 31067 20798 16099 18413 19104 26317 22370 20974 28607 18207 21610 17299 24200 33208 10885 6831 28152 37396 27127 22428 24742 25433 32646 28699 27303 34936 24536 27...
result:
ok correct plan, good job!
Test #116:
score: 0
Accepted
time: 6ms
memory: 3576kb
input:
49 1 4117 8 12739 2 2 4 1 10 9100 12162 25509 2 29931 10 5 34891 8 3 3 9 2 7332 2 2 27775 3874 15715 11839 10 4 21718 9 9 3 10 0 0 4 3 2 7 6 23189 7 13607 19441 109 30051 24244 7 3 2 25087 6 6 34732 0 8 6 15503 22462 3 24757 5 7 7 0 2 5454 18056 31973 492 21849 0 6 11365 5 0 2 29451 8 10 5 0 1788 7 ...
output:
76282612 25494 27950 29308 29035 34261 33657 27858 32877 33106 30199 25279 34324 24943 38802 32435 33150 34891 24967 35228 29003 28608 29050 32252 30116 36461 35221 27138 29500 29421 31574 28429 33204 29485 26958 31840 35052 26259 26874 33163 32179 31226 25668 26527 29954 27669 36252 33637 35742 331...
result:
ok correct plan, good job!
Test #117:
score: 0
Accepted
time: 0ms
memory: 3456kb
input:
4 4311 8 9 26049 4 6 9 6 0 1 1 2 6 7 8861 4
output:
139664 26047 26049 34902 26049 4 6 8859 6 0 2 8855 2 6 8 8861 8
result:
ok correct plan, good job!
Test #118:
score: 0
Accepted
time: 2ms
memory: 3352kb
input:
2 0 7 5 2
output:
24 10 7 5 2
result:
ok correct plan, good job!
Test #119:
score: 0
Accepted
time: 2ms
memory: 3552kb
input:
20 0 10 1 1 5 8 7 3 29333 6 22184 9 0 1 9 8 32036 10114 0 6 10 0 7 1 8 8 0 5 14495 26362 22166 4301 5 23296 10 4 6 1 34250 5 158 6 2 6 5 6 5 5 5 8 4662 6 1592 13200 6212 17488 28424 18384 5 1 1 18640 23777 4 10 27987 1 5 7 10 4353 28106 9 6687 8 10 28945 9 8 5 5 7 7 3 2 11308 23883 1 5 9 6 26882 1 2...
output:
11007480 42530 28292 41902 50171 42495 40180 30692 37334 49993 34712 22184 42533 40783 35146 36450 27661 38597 50008 34268 54513 42512 28274 41884 50153 42477 40162 30674 37316 49975 34694 22166 42515 40765 35128 36432 27643 38579 49990 34250 54495 32357 18119 31729 39998 32322 30007 20519 27161 398...
result:
ok correct plan, good job!
Test #120:
score: 0
Accepted
time: 0ms
memory: 3400kb
input:
29 2 6 7138 18043 10837 3 31168 0 2 5 2 1 6 12759 6 10 4 0 6 2 9 30348 7 4 25017 1 2 7 0 28308 5 3 6 9 6361 9463 14284 10 4 2 5 5 1 7 6065 2 1975 8 5 14948 7 10 29884 31787 9 29684 5 5 3 4 10 0 0 4 8 1 29162 5 5 3 13400 3 1 10 3 4 32602 4 0 16691 28726 3503 4 29303 26247 4 4 0 1 2 4 10 7 10 1 15996 ...
output:
24426149 29896 36742 26834 37921 28582 33250 45565 36569 49811 38111 22756 29454 27064 28598 32177 34949 25584 45149 40323 29374 46703 30348 35598 39812 33375 36175 37729 30812 37353 28308 35154 25246 36333 26994 31662 43977 34981 48223 36523 21168 27866 25476 27010 30589 33361 23996 43561 38735 277...
result:
ok correct plan, good job!
Test #121:
score: 0
Accepted
time: 2ms
memory: 3420kb
input:
5 9 4 5 0 8 1 9 5 3 1569 5 9 10 6 5 5 7 1 4 2 1 4735 9 0 2
output:
31635 9 4738 12 8 1574 4 4733 7 3 1569 7 4736 10 6 1572 5 4734 8 4 1570 6 4735 9 5 1571
result:
ok correct plan, good job!
Test #122:
score: 0
Accepted
time: 3ms
memory: 3496kb
input:
28 0 26844 24088 0 6 9 3 7 2 0 6 8 8 10 9 9 2 2 5 5 7 2 14505 27222 32143 8 2 6059 6 9 9153 3 29560 4 4 8 7 0 0 6 8 10 2 3 8 4 4 11316 5 3 3 0 2887 5 3 10 6 7 5 9 8 20825 9 7 8 7 28950 11450 7 5 1 10 2 10 0 10 4 6 5 4 6 6 6 7 0 4 3 10 16194 10 10584 10 0 3 2 6 1 8 5 10 1 6 9 4 3 9 2 10 0 28602 10 9 ...
output:
16525740 42630 26844 38917 57009 45088 38936 51205 26845 58325 35620 47061 46253 40504 26844 38585 33754 26845 55925 39892 26844 35522 39530 26847 51990 40787 55437 38891 40964 27102 11316 23389 41481 29560 23408 35677 11317 42797 20092 31533 30725 24976 11316 23057 18226 11317 40397 24364 11316 199...
result:
ok correct plan, good job!
Test #123:
score: 0
Accepted
time: 1ms
memory: 3428kb
input:
34 5406 6 7 4 7 1 1 0 1 10 8 10 10 9 3 0 10 9 1 7 7 6 1 7 3 3 5 1 24046 5 7 14514 8 10 3 5 6 7 5 7 8 3 3 0 0 10 9 6871 2 3 6 4 1 32429 4 0 30810 5 3 5 1 3 4 0 1 4 4 8 9 19614 4 18347 10 3 7874 3 1 2 0 5 5 1 0 10 9 5 5 1 10 3 1 1 5 1 33722 10 2 8 9 2 6 8 10 7 9 5 0 4 10 0 6 7 6 10 9 9 7 4 7 0 10 5 2 ...
output:
23136252 28147 15677 19510 21192 39227 10205 19179 10211 14927 26423 13588 16524 13307 22290 10206 24690 12832 10207 17317 32799 10207 34677 31180 24306 10207 13349 29785 37275 24046 13980 21936 20375 23917 23966 27777 15307 19140 20822 38857 9835 18809 9841 14557 26053 13218 16154 12937 21920 9836 ...
result:
ok correct plan, good job!
Test #124:
score: 0
Accepted
time: 4ms
memory: 3368kb
input:
38 5 7 5 4 9 3 6 0 6 4 8 9 12828 0 10 7 4 7 2 9 0 1 7 2 5 9 6 3 6 3 4 1 6 0 9 8 1 5 22945 8 2680 2 0 5 5 1 1 6 0 1 16474 9 5 10 16500 0 8 4 2 0 9 2 0 0 7 0 10 5 7 8 3 9 7 9 2 1 4 2 9 8 4 1 5 4 8 0 7 4 8 2 1 2 7 9 5 5 10 10 9 5 9 8 6 4 1 8 5 7 2 1 9 33881 4 2 1 1 3 2 9 3 1 0 1 7 0 0 10 7 1 3 15306 4 ...
output:
28206906 22580 10464 6749 18019 7826 14476 27222 14146 17090 20805 8 8563 16109 6506 28499 12 30471 27355 13843 14860 10507 669 6657 11 28082 27589 10983 12063 20671 9 27085 13 9523 17817 18105 33882 33949 9777 22945 10829 7114 18384 8191 14841 27587 14511 17455 21170 373 8928 16474 6871 28864 377 3...
result:
ok correct plan, good job!
Test #125:
score: 0
Accepted
time: 3ms
memory: 3504kb
input:
50 0 7 6 0 0 4 1 7 6285 21404 4 2 2 4 9 9 6 9 5 3 9 3 9 1 4 9 9 8 1 3 21530 6 10 1 31586 6 5 5068 8 4 5 8 7 0 10 10 7 1 0 4 10 5 8 7 10 9 1 7 1 9 5 4342 3 1 7 10 5 28146 3296 10 2 1 34620 4 8 4 10 7 6 9 7 0 6 8 3 8 4 10 3 0 6 7 6 2 7 7 9 10 4 6 8 1 7 0 9 10 3 5 8 9 0 6 9 4 4 9 6 3 3 10 10 6 6 6 4 1 ...
output:
58865250 24198 35229 17760 16413 24802 23143 12082 8791 25646 21708 11681 7293 11194 23692 26441 3353 23089 13070 18414 17258 15385 24923 19544 20721 24048 18893 5828 7474 23567 20667 27276 13742 3355 20316 31586 32293 23315 16973 9070 16079 3456 30193 37125 3346 29532 26402 19565 13338 10990 36677 ...
result:
ok correct plan, good job!