QOJ.ac
QOJ
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#176715 | #7186. "Memo" Game With a Hint | andyc_03 | AC ✓ | 3ms | 3960kb | C++14 | 5.0kb | 2023-09-11 22:06:47 | 2023-09-11 22:07:35 |
Judging History
answer
# include <bits/stdc++.h>
using namespace std;
char s[55],ss[55];
int res[55];
vector <int> a,b;
int now[30];
int main()
{
srand(clock()+20050302);
scanf("%s",ss+1);
int T;
if(ss[2]=='r')
{
scanf("%d",&T);
while(T--)
{
memset(now,0,sizeof(now));
scanf("%s",s+1);
for(int i=1;i<=50;i++)
{
if(!now[s[i]-'A']) printf("0"),now[s[i]-'A']=1;
else printf("1");
fflush(stdout);
}
printf("\n"); fflush(stdout);
}
}
else
{
scanf("%d",&T);
while(T--)
{
scanf("%s",s+1);
a.clear(); b.clear();
for(int i=1;i<=50;i++)
{
if(s[i]=='0') a.push_back(i);
else b.push_back(i);
}
for(int i=0;i<24;i++)
{
printf("%d\n",a[i]);
fflush(stdout);
scanf("%s",ss+1);
now[ss[1]-'A']=a[i];
}
printf("%d\n",a[24]);
fflush(stdout);
scanf("%s",ss+1);
now[ss[1]-'A']=a[24];
printf("%d\n",b[0]);
fflush(stdout);
scanf("%s",ss+1);
if(ss[2]=='-')
{
printf("%d\n",b[0]);
fflush(stdout);
scanf("%s",ss+1);
printf("%d\n",now[ss[1]-'A']);
fflush(stdout);
scanf("%s",ss+1);
}
for(int i=1;i<=24;i++)
{
printf("%d\n",b[i]);
fflush(stdout);
scanf("%s",ss+1);
printf("%d\n",now[ss[1]-'A']);
fflush(stdout);
scanf("%s",ss+1);
}
// assert(a.size()==26 && b.size()==24);
/*int flag=13,siz=26;
memset(now,-1,sizeof(now));
while(flag)
{
int x=rand()%siz;
printf("%d\n",a[x]);
int temp=a[x];
for(int i=x;i<siz-1;i++) a[i]=a[i+1];
siz--;
fflush(stdout);
scanf("%s",ss+1);
if(now[ss[1]-'A']==-1)
{
now[ss[1]-'A']=temp;
x=rand()%siz;
printf("%d\n",a[x]);
fflush(stdout);
int tmp=a[x];
for(int i=x;i<siz-1;i++) a[i]=a[i+1];
siz--;
scanf("%s",ss+1);
if(now[ss[1]-'A']==-1)
now[ss[1]-'A']=tmp;
else
{
flag--;
if(ss[2]=='+' || ss[2]=='!') continue;
printf("%d\n",now[ss[1]-'A']);
fflush(stdout);
scanf("%s",ss+1);
printf("%d\n",tmp);
fflush(stdout);
scanf("%s",ss+1);
}
}
else
{
printf("%d\n",now[ss[1]-'A']);
fflush(stdout);
scanf("%s",ss+1);
flag--;
// cerr<<"hihihi"<<endl;
}
// cerr<<"Tag"<<endl;
}
flag=12,siz=24;
memset(now,-1,sizeof(now));
while(flag)
{
int x=rand()%siz;
printf("%d\n",b[x]);
int temp=b[x];
for(int i=x;i<siz-1;i++) b[i]=b[i+1];
siz--;
fflush(stdout);
scanf("%s",ss+1);
if(now[ss[1]-'A']==-1)
{
now[ss[1]-'A']=temp;
x=rand()%siz;
printf("%d\n",b[x]);
int tmp=b[x];
fflush(stdout);
for(int i=x;i<siz-1;i++) b[i]=b[i+1]; siz--;
scanf("%s",ss+1);
if(now[ss[1]-'A']==-1)
now[ss[1]-'A']=tmp;
else
{
flag--;
if(ss[2]=='+' || ss[2]=='!') continue;
printf("%d\n",now[ss[1]-'A']);
fflush(stdout);
scanf("%s",ss+1);
printf("%d\n",tmp);
fflush(stdout);
scanf("%s",ss+1);
}
}
else
{
printf("%d\n",now[ss[1]-'A']);
fflush(stdout);
scanf("%s",ss+1);
flag--;
}
}*/
}
}
return 0;
}
Details
Tip: Click on the bar to expand more detailed information
Test #1:
score: 100
Accepted
time: 0ms
memory: 3840kb
First Run Input
prepare 2 ABCDEFGHIJKLMNOPQRSTUVWXYABCDEFGHIJKLMNOPQRSTUVWXY AABBCCDDEEFFGGHHIIJJKKLLMMNNOOPPQQRRSSTTUUVVWWXXYY
First Run Output
00000000000000000000000001111111111111111111111111 01010101010101010101010101010101010101010101010101
Second Run Input
play 2 00000000000000000000000001111111111111111111111111 A. B- C. D- E. F- G. H- I. J- K. L- M. N- O. P- Q. R- S. T- U. V- W. X- Y. A- A. A+ B. B+ C. C+ D. D+ E. E+ F. F+ G. G+ H. H+ I. I+ J. J+ K. K+ L. L+ M. M+ N. N+ O. O+ P. P+ Q. Q+ R. R+ S. S+ T. T+ U. U+ V. V+ W. W+ X. X+ Y. Y! 01010101010101...
Second Run Output
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 26 1 27 2 28 3 29 4 30 5 31 6 32 7 33 8 34 9 35 10 36 11 37 12 38 13 39 14 40 15 41 16 42 17 43 18 44 19 45 20 46 21 47 22 48 23 49 24 50 25 1 3 5 7 9 11 13 15 17 19 21 23 25 27 29 31 33 35 37 39 41 43 45 47 49 2 2 1 4 3 6 5 8 7 10...
result:
ok Correct! The number of the misses is 26 (2 test cases)
Test #2:
score: 100
Accepted
time: 0ms
memory: 3896kb
First Run Input
prepare 1 FNETFOMMJTYCXKCRYLGXKSPAIVQNBURJAPQHUDWSDWVIHGELBO
First Run Output
00001001010000101001100000010011111010011111111111
Second Run Input
play 1 00001001010000101001100000010011111010011111111111 F. N- E. T- O. M- J. Y- C. X- K. R- L. G- S. P- A. I- V. Q- B. U- H. D- W. F- F. F+ M. M+ T. T+ C. C+ Y. Y+ X. X+ K. K+ N. N+ R. R+ J. J+ A. A+ P. P+ Q. Q+ U. U+ S. S+ D. D+ W. W+ V. V+ I. I+ H. H+ G. G+ E. E+ L. L+ B. B+ O. O!
Second Run Output
1 2 3 4 6 7 9 11 12 13 14 16 18 19 22 23 24 25 26 27 29 30 36 38 39 5 5 1 8 7 10 4 15 12 17 11 20 13 21 14 28 2 31 16 32 9 33 24 34 23 35 27 37 30 40 22 41 38 42 39 43 26 44 25 45 36 46 19 47 3 48 18 49 29 50 6
result:
ok Correct! The number of the misses is 13 (1 test case)
Test #3:
score: 100
Accepted
time: 3ms
memory: 3952kb
First Run Input
prepare 50 FDAVHJWICNELMBTQGPMHCYSTUUKWOYBJNRLGEFXXSIVOAQDRKP NPBEHYAERLSHAKCMGTQFUYXDVUIWDPBSOXCMFRJOJTNKIGLQWV AEFGFISMPACJJYRBXUCKNOPEHODITLXWSMGVWBDQKLUQHRYVTN CKFXOIQOLCSHAGDEUJTYBAVKWPMHDBJNRMFXTEYQUGVNPILWRS JYIRTLMHQGUUAEDJXTSDCKPCXWPBAWHQRMGNLONVOYEKFVBIFS IHDCXSWTUHOFXLGLGWJPACUVTBOESDMYAK...
First Run Output
00000000000000000011100101010111101111011111111111 00000001000110000000010001001111011111011111111111 00001000010010000010001101010010111011101111111111 00000001010000000000010100011110011111111111111111 00000000000100010101000110101111111010101111011111 000000000100100111000110101011001011101110101...
Second Run Input
play 50 00000000000000000011100101010111101111011111111111 F. D- A. V- H. J- W. I- C. N- E. L- M. B- T. Q- G. P- Y. S- U. K- O. R- X. M- M. M+ H. H+ C. C+ T. T+ U. U+ W. W+ Y. Y+ B. B+ J. J+ N. N+ L. L+ G. G+ E. E+ F. F+ X. X+ S. S+ I. I+ V. V+ O. O+ A. A+ Q. Q+ D. D+ R. R+ K. K+ P. P! 0000000100011...
Second Run Output
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 22 23 25 27 29 34 39 19 19 13 20 5 21 9 24 15 26 25 28 7 30 22 31 14 32 6 33 10 35 12 36 17 37 11 38 1 40 39 41 23 42 8 43 4 44 29 45 3 46 16 47 2 48 34 49 27 50 18 1 2 3 4 5 6 7 9 10 11 14 15 16 17 18 19 20 21 23 24 25 27 28 33 39 8 8 4 12 5 13 7 22 6 26...
result:
ok Correct! The number of the misses is 650 (50 test cases)
Test #4:
score: 100
Accepted
time: 0ms
memory: 3928kb
First Run Input
prepare 75 EAHSMUJLVDPNLEKPCNIICFRTMHYWVSTQBBWRXKFDXOJQUAGGOY CUWYVQJPSRIDKXMKTFXTFDOJVWLBEMNULIAAPYCHNGHEOGSRQB UJTQMFLPJRGSECWAHXDCIVRQOIEPANHUBYVGFKMKLDTSWYBNOX EYOUSDBNEQXIPMFUJCYKJVLSVWOXKLCFWARPBTIHGTMNDRGHAQ PBHANSDUVHNKYRQVMOBLQAXSEXOLYJRGTWCFKGMWPJIFTIEDCU YREKISUWLRFFQDIWNUASLJXGMVHBXDMBJT...
First Run Output
00000000000011010101100011001110011101111011110111 00000000000000010011110111000101110111101011111111 00000000100000000001001101111011001110111111111111 00000000100000010010100110111111100110100111111111 00000000011000010010110101111010000011111101111111 000000000101001101011000000011111001111011110...
Second Run Input
play 75 00000000000011010101100011001110011101111011110111 E. A- H. S- M. U- J. L- V. D- P. N- K. C- I. F- R. T- Y. W- Q. B- X. O- G. L- L. L+ E. E+ P. P+ N. N+ I. I+ C. C+ M. M+ H. H+ V. V+ S. S+ T. T+ B. B+ W. W+ R. R+ K. K+ F. F+ D. D+ X. X+ J. J+ Q. Q+ U. U+ A. A+ G. G+ O. O+ Y. Y! 0000000000000...
Second Run Output
1 2 3 4 5 6 7 8 9 10 11 12 15 17 19 22 23 24 27 28 32 33 37 42 47 13 13 8 14 1 16 11 18 12 20 19 21 17 25 5 26 3 29 9 30 4 31 24 34 33 35 28 36 23 38 15 39 22 40 10 41 37 43 7 44 32 45 6 46 2 48 47 49 42 50 27 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 17 18 23 27 28 29 31 35 40 42 16 16 13 19 14 20 17 21 ...
result:
ok Correct! The number of the misses is 975 (75 test cases)
Test #5:
score: 100
Accepted
time: 0ms
memory: 3828kb
First Run Input
prepare 85 RSHXLIARGTANBOIMVCQUCBGQWEDTPMYJWYUFPKESKJODLNFVXH GEFNCRFLXMNOJGIQPLMSBKHDVIUVCHRAAUYWQBPTWYXSJOTEDK PNCEFQSMQNOUJPKTWEAHFSRKGCIVJXXLRHLYBWGODVBYDUTAIM EBFQNGFUKBOYENJSUTTPKPVSIRADCMVRHAHMDCLGLXQXIOJYWW OSYHICRXEQAMWBDUDWANLLNCVBTXMTGEPJYPGFSKIJFHUKRQOV SESXRAXOUIGPVJUNLMJFYEBVFCOBDQHKGW...
First Run Output
00000001001000100000111100010100111010111111111111 00000010001001000110000001011110110011101111111111 00000000110001000100110101001010111001110111111111 00000010010011001010110100000011011111011011111101 00000000000000001110011101011101001110101111111111 001000100000001000100101101100001011011111111...
Second Run Input
play 85 00000001001000100000111100010100111010111111111111 R. S- H. X- L. I- A. G- T. N- B. O- M. V- C. Q- U. W- E. D- P. Y- J. F- K. R- R. R+ A. A+ I. I+ C. C+ B. B+ G. G+ Q. Q+ T. T+ M. M+ W. W+ Y. Y+ U. U+ P. P+ E. E+ S. S+ K. K+ J. J+ O. O+ D. D+ L. L+ N. N+ F. F+ V. V+ X. X+ H. H! 0000001000100...
Second Run Output
1 2 3 4 5 6 7 9 10 12 13 14 16 17 18 19 20 25 26 27 29 31 32 36 38 8 8 1 11 7 15 6 21 18 22 13 23 9 24 19 28 10 30 16 33 25 34 31 35 20 37 29 39 26 40 2 41 38 42 32 43 14 44 27 45 5 46 12 47 36 48 17 49 4 50 3 1 2 3 4 5 6 8 9 10 12 13 15 16 17 20 21 22 23 24 25 27 32 35 36 40 7 7 3 11 4 14 1 18 8 19...
result:
ok Correct! The number of the misses is 1105 (85 test cases)
Test #6:
score: 100
Accepted
time: 0ms
memory: 3896kb
First Run Input
prepare 90 HPBUYCSIRIQTEVJLTDYGMNBEKMSFHNCRXVDAUFQAWPLGJWKOXO DGTONCNKSQVCREJMUPOGFWIQPALERLASDYBFVIWKXHTMXBJUHY KODTYFIXXRTNWNCUSLOREEBCUJPABHIDVGLGJMYKWMSQHAPQVF BGTFHKOEJPGLWJIHPWAYVDKIFXSUUQYTENNVCMDRMOASRBXCLQ YSJXTDDMCLKFFBOWVRCSHNPTGARXJQPBKMYWUEAUNGEIIQVHOL QTXVHWNRFUOHCPMGWMLFRSCQKGEIPKEADY...
First Run Output
00000000010000001010001101101111011011110111111011 00000010000100000011000110011111100111110011111111 00000000101001000011010110001011001110111110111111 00000000001001011100001110001011101100101111111111 00000010000010000011000100111011111100111110111111 000000000001000011011011010011100011110111111...
Second Run Input
play 90 00000000010000001010001101101111011011110111111011 H. P- B. U- Y. C- S. I- R. Q- T. E- V. J- L. D- G. M- N. K- F. X- A. W- O. I- I. I+ T. T+ Y. Y+ B. B+ E. E+ M. M+ S. S+ H. H+ N. N+ C. C+ R. R+ V. V+ D. D+ U. U+ F. F+ Q. Q+ A. A+ P. P+ L. L+ G. G+ J. J+ W. W+ K. K+ X. X+ O. O! 0000001000010...
Second Run Output
1 2 3 4 5 6 7 8 9 11 12 13 14 15 16 18 20 21 22 25 28 33 36 41 48 10 10 8 17 12 19 5 23 3 24 13 26 21 27 7 29 1 30 22 31 6 32 9 34 14 35 18 37 4 38 28 39 11 40 36 42 2 43 16 44 20 45 15 46 41 47 25 49 33 50 48 1 2 3 4 5 6 8 9 10 11 13 14 15 16 17 18 21 22 23 26 27 34 35 41 42 7 7 5 12 6 19 4 20 2 24...
result:
ok Correct! The number of the misses is 1170 (90 test cases)
Test #7:
score: 100
Accepted
time: 0ms
memory: 3916kb
First Run Input
prepare 95 CXKFQPTEDJGCNSIWIDLVHJBTMEUMLQVYOHGPKNRYOFXRSBUWAA DKGIBMTPLXOCTJEVQYVUMAFHNXEOCRDPNQHSUGSWAJRIFYBWKL QHTADVKMABFWXHRLNICEGJOCPXWTYNVMBESJURIODUGFLYSKQP WPTDMLIIEOWCKYSSREBDBFXNQGVNXAPVJHYLUKUCGHQRAFJMOT PUYIWXOSXDQNITNCYWFEKGHPLKVJABJQTUSVRMLCEDFMGAOBHR YFMQKSXVBUIYLCBRDWWNVFHTTMRHUDOGLA...
First Run Output
00000000000100001100010101011110011111011111111101 00000000000010000010100001111011111011101111111111 00000000100001000000000101110111110101111111111111 00000001001000010101100000011011001101111111111111 00000000100010101100000101000011111100111111111111 000000000001001000101100111111001001111110111...
Second Run Input
play 95 00000000000100001100010101011110011111011111111101 C. X- K. F- Q. P- T. E- D. J- G. N- S. I- W. L- V. H- B. M- U. Y- O. R- A. C- C. C+ I. I+ D. D+ J. J+ T. T+ E. E+ M. M+ L. L+ Q. Q+ V. V+ H. H+ G. G+ P. P+ K. K+ N. N+ Y. Y+ O. O+ F. F+ X. X+ R. R+ S. S+ B. B+ U. U+ W. W+ A. A! 0000000000001...
Second Run Output
1 2 3 4 5 6 7 8 9 10 11 13 14 15 16 19 20 21 23 25 27 32 33 39 49 12 12 1 17 15 18 9 22 10 24 7 26 8 28 25 29 19 30 5 31 20 34 21 35 11 36 6 37 3 38 13 40 32 41 33 42 4 43 2 44 39 45 14 46 23 47 27 48 16 50 49 1 2 3 4 5 6 7 8 9 10 11 12 14 15 16 17 18 20 22 23 24 25 30 36 40 13 13 7 19 16 21 6 26 10...
result:
ok Correct! The number of the misses is 1235 (95 test cases)
Test #8:
score: 100
Accepted
time: 0ms
memory: 3912kb
First Run Input
prepare 100 NKXFSXFWWAOBPEJOTMVHIPUKCGQSRLCRHYNVDMETALGIJQUDBY LQEXDPFVMOMABELGPHCWBJTVCTNYXGRYWJUQKFIHOSNSKAIURD MBTKVSCAPAXWHBEHUSQOGYJIUVTNEIRPFYQXJORNLFDCMKWDGL EBBOJXCXNECGAQQALWPPMJVTGSHIORNMHRDFSYUYLFIUVDKWKT GKOAHWLYQXVKCLRRTCYMFBSQUPDIWIJPVGDFMNAUTSJXHBEEON EQEDVJGKUIXMCYQTANIHSADKWRNFYBGOT...
First Run Output
00000110100000010000010100010011101101111111111111 00000000001001101000100111001101110101011011111111 00000000010001010100000011101101011111110101111111 00100001011000110001010010001011110010011111110111 00000000000101010110000100001101111110111111110111 001000000000001000100111001010101111111101011...
Second Run Input
play 100 00000110100000010000010100010011101101111111111111 N. K- X. F- S. W- A. O- B. P- E. J- T. M- V. H- I. U- C. G- Q. R- L. Y- D. X- X. X+ F. F+ W. W+ O. O+ P. P+ K. K+ S. S+ C. C+ R. R+ H. H+ N. N+ V. V+ M. M+ E. E+ T. T+ A. A+ L. L+ G. G+ I. I+ J. J+ Q. Q+ U. U+ D. D+ B. B+ Y. Y! 000000000010...
Second Run Output
1 2 3 4 5 8 10 11 12 13 14 15 17 18 19 20 21 23 25 26 27 29 30 34 37 6 6 3 7 4 9 8 16 11 22 13 24 2 28 5 31 25 32 29 33 20 35 1 36 19 38 18 39 14 40 17 41 10 42 30 43 26 44 21 45 15 46 27 47 23 48 37 49 12 50 34 1 2 3 4 5 6 7 8 9 10 12 13 16 18 19 20 22 23 27 28 31 35 37 39 42 11 11 9 14 3 15 1 17 6...
result:
ok Correct! The number of the misses is 1300 (100 test cases)
Test #9:
score: 100
Accepted
time: 0ms
memory: 3852kb
First Run Input
prepare 100 BULRJTVXIHFVSKOMPWMCGENUNYAKIQQXSPBADERWHJCYFDOLGT FIHEGHKMALOKAVTSYYWTMQJCERQNBLFIOPSBDUCXVNRWJXUGPD IGMAXBJVQJGTTPKQCFEEUWRSONNSHBRKUPWHCDDYLXFYVLOIMA FKYUXTNHQBVLPWEOPREKVIMHCOJLXNDGBFUGIRSASJYADMWTCQ RYIDFMJOWUBQNXLWNCRSSGKTXOHPVKTEPAAFMEILQVBUHJDGCY SOVMPWQBMWNURDEALASGVNHCYUTOGKTKY...
First Run Output
00000000000100000010000110011011111101111111111111 00000100000110000101100010100111101100101111111111 00000000011010010001000000110111111110100111111111 00000000000000001011100101011100111111001111111111 00000000000000011010100011000110101111111111111111 000000001100000001101100010110111101111001111...
Second Run Input
play 100 00000000000100000010000110011011111101111111111111 B. U- L. R- J. T- V. X- I. H- F. S- K. O- M. P- W. C- G. E- N. Y- A. Q- D. V- V. V+ M. M+ U. U+ N. N+ K. K+ I. I+ Q. Q+ X. X+ S. S+ P. P+ B. B+ A. A+ E. E+ R. R+ W. W+ H. H+ J. J+ C. C+ Y. Y+ F. F+ D. D+ O. O+ L. L+ G. G+ T. T! 000001000001...
Second Run Output
1 2 3 4 5 6 7 8 9 10 11 13 14 15 16 17 18 20 21 22 23 26 27 30 37 12 12 7 19 16 24 2 25 23 28 14 29 9 31 30 32 8 33 13 34 17 35 1 36 27 38 22 39 4 40 18 41 10 42 5 43 20 44 26 45 11 46 37 47 15 48 3 49 21 50 6 1 2 3 4 5 7 8 9 10 11 14 15 16 17 19 22 23 24 26 28 29 34 37 38 40 6 6 3 12 7 13 9 18 17 2...
result:
ok Correct! The number of the misses is 1300 (100 test cases)
Test #10:
score: 100
Accepted
time: 3ms
memory: 3948kb
First Run Input
prepare 100 SQROXGJWGXFMMKUNTEIRNLEVAYLHDHQPPBCSJIWFUYVCTADBKO PKYCKEOOYJVXPWFGVDJBEULHWQTCAHLMAMURBFQGTIXSRISNND UOOAMTVCCXBSEKWXPGWSRBNYNLIHJYJITFADEHKPRFDMQQVUGL YEFEDNPRNSWMCWBAKSQQRBGLXKOILXTDAGJUVYUMVHHCJIFOTP AVXANGTWWEBDESYBMQHOVRXCLFKDIGJSTJPQFYRCHIKMNLOPUU OJNYRXLJHGGWFMDDMOPKYTHTUAKLNICIE...
First Run Output
00000000110010000001101000100110100111111111111111 00001001100010001010100010010110111011111010111011 00100000100000010011010010000111101011111111011111 00010000100001000101110001001101110001111011111111 00010000100010010000101000010101110111111111111101 000000010010000111001011001110010100010111111...
Second Run Input
play 100 00000000110010000001101000100110100111111111111111 S. Q- R. O- X. G- J. W- F. M- K. U- N. T- E. I- L. V- A. Y- H. D- P. B- C. G- G. G+ X. X+ M. M+ R. R+ N. N+ E. E+ L. L+ H. H+ Q. Q+ P. P+ S. S+ J. J+ I. I+ W. W+ F. F+ U. U+ Y. Y+ V. V+ C. C+ T. T+ A. A+ D. D+ B. B+ K. K+ O. O! 000010011000...
Second Run Output
1 2 3 4 5 6 7 8 11 12 14 15 16 17 18 19 22 24 25 26 28 29 32 34 35 9 9 6 10 5 13 12 20 3 21 16 23 18 27 22 30 28 31 2 33 32 36 1 37 7 38 19 39 8 40 11 41 15 42 26 43 24 44 35 45 17 46 25 47 29 48 34 49 14 50 4 1 2 3 4 6 7 10 11 12 14 15 16 18 20 22 23 24 26 27 29 32 36 42 44 48 5 5 2 8 7 9 3 13 1 17...
result:
ok Correct! The number of the misses is 1300 (100 test cases)
Test #11:
score: 100
Accepted
time: 0ms
memory: 3880kb
First Run Input
prepare 100 RGFVPILWOVETBGSLKHKNCHJIOXAMPXNQSWJYUDRBMDAEYFQCTU OLRHQVCXUYKWSEJPDYTFGKNVCASHMIDPNERUBOQJMBTGAXLIFW KXYEEFLNYOGBNIUVVDTCRJDSHQISRAUWAQCTWLMPBHMJKXGFPO BUXYMYPJMVFQKCIDQHEUOTITPKHLORXVGLASAGWDCJSBWNEFRN TXKFEIVQISUBKTHXRDJCNOMPMGHNDCLPAWVBWUAEQSJRFYGOYL PSRXNYTOKJMUFUTIRVMKBDXLJBCLFVGHA...
First Run Output
00000000010001010010010110001110111000111111111111 00000000000000000100010110110011111101111111111111 00001000100010001000001000111010111111001111111111 00000100100000001001001111101011010011011111101111 00000000100011010000000010111101001111111111101111 000000000000011010110010110111000111101111111...
Second Run Input
play 100 00000000010001010010010110001110111000111111111111 R. G- F. V- P. I- L. W- O. E- T. B- S. K- H. N- C. J- X. A- M. Q- Y. U- D. V- V. V+ G. G+ L. L+ K. K+ H. H+ I. I+ O. O+ P. P+ X. X+ N. N+ S. S+ W. W+ J. J+ R. R+ B. B+ M. M+ D. D+ A. A+ E. E+ Y. Y+ F. F+ Q. Q+ C. C+ T. T+ U. U! 000000000000...
Second Run Output
1 2 3 4 5 6 7 8 9 11 12 13 15 17 18 20 21 23 26 27 28 32 36 37 38 10 10 4 14 2 16 7 19 17 22 18 24 6 25 9 29 5 30 26 31 20 33 15 34 8 35 23 39 1 40 13 41 28 42 38 43 27 44 11 45 36 46 3 47 32 48 21 49 12 50 37 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 19 20 21 23 26 29 30 37 18 18 10 22 11 24 6 25 7...
result:
ok Correct! The number of the misses is 1300 (100 test cases)
Test #12:
score: 100
Accepted
time: 3ms
memory: 3896kb
First Run Input
prepare 100 VJXSDLHVPDTYCWKILGXUIJANAHYSMUWBRRQTCENEPFFOKBGMOQ BVAFIMQXPHKTKJWSLITNXOEVCFYCOQADGSGDWUPLHNBJRUEMYR RLPSNKYDCLUMVDTHJYIHWQSGRBNXUFOFAAGEQTKCPVJEWBMOIX IBFYNHNRSYOHXPGGKBFCSUMOJLUPKVAQMTCLDWREWQDTAVXIEJ KGRTAINBFADUHILYMBEOPECVXQPDOWWTJSKMGQSVRUHLCNFXYJ ETFGMNTHGOKBXNMELFBWCARUHICYJRWSX...
First Run Output
00000001010000001010110011110110010110111010111111 00000000000010000110100101011110011110111111011111 00000000010001000101001010101001011011111111111111 00000010010100010110100100111000101100101111111111 00000000010001000100010000111011001111111111111111 000000101000011101100000101001101101010110111...
Second Run Input
play 100 00000001010000001010110011110110010110111010111111 V. J- X. S- D. L- H. P- T. Y- C. W- K. I- G. U- A. N- M. B- R. Q- E. F- O. V- V. V+ D. D+ L. L+ X. X+ I. I+ J. J+ A. A+ H. H+ Y. Y+ S. S+ U. U+ W. W+ R. R+ T. T+ C. C+ N. N+ E. E+ P. P+ F. F+ K. K+ B. B+ G. G+ M. M+ O. O+ Q. Q! 000000000000...
Second Run Output
1 2 3 4 5 6 7 9 11 12 13 14 15 16 18 20 23 24 29 32 33 35 38 42 44 8 8 1 10 5 17 6 19 3 21 16 22 2 25 23 26 7 27 12 28 4 30 20 31 14 34 33 36 11 37 13 39 24 40 38 41 9 43 42 45 15 46 32 47 18 48 29 49 44 50 35 1 2 3 4 5 6 7 8 9 10 11 12 14 15 16 17 20 22 23 25 27 32 33 38 45 13 13 11 18 5 19 12 21 8...
result:
ok Correct! The number of the misses is 1300 (100 test cases)
Test #13:
score: 100
Accepted
time: 0ms
memory: 3960kb
First Run Input
prepare 100 MOHGEABJDDXQJMYVSPKBWONVTCPLWSQRFEKUNUHTLCXYIAFIGR LOFDRVYTQJXQHRTKMBHCEVSAUUIFAEXLMOGIKPBYNWNWCJPGSD EJBMJEYAAUDIPOTXILRCUQSDNKVPRYFCKMLSQGWFTVXOHNBHWG MHKMCDGVOQRWJBFSKLSGTYUDWOIAIUPCYTQPNEHBNJRAFXXVEL AVRXEJCFQXWBYTQRSWYHOBUPUNGSDMHILCNLFKJKMDGEOITAPV IRLQBTAYITACMJROOJHYNHSPBQLNEVWGX...
First Run Output
00000000010011000001010100101110011011111111011111 00000000000101100010010001011111110110110011111111 00001100100000001000100100011101111110011111011111 00010000000000001011000111001101111100111111101111 00000000010000110110010010010010011110111111111111 000000001110001011010100111100000010010111111...
Second Run Input
play 100 00000000010011000001010100101110011011111111011111 M. O- H. G- E. A- B. J- D. X- Q. Y- V. S- P. K- W. N- T. C- L. R- F. U- I. D- D. D+ J. J+ M. M+ B. B+ O. O+ V. V+ P. P+ W. W+ S. S+ Q. Q+ E. E+ K. K+ N. N+ U. U+ H. H+ T. T+ L. L+ C. C+ X. X+ Y. Y+ A. A+ F. F+ I. I+ G. G+ R. R! 000000000001...
Second Run Output
1 2 3 4 5 6 7 8 9 11 12 15 16 17 18 19 21 23 25 26 28 32 33 36 45 10 10 9 13 8 14 1 20 7 22 2 24 16 27 18 29 21 30 17 31 12 34 5 35 19 37 23 38 36 39 3 40 25 41 28 42 26 43 11 44 15 46 6 47 33 48 45 49 4 50 32 1 2 3 4 5 6 7 8 9 10 11 13 16 17 18 20 21 23 24 25 27 35 38 41 42 12 12 9 14 5 15 8 19 13 ...
result:
ok Correct! The number of the misses is 1300 (100 test cases)
Test #14:
score: 100
Accepted
time: 0ms
memory: 3828kb
First Run Input
prepare 100 KVKFHJETMUGYIINCNCXOSBTFLAAQERRDPVHJUXWDPQYWOMLSBG RKGEAFBUDOEJVNHJBSTOAHIWMWKFCPCYYVITXGXQUDLQSNLRMP VFSDMWJQNEGIOKCAQFCUJHRBPLWLMUPOASHKYETNTXGDXRVBIY AUELFVXFMCRTRVDAOJQWJKMQLEUKWSHXGIYHNNBOPBTPGCYSDI MGTWHRVJKOPGAYSEXKCJIQRYPDXNBTEFBOWACHSLINLUVUDQFM CAVGCIHTJQXHKTPQOLADBJDMGUWYENMLV...
First Run Output
00100000000001001100001100101010011111011111111111 00000000001000011001110001110010111101101101111111 00000000000000001110100000111111111101011011111111 00000001000011010000101111111001000101010111111111 00000000000100000101001110100110111111101110111111 000010000001010100100110100000111000111111111...
Second Run Input
play 100 00100000000001001100001100101010011111011111111111 K. V- F. H- J. E- T. M- U. G- Y. I- N. C- X. O- S. B- L. A- Q. R- D. P- W. K- K. K+ I. I+ N. N+ C. C+ T. T+ F. F+ A. A+ E. E+ R. R+ V. V+ H. H+ J. J+ U. U+ X. X+ D. D+ P. P+ Q. Q+ Y. Y+ W. W+ O. O+ M. M+ L. L+ S. S+ B. B+ G. G! 000000000010...
Second Run Output
1 2 4 5 6 7 8 9 10 11 12 13 15 16 19 20 21 22 25 26 28 30 32 33 39 3 3 1 14 13 17 15 18 16 23 8 24 4 27 26 29 7 31 30 34 2 35 5 36 6 37 10 38 19 40 32 41 33 42 28 43 12 44 39 45 20 46 9 47 25 48 21 49 22 50 11 1 2 3 4 5 6 7 8 9 10 12 13 14 15 18 19 23 24 25 29 30 32 37 40 43 11 11 4 16 12 17 7 20 10...
result:
ok Correct! The number of the misses is 1300 (100 test cases)
Test #15:
score: 100
Accepted
time: 0ms
memory: 3956kb
First Run Input
prepare 100 HXKQHJLCSAEPANTBUFWEUTDPXRRDMQGOKMSBFWVCVLONYYIGJI FHATBVFQWOIECJDGBSLKREDMQYNOTACNMKSJVULXGYIPPURWXH JVWOTSJAXCAPFURISNLKXYEHWMPIOHGFUQBCRQVMLYEGDBDNTK TOWIKXQPDRLAHPNUGUNKIRBECJYSQYMEFSDACFLXHVMJGTWBVO WTBUHJHOXMQNYCGNQBSKUVPFOFGILTXYLARSEDCRVIWAEJMPDK VHYQVKEJMPWUDBTWSMKIAGTEFGSYDUCCJ...
First Run Output
00001000000010000001110110110100111111011111010111 00000010000000001000011010011111111110101110111111 00000010001000001000100010111101100111111111011111 00000000000001000111110000001101011111111011111111 00000010000000011100100011100111100100111111111111 000010000000000101100011011111011110110001011...
Second Run Input
play 100 00001000000010000001110110110100111111011111010111 H. X- K. Q- J. L- C. S- A. E- P. N- T. B- U. F- W. D- R. M- G. O- V. Y- I. H- H. H+ A. A+ E. E+ U. U+ T. T+ P. P+ X. X+ R. R+ D. D+ Q. Q+ K. K+ M. M+ S. S+ B. B+ F. F+ W. W+ C. C+ V. V+ L. L+ O. O+ N. N+ Y. Y+ G. G+ J. J+ I. I! 000000100000...
Second Run Output
1 2 3 4 6 7 8 9 10 11 12 14 15 16 17 18 19 23 26 29 31 32 39 45 47 5 5 1 13 10 20 11 21 17 22 15 24 12 25 2 27 26 28 23 30 4 33 3 34 29 35 9 36 16 37 18 38 19 40 8 41 39 42 7 43 32 44 14 46 45 48 31 49 6 50 47 1 2 3 4 5 6 8 9 10 11 12 13 14 15 16 18 19 20 21 24 26 27 38 40 44 7 7 1 17 5 22 12 23 15 ...
result:
ok Correct! The number of the misses is 1300 (100 test cases)
Test #16:
score: 100
Accepted
time: 0ms
memory: 3952kb
First Run Input
prepare 100 SCMKNXOIGSNYXFERVPAEUQHDULFWTCLIRKMJPOHBBYGJTDVQWA XGAPSFERTQDFUWOJHLRPYNXIOVSBQTJDGCVKKAMCIUBMLNYEHW OTQJRXSJVDUSNDIPTGYBIRAMWBEFXFCLEKHGMKQAYHOLNPUCVW GTPJIHXDRBSYWEECOUYLWNLCXPMJFUAAMOGTVDHQRNFVKQKIBS URSEIOWGQPCNVFDRMNIUJASLAEBBKFYHJYGVMOXDKWTQXPTCHL ONFBMGMEDKCRRWCKPABJPDIHIYUGWQXSU...
First Run Output
00000000011010000001000010100111111011101111111111 00000000000100000011001010101111101011011111111111 00000001000101001000110001001100100111111111111111 00000000000000100010101111010101111101101111011111 00000000000000010111001011010100111111011101111111 000000100000101100101100100110001000111111111...
Second Run Input
play 100 00000000011010000001000010100111111011101111111111 S. C- M. K- N. X- O. I- G. Y- F. E- R. V- P. A- U. Q- H. D- L. W- T. J- B. S- S. S+ N. N+ X. X+ E. E+ U. U+ F. F+ C. C+ L. L+ I. I+ R. R+ K. K+ M. M+ P. P+ O. O+ H. H+ B. B+ Y. Y+ G. G+ J. J+ T. T+ D. D+ V. V+ Q. Q+ W. W+ A. A! 000000000001...
Second Run Output
1 2 3 4 5 6 7 8 9 12 14 15 16 17 18 19 21 22 23 24 26 28 29 36 40 10 10 1 11 5 13 6 20 15 25 21 27 14 30 2 31 26 32 8 33 16 34 4 35 3 37 18 38 7 39 23 41 40 42 12 43 9 44 36 45 29 46 24 47 17 48 22 49 28 50 19 1 2 3 4 5 6 7 8 9 10 11 13 14 15 16 17 18 21 22 24 26 28 34 36 39 12 12 6 19 8 20 4 23 1 2...
result:
ok Correct! The number of the misses is 1300 (100 test cases)
Test #17:
score: 100
Accepted
time: 0ms
memory: 3852kb
First Run Input
prepare 100 NNODHVLKIUVAYTXEBRPAPWXGHYJBOMRSSGKFUIQMFWQLTCJEDC HANGPOYBUGIFVTKOXXWBFRQAJLMYLMPUWCJEREKCVNDSIQSHDT ORBBPYTLJSQVISIAGHLGUREEOKAXFKYUJQXDMHNCTNCMDWFWPV GIAKBSRKPITXAVCLFEWDQFVNJJHXOGRMMYDEHUONTBWPUSCQLY PXIMBIELUQGORGWAKHNJQJBYFTNTKAPDDVVCHOSYLURFMCESXW GWUXITHXWIKOVQLSENPLYKDNCQPCJFBRM...
First Run Output
01000000001000000001101011011010111011011111101111 00000000010000010101100100011111101011111100111111 00010000000001100011010110100111111001001111101111 00000001010010000000011001010110101110111111111111 00000100000001000000111000111110101011011111111111 000000011100000000010101011100000111111101111...
Second Run Input
play 100 01000000001000000001101011011010111011011111101111 N. O- D. H- V. L- K. I- U. A- Y. T- X. E- B. R- P. W- G. J- M. S- F. Q- C. N- N. N+ V. V+ A. A+ P. P+ X. X+ H. H+ Y. Y+ B. B+ O. O+ R. R+ S. S+ G. G+ K. K+ U. U+ I. I+ M. M+ F. F+ W. W+ Q. Q+ L. L+ T. T+ J. J+ E. E+ D. D+ C. C! 000000000100...
Second Run Output
1 3 4 5 6 7 8 9 10 12 13 14 15 16 17 18 19 22 24 27 30 32 36 39 46 2 2 1 11 6 20 12 21 19 23 15 25 5 26 13 28 17 29 3 31 18 33 32 34 24 35 8 37 10 38 9 40 30 41 36 42 22 43 39 44 7 45 14 47 27 48 16 49 4 50 46 1 2 3 4 5 6 7 8 9 11 12 13 14 15 17 19 22 23 25 26 27 34 36 43 44 10 10 4 16 6 18 17 20 8 ...
result:
ok Correct! The number of the misses is 1300 (100 test cases)