QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#430582#7281. How to Avoid Disqualification in 75 Easy StepsAdamGS80.000001 12ms3792kbC++2311.7kb2024-06-04 00:31:302024-06-04 00:31:30

Judging History

你现在查看的是最新测评结果

  • [2024-06-04 00:31:30]
  • 评测
  • 测评结果:80.000001
  • 用时:12ms
  • 内存:3792kb
  • [2024-06-04 00:31:30]
  • 提交

answer

#include "avoid.h"
#include<bits/stdc++.h>
using namespace std;
typedef long long ll;
#define rep(a, b) for(int a = 0; a < (b); ++a)
#define st first
#define nd second
#define pb push_back
#define all(a) a.begin(), a.end()
ll dlu=30,W[1000]={960598528,671352143,144803264,307261481,876685443,595693579,16790756,905976203,452207232,638727697,36080160,664920064,136724872,811276320,617382112,130564225,860946709,304242762,144742596,742533135,92489216,541381056,285739251,85729410,138420590,574888708,812384545,731296,359731233,411085040,201870153,323141808,947953416,874604805,98959936,299511808,843424290,324277251,17073872,453230596,180891713,692191872,806365485,801251345,399512588,420219521,72222213,294664768,61346834,957397026,750891266,312494980,673644976,834699288,611386648,1040329094,953681152,4241736,264290592,352461792,616599821,98566217,418988034,910214221,10516616,445595680,1006646482,526393480,553920265,16880802,41452098,33989000,700975392,690128133,277382537,287322521,579080406,738332885,570954556,125310464,616564423,638191176,26757280,271071756,254985216,806421240,302175328,957118720,806365650,806635084,299171892,949290632,774376104,41287704,741554176,193105920,966795297,403705800,289680288,956337026,542508800,840716292,808453678,55072768,693280788,302304392,509084552,805447196,957400452,637618962,964886698,340420644,286278251,943200261,201616401,671504513,977807376,849922065,592644098,613859361,472584193,539018262,161039361,344604692,688395448,273928448,822183174,906588192,474752034,410552448,71360547,69992490,22183945,645222400,948982053,16909740,671221617,833392641,408421204,68245580,379070848,1029443592,138495764,884085808,840993987,743342083,143197092,883463240,558801408,8919825,319360800,886874128,880943960,392368130,872584578,548471345,914444440,615043616,83972739,35692730,530087940,814223779,203958160,102780956,942194853,682887776,316212272,172622090,647311362,396624904,378151064,679565361,352365193,573775920,420493596,890013988,538091826,688488508,541136608,747847687,772162065,272905290,18024996,549716634,688135314,555223493,606273957,76703824,285482373,857999397,21014176,342884544,847451273,911802561,927728960,678828288,839091496,579014981,1029996592,211817509,5014554,354561025,1047792640,545654861,714776578,499254274,557860011,811078034,71371347,155648041,855716937,954476609,373326230,311529508,542171792,682123680,991723585,711336065,19112001,24379474,389120005,42221615,956449549,810639441,813858906,304418842,791151105,375396384,403025024,100714826,688395843,286411786,278798345,587465675,235145688,84444245,59053056,866390432,914927108,558138124,1031819504,67395723,55681537,80873992,71568593,968753408,996148241,716046416,944785033,842170884,35788426,411437410,638084296,822160962,637012032,304230514,691601544,843546641,270844768,950567056,547366411,1010832270,692070981,136338443,629481560,209740611,17761316,227803273,922985488,948164610,386949345,604450824,115441760,872434401,344468532,552739848,576762144,890286864,239094812,10553461,408883204,446825000,705074690,100835429,1380433,698810374,136847970,327811077,687902064,294691145,549538186,673458954,1010921540,940185675,581966345,255934473,369295969,869290114,671875975,941760811,814018608,692388044,329850920,638976232,675161152,166461572,873169172,614271016,367006848,272778850,688997184,570758740,11341920,1040531724,35691809,607985665,540607044,370148558,417087632,210801304,787226624,713183812,206506368,304565248,137519236,34415296,134285114,23208708,70279712,254020112,54020102,11423744,423780890,939706530,51447914,570716744,21040387,134783281,822621474,839199010,340001389,151431178,747160850,537559745,828412454,956829033,612647641,151322803,290073864,352327796,340599300,295047556,612438882,605561383,69227186,272933401,274803520,1053818883,42992957,109150920,340951840,604543144,822404610,403489408,212107266,746673286,553671458,470646790,139513408,204771392,738288424,337683501,436431360,543327312,839962765,67375850,809585761,763887682,142914052,890544140,456261728,815120408,690242690,328260608,266932480,286336027,46475272,676597860,817389580,873501844,274842768,705171045,182192129,428493057,714096648,591396976,554249354,184621064,403761161,840976290,728154176,573423872,19218501,1025165312,625312801,621825921,404390416,369395741,843073772,630491648,956997736,40079372,254546112,789426176,55609377,849381384,285501634,1058291969,306458384,973638158,612453776,646713872,691273766,724582800,537971242,705704424,563217473,790103576,5646368,1014120706,14995464,540280972,944310553,287637771,78685376,964692844,83920675,58329856,756035847,710250624,313868480,815007507,944882188,810846342,546341604,640813648,1015896576,1008427016,692420944,755027970,347080849,588657152,470325267,337854528,19980418,406985272,818160808,552608274,421810688,69743777,504390960,337909261,219816992,805449836,620760633,840733440,276578400,268602899,549847377,8935174,540378640,748700240,98566960,151830793,510264329,463208992,1006672472,580948545,932864,326123556,807964996,622951488,663748898,154534403,902308360,740355328,24215712,621038756,210964552,469812772,1016598570,335817372,76581304,545798786,838935729,650291200,21695504,872942871,555815366,202056450,907168773,981525584,168856852,151110192,605503504,700563523,841235462,827348032,709630128,890767946,947916451,281788417,847589636,135075088,608649800,570739203,279465472,405038408,1056306,420815012,738396693,141861121,80244742,438375177,69339478,295470208,69274726,578946458,807601368,974418242,135923753,58738777,578950243,705626243,290783754,55092225,453552387,814297113,940903169,137380947,678789192,650445186,586351104,35652089,8530369,673350482,941625012,156705792,327684424,805393665,924852544,157586688,276842647,147494976,547369620,100947137,321847816,953582596,458031120,281600768,642390530,738347800,631775494,809567389,622938147,5248804,637797814,687882615,402925909,752895297,134351590,763986304,940621940,582631489,315100290,1056994944,875217923,95504384,588530198,58738442,671226163,75772257,608186993,279281793,563681296,940680960,428510240,806360409,42485424,5398852,2622588,947917405,338338048,891324044,642908472,104861819,169968258,640360452,16843676,738496820,285335720,841287200,315885830,475286020,688064713,811600527,325210152,544014349,289622276,939591870,381198368,894976049,805604937,910444592,352919701,587351388,873202164,1596452,547359527,548866049,50480263,42534402,407404899,554730078,640290980,675284453,34614424,142879265,484476416,621058369,42485092,848200712,234951632,478644288,740366992,915275918,741572618,846393344,689643777,674239234,809306626,671764832,658776069,343408913,789585930,610703364,725688546,34079071,303637511,812253632,615579971,671494306,121399296,20983870,2703896,541068890,31621505,338323969,440467500,143238664,970983706,244455552,402668557,957567136,38683776,35727556,818252802,269749546,891408464,584351784,826673300,118133256,611328180,405021893,354435532,538055114,411051476,270143510,782372096,25186988,76292115,94379330,606899216,35960848,897998848,472976544,405812224,134513719,578824251,4608014,33694377,942703074,744013896,206767236,814482545,371458886,136342578,682427136,874578463,300089608,169084288,810057948,453645572,836780102,8548626,881342272,705694641,683705115,200288260,889852705,612631620,62915076,186089730,538469953,874096640,319166561,950290752,489030816,571480231,596910352,304219029,273175122,810123817,17452224,76062886,412116006,545311137,88233224,30509312,572698816,876744516,626311168,1042351124,363905537,448021520,873892112,830472431,2178088,610927156,798860,269681699,822690160,918749268,856216084,168578306,880879638,436230215,873259013,579273266,604118062,859209856,700732448,687890590,140662288,690368532,4250117,547400262,414421008,546709574,445056257,8996946,161366034,19531804,898867328,1093827,830487825,728041600,847987584,857769066,809918672,4416006,576720268,809535336,620806609,806387867,541151526,852503648,623403024,612481025,746624057,1153632,814812172,78786563,906594437,950363140,809579912,537568388,78037252,943985187,1018822786,541591490,203964634,587211475,545559201,671158862,329843776,270935058,272646969,67601028,839507986,805337114,806429318,818825224,17698960,545917048,674317416,545267168,272777619,780149133,634913068,269523214,605160690,975782020,183009287,556302995,71901259,32260610,81092640,824247937,303072069,34833476,712606720,89687074,8540683,376930,402818281,17130880,404755742,542156098,71651347,76120657,587547296,306976296,822651440,550510684,159495172,277661764,840254530,705196417,824934432,23642122,469862756,16830569,87066642,553846098,656744592,708896864,676004878,95551500,68244501,587792487,692197529,303061328,283279394,6570629,554027028,704967681,893503616,813979944,608932864,336091540,843199824,541102,606247808,34365496,1029308484,637800637,740430343,613994624,604377347,218182181,404791383,778080277,676474496,620830340,717494338,206074904,550633633,278708482,807545490,142787640,8397622,639209538,974211720,575610946,120457218,137510937,874783352,644614408,568477712,856105312,755262052,679552624,177807888,1013155864,843157554,302016021,69503178,818061868,138445493,101189270,622104714,235685409,541107140,449183780,205535652,853624096,138450352,407052688,844108737,945838784,362828032,38801424,142663950,708325456,838904908,964834848,167956753,717406344,21602372,34751170,209895622,921174066,721448488,205062432,508585986,354225216,348996616,411180116,566300805,336083046,840761672,889589254,346493568,918578176,755163712,22087888,56189184,744563714,627590148,8693028,436475793,805369988,193003794,686837761,6301059,688409300,278954922,285368373,611647748,286398148,914524214,673292568,80283652,5316097,553649782,906692928,153626696,958006417,545719490,677982336,17142056,75727617,67265825,847294609,92672280,571546134,411263105,442593793,671621837,940123404,843093062,638779538,977443969,67720202,814773000,453411148,875570949,476186691,675958984,168051066,59023424,240796160,627673600,811884820,722092066,203329568,220252204,110264640,907084201,419510576,167873545,136584280,159695632,874557962,884736020,206570146,755700288,437329984,322470152};
pair<int,int>solve0() {
  rep(i, 10) {
    vector<int>A;
    for(int j=1; j<=1000; ++j) if(j&(1<<i)) A.pb(j);
    send(A);
  }
  vector<int>T=wait();
  int ans=0;
  rep(i, 10) ans+=(1<<i)*T[i];
  return {ans, ans};
}
pair<int,int>solve1(int x) {
  int po=x, ko=1001;
  while(po<ko) {
    int sr=(po+ko)/2;
    vector<int>P;
    for(int i=po; i<=sr; ++i) P.pb(i);
    send(P);
    vector<int>T=wait();
    if(T[0]) ko=sr; else po=sr+1;
  }
  return {po, po};
}
pair<int,int>solve2() {
  int a=solve1(1).st;
  int b=solve1(a+1).st;
  if(b==1001) b=a;
  return {a, b};
}
pair<int,int>solve3() {
  rep(i, 10) {
    vector<int>A, B;
    for(int j=1; j<=1000; ++j) if(j&(1<<i)) B.pb(j); else A.pb(j);
    send(A);
    send(B);
  }
  int x=0;
  vector<int>T=wait(), P;
  rep(i, 10) if(T[2*i] && T[2*i+1]) P.pb(i); else if(T[2*i+1]) x+=1<<i;
  if(P.size()==0) return {x, x};
  int a=x+(1<<P[0]), b=x;
  if(P.size()==1) return {a, b};
  rep(i, P.size()-1) {
    vector<int>A;
    for(int j=1; j<=1000; ++j) {
      if((j&(1<<P[i])) && (j&(1<<P[i+1]))) A.pb(j);
      if(!(j&(1<<P[i])) && !(j&(1<<P[i+1]))) A.pb(j);
    }
    send(A);
  }
  T=wait();
  rep(i, T.size()) {
    if(T[i]) {
      if(a&(1<<P[i])) a+=1<<P[i+1]; else b+=1<<P[i+1];
    } else {
      if(a&(1<<P[i])) b+=1<<P[i+1]; else a+=1<<P[i+1];
    }
  }
  return {a, b};
}
pair<int,int>solve4() {
  rep(i, dlu) {
    vector<int>P;
    rep(j, 1000) if(W[j]&(1ll<<(ll)i)) P.pb(j+1);
    send(P);
  }
  vector<int>T=wait();
  rep(i, 1000) rep(j, i+1) {
    bool ok=true;
    rep(l, dlu) {
      int x=0;
      if((W[i]&(1ll<<(ll)l)) || (W[j]&(1ll<<(ll)l))) x=1;
      if(x!=T[l]) ok=false;
    }
    if(ok) return {j+1, i+1};
  }
  return {-1, -1};
}
pair<int,int>scout(int r, int h) {
  if(r==10) return solve0();
  if(r==20) return solve2();
  if(r==30) return solve3();
  return solve4();
}

Details

Tip: Click on the bar to expand more detailed information

Subtask #1:

score: 10
Accepted

Test #1:

score: 10
Accepted
time: 1ms
memory: 3568kb

input:



output:


result:

ok Correct: 10 robot(s) used, 1 hour(s) passed

Test #2:

score: 0
Accepted
time: 1ms
memory: 3540kb

input:



output:


result:

ok Correct: 10 robot(s) used, 1 hour(s) passed

Test #3:

score: 0
Accepted
time: 1ms
memory: 3496kb

input:



output:


result:

ok Correct: 10 robot(s) used, 1 hour(s) passed

Test #4:

score: 0
Accepted
time: 1ms
memory: 3520kb

input:



output:


result:

ok Correct: 10 robot(s) used, 1 hour(s) passed

Test #5:

score: 0
Accepted
time: 1ms
memory: 3576kb

input:



output:


result:

ok Correct: 10 robot(s) used, 1 hour(s) passed

Test #6:

score: 0
Accepted
time: 0ms
memory: 3572kb

input:



output:


result:

ok Correct: 10 robot(s) used, 1 hour(s) passed

Test #7:

score: 0
Accepted
time: 0ms
memory: 3788kb

input:



output:


result:

ok Correct: 10 robot(s) used, 1 hour(s) passed

Test #8:

score: 0
Accepted
time: 1ms
memory: 3548kb

input:



output:


result:

ok Correct: 10 robot(s) used, 1 hour(s) passed

Test #9:

score: 0
Accepted
time: 1ms
memory: 3712kb

input:



output:


result:

ok Correct: 10 robot(s) used, 1 hour(s) passed

Test #10:

score: 0
Accepted
time: 1ms
memory: 3576kb

input:



output:


result:

ok Correct: 10 robot(s) used, 1 hour(s) passed

Subtask #2:

score: 5
Accepted

Test #11:

score: 5
Accepted
time: 1ms
memory: 3592kb

input:

\x14

output:


result:

ok Correct: 20 robot(s) used, 20 hour(s) passed

Test #12:

score: 0
Accepted
time: 1ms
memory: 3456kb

input:

\x14

output:


result:

ok Correct: 20 robot(s) used, 20 hour(s) passed

Test #13:

score: 0
Accepted
time: 1ms
memory: 3736kb

input:

\x14

output:


result:

ok Correct: 20 robot(s) used, 20 hour(s) passed

Test #14:

score: 0
Accepted
time: 1ms
memory: 3776kb

input:

\x14

output:


result:

ok Correct: 20 robot(s) used, 20 hour(s) passed

Test #15:

score: 0
Accepted
time: 0ms
memory: 3560kb

input:

\x14

output:


result:

ok Correct: 20 robot(s) used, 20 hour(s) passed

Test #16:

score: 0
Accepted
time: 0ms
memory: 3584kb

input:

\x14

output:


result:

ok Correct: 20 robot(s) used, 20 hour(s) passed

Test #17:

score: 0
Accepted
time: 0ms
memory: 3564kb

input:

\x14

output:


result:

ok Correct: 20 robot(s) used, 20 hour(s) passed

Test #18:

score: 0
Accepted
time: 1ms
memory: 3456kb

input:

\x14

output:


result:

ok Correct: 20 robot(s) used, 20 hour(s) passed

Test #19:

score: 0
Accepted
time: 1ms
memory: 3588kb

input:

\x14

output:


result:

ok Correct: 20 robot(s) used, 20 hour(s) passed

Test #20:

score: 0
Accepted
time: 1ms
memory: 3512kb

input:

\x14

output:


result:

ok Correct: 20 robot(s) used, 20 hour(s) passed

Test #21:

score: 0
Accepted
time: 1ms
memory: 3544kb

input:

\x14

output:


result:

ok Correct: 20 robot(s) used, 20 hour(s) passed

Test #22:

score: 0
Accepted
time: 0ms
memory: 3560kb

input:

\x14

output:


result:

ok Correct: 20 robot(s) used, 20 hour(s) passed

Test #23:

score: 0
Accepted
time: 1ms
memory: 3740kb

input:

\x14

output:


result:

ok Correct: 20 robot(s) used, 20 hour(s) passed

Test #24:

score: 0
Accepted
time: 1ms
memory: 3564kb

input:

\x14

output:


result:

ok Correct: 20 robot(s) used, 20 hour(s) passed

Test #25:

score: 0
Accepted
time: 1ms
memory: 3736kb

input:

\x14

output:


result:

ok Correct: 20 robot(s) used, 20 hour(s) passed

Test #26:

score: 0
Accepted
time: 0ms
memory: 3712kb

input:

\x14

output:


result:

ok Correct: 20 robot(s) used, 20 hour(s) passed

Test #27:

score: 0
Accepted
time: 1ms
memory: 3584kb

input:

\x14

output:


result:

ok Correct: 20 robot(s) used, 20 hour(s) passed

Test #28:

score: 0
Accepted
time: 1ms
memory: 3516kb

input:

\x14

output:


result:

ok Correct: 20 robot(s) used, 20 hour(s) passed

Test #29:

score: 0
Accepted
time: 1ms
memory: 3456kb

input:

\x14

output:


result:

ok Correct: 20 robot(s) used, 20 hour(s) passed

Test #30:

score: 0
Accepted
time: 1ms
memory: 3712kb

input:

\x14

output:


result:

ok Correct: 20 robot(s) used, 20 hour(s) passed

Test #31:

score: 0
Accepted
time: 1ms
memory: 3516kb

input:

\x14

output:


result:

ok Correct: 20 robot(s) used, 20 hour(s) passed

Test #32:

score: 0
Accepted
time: 1ms
memory: 3664kb

input:

\x14

output:


result:

ok Correct: 20 robot(s) used, 20 hour(s) passed

Test #33:

score: 0
Accepted
time: 1ms
memory: 3568kb

input:

\x14

output:


result:

ok Correct: 20 robot(s) used, 20 hour(s) passed

Test #34:

score: 0
Accepted
time: 1ms
memory: 3744kb

input:

\x14

output:


result:

ok Correct: 20 robot(s) used, 20 hour(s) passed

Test #35:

score: 0
Accepted
time: 1ms
memory: 3516kb

input:

\x14

output:


result:

ok Correct: 20 robot(s) used, 20 hour(s) passed

Test #36:

score: 0
Accepted
time: 1ms
memory: 3560kb

input:

\x14

output:


result:

ok Correct: 20 robot(s) used, 20 hour(s) passed

Test #37:

score: 0
Accepted
time: 1ms
memory: 3588kb

input:

\x14

output:


result:

ok Correct: 20 robot(s) used, 20 hour(s) passed

Test #38:

score: 0
Accepted
time: 1ms
memory: 3776kb

input:

\x14

output:


result:

ok Correct: 20 robot(s) used, 20 hour(s) passed

Test #39:

score: 0
Accepted
time: 1ms
memory: 3564kb

input:

\x14

output:


result:

ok Correct: 20 robot(s) used, 20 hour(s) passed

Test #40:

score: 0
Accepted
time: 1ms
memory: 3564kb

input:

\x14

output:


result:

ok Correct: 20 robot(s) used, 20 hour(s) passed

Test #41:

score: 0
Accepted
time: 1ms
memory: 3572kb

input:

\x14

output:


result:

ok Correct: 20 robot(s) used, 20 hour(s) passed

Test #42:

score: 0
Accepted
time: 1ms
memory: 3788kb

input:

\x14

output:


result:

ok Correct: 20 robot(s) used, 20 hour(s) passed

Test #43:

score: 0
Accepted
time: 1ms
memory: 3440kb

input:

\x14

output:


result:

ok Correct: 20 robot(s) used, 20 hour(s) passed

Test #44:

score: 0
Accepted
time: 0ms
memory: 3564kb

input:

\x14

output:


result:

ok Correct: 20 robot(s) used, 20 hour(s) passed

Test #45:

score: 0
Accepted
time: 0ms
memory: 3560kb

input:

\x14

output:


result:

ok Correct: 20 robot(s) used, 20 hour(s) passed

Test #46:

score: 0
Accepted
time: 1ms
memory: 3792kb

input:

\x14

output:


result:

ok Correct: 20 robot(s) used, 20 hour(s) passed

Test #47:

score: 0
Accepted
time: 1ms
memory: 3576kb

input:

\x14

output:


result:

ok Correct: 20 robot(s) used, 20 hour(s) passed

Test #48:

score: 0
Accepted
time: 1ms
memory: 3512kb

input:

\x14

output:


result:

ok Correct: 20 robot(s) used, 20 hour(s) passed

Test #49:

score: 0
Accepted
time: 1ms
memory: 3500kb

input:

\x14

output:


result:

ok Correct: 20 robot(s) used, 20 hour(s) passed

Test #50:

score: 0
Accepted
time: 0ms
memory: 3560kb

input:

\x14

output:


result:

ok Correct: 19 robot(s) used, 19 hour(s) passed

Test #51:

score: 0
Accepted
time: 0ms
memory: 3788kb

input:

\x14

output:


result:

ok Correct: 20 robot(s) used, 20 hour(s) passed

Test #52:

score: 0
Accepted
time: 1ms
memory: 3516kb

input:

\x14

output:


result:

ok Correct: 20 robot(s) used, 20 hour(s) passed

Test #53:

score: 0
Accepted
time: 1ms
memory: 3788kb

input:

\x14

output:


result:

ok Correct: 20 robot(s) used, 20 hour(s) passed

Test #54:

score: 0
Accepted
time: 0ms
memory: 3580kb

input:

\x14

output:


result:

ok Correct: 20 robot(s) used, 20 hour(s) passed

Test #55:

score: 0
Accepted
time: 0ms
memory: 3460kb

input:

\x14

output:


result:

ok Correct: 20 robot(s) used, 20 hour(s) passed

Test #56:

score: 0
Accepted
time: 1ms
memory: 3772kb

input:

\x14

output:


result:

ok Correct: 19 robot(s) used, 19 hour(s) passed

Test #57:

score: 0
Accepted
time: 1ms
memory: 3560kb

input:

\x14

output:


result:

ok Correct: 10 robot(s) used, 10 hour(s) passed

Test #58:

score: 0
Accepted
time: 1ms
memory: 3496kb

input:

\x14

output:


result:

ok Correct: 19 robot(s) used, 19 hour(s) passed

Test #59:

score: 0
Accepted
time: 1ms
memory: 3564kb

input:

\x14

output:


result:

ok Correct: 20 robot(s) used, 20 hour(s) passed

Test #60:

score: 0
Accepted
time: 1ms
memory: 3776kb

input:

\x14

output:


result:

ok Correct: 20 robot(s) used, 20 hour(s) passed

Test #61:

score: 0
Accepted
time: 1ms
memory: 3736kb

input:

\x14

output:


result:

ok Correct: 12 robot(s) used, 12 hour(s) passed

Test #62:

score: 0
Accepted
time: 1ms
memory: 3584kb

input:

\x14

output:


result:

ok Correct: 20 robot(s) used, 20 hour(s) passed

Test #63:

score: 0
Accepted
time: 1ms
memory: 3584kb

input:

\x14

output:


result:

ok Correct: 20 robot(s) used, 20 hour(s) passed

Test #64:

score: 0
Accepted
time: 0ms
memory: 3516kb

input:

\x14

output:


result:

ok Correct: 20 robot(s) used, 20 hour(s) passed

Test #65:

score: 0
Accepted
time: 1ms
memory: 3472kb

input:

\x14

output:


result:

ok Correct: 20 robot(s) used, 20 hour(s) passed

Subtask #3:

score: 10
Accepted

Test #66:

score: 10
Accepted
time: 1ms
memory: 3504kb

input:

\x1e

output:


result:

ok Correct: 29 robot(s) used, 2 hour(s) passed

Test #67:

score: 0
Accepted
time: 1ms
memory: 3460kb

input:

\x1e

output:


result:

ok Correct: 29 robot(s) used, 2 hour(s) passed

Test #68:

score: 0
Accepted
time: 1ms
memory: 3460kb

input:

\x1e

output:


result:

ok Correct: 29 robot(s) used, 2 hour(s) passed

Test #69:

score: 0
Accepted
time: 1ms
memory: 3544kb

input:

\x1e

output:


result:

ok Correct: 26 robot(s) used, 2 hour(s) passed

Test #70:

score: 0
Accepted
time: 1ms
memory: 3744kb

input:

\x1e

output:


result:

ok Correct: 26 robot(s) used, 2 hour(s) passed

Test #71:

score: 0
Accepted
time: 1ms
memory: 3504kb

input:

\x1e

output:


result:

ok Correct: 26 robot(s) used, 2 hour(s) passed

Test #72:

score: 0
Accepted
time: 1ms
memory: 3544kb

input:

\x1e

output:


result:

ok Correct: 22 robot(s) used, 2 hour(s) passed

Test #73:

score: 0
Accepted
time: 0ms
memory: 3572kb

input:

\x1e

output:


result:

ok Correct: 24 robot(s) used, 2 hour(s) passed

Test #74:

score: 0
Accepted
time: 1ms
memory: 3576kb

input:

\x1e

output:


result:

ok Correct: 21 robot(s) used, 2 hour(s) passed

Test #75:

score: 0
Accepted
time: 1ms
memory: 3504kb

input:

\x1e

output:


result:

ok Correct: 23 robot(s) used, 2 hour(s) passed

Test #76:

score: 0
Accepted
time: 1ms
memory: 3744kb

input:

\x1e

output:


result:

ok Correct: 20 robot(s) used, 1 hour(s) passed

Test #77:

score: 0
Accepted
time: 1ms
memory: 3588kb

input:

\x1e

output:


result:

ok Correct: 29 robot(s) used, 2 hour(s) passed

Test #78:

score: 0
Accepted
time: 1ms
memory: 3592kb

input:

\x1e

output:


result:

ok Correct: 21 robot(s) used, 2 hour(s) passed

Test #79:

score: 0
Accepted
time: 1ms
memory: 3520kb

input:

\x1e

output:


result:

ok Correct: 23 robot(s) used, 2 hour(s) passed

Test #80:

score: 0
Accepted
time: 1ms
memory: 3588kb

input:

\x1e

output:


result:

ok Correct: 22 robot(s) used, 2 hour(s) passed

Test #81:

score: 0
Accepted
time: 1ms
memory: 3716kb

input:

\x1e

output:


result:

ok Correct: 22 robot(s) used, 2 hour(s) passed

Test #82:

score: 0
Accepted
time: 1ms
memory: 3528kb

input:

\x1e

output:


result:

ok Correct: 24 robot(s) used, 2 hour(s) passed

Test #83:

score: 0
Accepted
time: 0ms
memory: 3504kb

input:

\x1e

output:


result:

ok Correct: 25 robot(s) used, 2 hour(s) passed

Test #84:

score: 0
Accepted
time: 1ms
memory: 3744kb

input:

\x1e

output:


result:

ok Correct: 21 robot(s) used, 2 hour(s) passed

Test #85:

score: 0
Accepted
time: 1ms
memory: 3500kb

input:

\x1e

output:


result:

ok Correct: 23 robot(s) used, 2 hour(s) passed

Test #86:

score: 0
Accepted
time: 1ms
memory: 3620kb

input:

\x1e

output:


result:

ok Correct: 22 robot(s) used, 2 hour(s) passed

Test #87:

score: 0
Accepted
time: 1ms
memory: 3500kb

input:

\x1e

output:


result:

ok Correct: 24 robot(s) used, 2 hour(s) passed

Test #88:

score: 0
Accepted
time: 1ms
memory: 3696kb

input:

\x1e

output:


result:

ok Correct: 29 robot(s) used, 2 hour(s) passed

Test #89:

score: 0
Accepted
time: 0ms
memory: 3560kb

input:

\x1e

output:


result:

ok Correct: 22 robot(s) used, 2 hour(s) passed

Test #90:

score: 0
Accepted
time: 1ms
memory: 3768kb

input:

\x1e

output:


result:

ok Correct: 22 robot(s) used, 2 hour(s) passed

Test #91:

score: 0
Accepted
time: 1ms
memory: 3576kb

input:

\x1e

output:


result:

ok Correct: 21 robot(s) used, 2 hour(s) passed

Test #92:

score: 0
Accepted
time: 0ms
memory: 3568kb

input:

\x1e

output:


result:

ok Correct: 20 robot(s) used, 1 hour(s) passed

Test #93:

score: 0
Accepted
time: 1ms
memory: 3744kb

input:

\x1e

output:


result:

ok Correct: 23 robot(s) used, 2 hour(s) passed

Test #94:

score: 0
Accepted
time: 0ms
memory: 3740kb

input:

\x1e

output:


result:

ok Correct: 21 robot(s) used, 2 hour(s) passed

Test #95:

score: 0
Accepted
time: 1ms
memory: 3792kb

input:

\x1e

output:


result:

ok Correct: 20 robot(s) used, 1 hour(s) passed

Test #96:

score: 0
Accepted
time: 1ms
memory: 3572kb

input:

\x1e

output:


result:

ok Correct: 20 robot(s) used, 1 hour(s) passed

Test #97:

score: 0
Accepted
time: 1ms
memory: 3572kb

input:

\x1e

output:


result:

ok Correct: 20 robot(s) used, 1 hour(s) passed

Test #98:

score: 0
Accepted
time: 1ms
memory: 3588kb

input:

\x1e

output:


result:

ok Correct: 22 robot(s) used, 2 hour(s) passed

Test #99:

score: 0
Accepted
time: 1ms
memory: 3520kb

input:

\x1e

output:


result:

ok Correct: 29 robot(s) used, 2 hour(s) passed

Test #100:

score: 0
Accepted
time: 1ms
memory: 3504kb

input:

\x1e

output:


result:

ok Correct: 24 robot(s) used, 2 hour(s) passed

Test #101:

score: 0
Accepted
time: 1ms
memory: 3776kb

input:

\x1e

output:


result:

ok Correct: 20 robot(s) used, 1 hour(s) passed

Test #102:

score: 0
Accepted
time: 0ms
memory: 3788kb

input:

\x1e

output:


result:

ok Correct: 22 robot(s) used, 2 hour(s) passed

Test #103:

score: 0
Accepted
time: 1ms
memory: 3508kb

input:

\x1e

output:


result:

ok Correct: 21 robot(s) used, 2 hour(s) passed

Test #104:

score: 0
Accepted
time: 1ms
memory: 3588kb

input:

\x1e

output:


result:

ok Correct: 21 robot(s) used, 2 hour(s) passed

Test #105:

score: 0
Accepted
time: 1ms
memory: 3560kb

input:

\x1e

output:


result:

ok Correct: 23 robot(s) used, 2 hour(s) passed

Test #106:

score: 0
Accepted
time: 1ms
memory: 3788kb

input:

\x1e

output:


result:

ok Correct: 22 robot(s) used, 2 hour(s) passed

Test #107:

score: 0
Accepted
time: 1ms
memory: 3564kb

input:

\x1e

output:


result:

ok Correct: 24 robot(s) used, 2 hour(s) passed

Test #108:

score: 0
Accepted
time: 0ms
memory: 3536kb

input:

\x1e

output:


result:

ok Correct: 21 robot(s) used, 2 hour(s) passed

Test #109:

score: 0
Accepted
time: 1ms
memory: 3788kb

input:

\x1e

output:


result:

ok Correct: 21 robot(s) used, 2 hour(s) passed

Test #110:

score: 0
Accepted
time: 1ms
memory: 3596kb

input:

\x1e

output:


result:

ok Correct: 29 robot(s) used, 2 hour(s) passed

Test #111:

score: 0
Accepted
time: 1ms
memory: 3592kb

input:

\x1e

output:


result:

ok Correct: 23 robot(s) used, 2 hour(s) passed

Test #112:

score: 0
Accepted
time: 1ms
memory: 3788kb

input:

\x1e

output:


result:

ok Correct: 24 robot(s) used, 2 hour(s) passed

Test #113:

score: 0
Accepted
time: 1ms
memory: 3580kb

input:

\x1e

output:


result:

ok Correct: 26 robot(s) used, 2 hour(s) passed

Test #114:

score: 0
Accepted
time: 1ms
memory: 3776kb

input:

\x1e

output:


result:

ok Correct: 22 robot(s) used, 2 hour(s) passed

Test #115:

score: 0
Accepted
time: 1ms
memory: 3504kb

input:

\x1e

output:


result:

ok Correct: 22 robot(s) used, 2 hour(s) passed

Test #116:

score: 0
Accepted
time: 1ms
memory: 3564kb

input:

\x1e

output:


result:

ok Correct: 29 robot(s) used, 2 hour(s) passed

Test #117:

score: 0
Accepted
time: 1ms
memory: 3584kb

input:

\x1e

output:


result:

ok Correct: 29 robot(s) used, 2 hour(s) passed

Test #118:

score: 0
Accepted
time: 0ms
memory: 3576kb

input:

\x1e

output:


result:

ok Correct: 29 robot(s) used, 2 hour(s) passed

Test #119:

score: 0
Accepted
time: 1ms
memory: 3476kb

input:

\x1e

output:


result:

ok Correct: 29 robot(s) used, 2 hour(s) passed

Subtask #4:

score: 55
Acceptable Answer

Test #120:

score: 55
Acceptable Answer
time: 12ms
memory: 3568kb

input:

K

output:


result:

points 0.73333334920 points  0.73333334920 Correct: 30 robot(s) used, 1 hour(s) passed

Test #121:

score: 55
Acceptable Answer
time: 2ms
memory: 3520kb

input:

K

output:


result:

points 0.73333334920 points  0.73333334920 Correct: 30 robot(s) used, 1 hour(s) passed

Test #122:

score: 55
Acceptable Answer
time: 0ms
memory: 3596kb

input:

K

output:


result:

points 0.73333334920 points  0.73333334920 Correct: 30 robot(s) used, 1 hour(s) passed

Test #123:

score: 55
Acceptable Answer
time: 1ms
memory: 3464kb

input:

K

output:


result:

points 0.73333334920 points  0.73333334920 Correct: 30 robot(s) used, 1 hour(s) passed

Test #124:

score: 55
Acceptable Answer
time: 1ms
memory: 3568kb

input:

K

output:


result:

points 0.73333334920 points  0.73333334920 Correct: 30 robot(s) used, 1 hour(s) passed

Test #125:

score: 55
Acceptable Answer
time: 4ms
memory: 3720kb

input:

K

output:


result:

points 0.73333334920 points  0.73333334920 Correct: 30 robot(s) used, 1 hour(s) passed

Test #126:

score: 55
Acceptable Answer
time: 10ms
memory: 3748kb

input:

K

output:


result:

points 0.73333334920 points  0.73333334920 Correct: 30 robot(s) used, 1 hour(s) passed

Test #127:

score: 55
Acceptable Answer
time: 1ms
memory: 3528kb

input:

K

output:


result:

points 0.73333334920 points  0.73333334920 Correct: 30 robot(s) used, 1 hour(s) passed

Test #128:

score: 55
Acceptable Answer
time: 9ms
memory: 3524kb

input:

K

output:


result:

points 0.73333334920 points  0.73333334920 Correct: 30 robot(s) used, 1 hour(s) passed

Test #129:

score: 55
Acceptable Answer
time: 6ms
memory: 3588kb

input:

K

output:


result:

points 0.73333334920 points  0.73333334920 Correct: 30 robot(s) used, 1 hour(s) passed

Test #130:

score: 55
Acceptable Answer
time: 10ms
memory: 3500kb

input:

K

output:


result:

points 0.73333334920 points  0.73333334920 Correct: 30 robot(s) used, 1 hour(s) passed

Test #131:

score: 55
Acceptable Answer
time: 10ms
memory: 3776kb

input:

K

output:


result:

points 0.73333334920 points  0.73333334920 Correct: 30 robot(s) used, 1 hour(s) passed

Test #132:

score: 55
Acceptable Answer
time: 5ms
memory: 3592kb

input:

K

output:


result:

points 0.73333334920 points  0.73333334920 Correct: 30 robot(s) used, 1 hour(s) passed

Test #133:

score: 55
Acceptable Answer
time: 7ms
memory: 3468kb

input:

K

output:


result:

points 0.73333334920 points  0.73333334920 Correct: 30 robot(s) used, 1 hour(s) passed

Test #134:

score: 55
Acceptable Answer
time: 0ms
memory: 3572kb

input:

K

output:


result:

points 0.73333334920 points  0.73333334920 Correct: 30 robot(s) used, 1 hour(s) passed