QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#505626#3470. nnnnnxiaowuc1AC ✓327ms83780kbJava82.4kb2024-08-05 06:31:452024-08-05 06:31:46

Details

Tip: Click on the bar to expand more detailed information

Test #1:

score: 100
Accepted
time: 40ms
memory: 38544kb

input:

20

output:

10

result:

ok single line: '10'

Test #2:

score: 0
Accepted
time: 37ms
memory: 37376kb

input:

0

output:

0

result:

ok single line: '0'

Test #3:

score: 0
Accepted
time: 36ms
memory: 38492kb

input:

1

output:

1

result:

ok single line: '1'

Test #4:

score: 0
Accepted
time: 32ms
memory: 36992kb

input:

10000000000

output:

1000000000

result:

ok single line: '1000000000'

Test #5:

score: 0
Accepted
time: 327ms
memory: 83780kb

input:

999994000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000...

output:

100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000...

result:

ok single line: '100000000000000000000000000000...0000000000000000000000000000000'

Test #6:

score: 0
Accepted
time: 36ms
memory: 40872kb

input:

252389868212908883862426244404033675926921321123440573992133059211024879835

output:

3457395454971354573457893758959365423656456453745761287563466564534587395

result:

ok single line: '345739545497135457345789375895...6453745761287563466564534587395'

Test #7:

score: 0
Accepted
time: 289ms
memory: 82652kb

input:

879452999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999...

output:

999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999...

result:

ok single line: '999999999999999999999999999999...9999999999999999999999999999999'

Test #8:

score: 0
Accepted
time: 306ms
memory: 82488kb

input:

879453000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000...

output:

100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000...

result:

ok single line: '100000000000000000000000000000...0000000000000000000000000000001'

Test #9:

score: 0
Accepted
time: 159ms
memory: 62464kb

input:

124356775730137702559573773751211518927336586773563724598175627961365364160451147403692521904518726185466063987452030144045010572178906566268517793299316984178507538915417902143266807971120439639972360692715520232714743552728976235021723634026218990439037253893869210377595410370522697655063062213711...

output:

529576641683896818282594864009111198338052860126834784489490501191814107478616436225124974574546471961716118044024776721381681403350210866348346598498941688754966672410359726872013422752969000651436872421847605356863439921681335452752599336633204543162455355284061656556620988448843161253638111316657...

result:

ok single line: '529576641683896818282594864009...3519913976426725413272252320322'

Test #10:

score: 0
Accepted
time: 263ms
memory: 78580kb

input:

166015300724688347857013538866713240402634874607491998637336060470156936125115068230392572526162275373954947362289056259658528754704025272115372306345872678973139287880726443920235999899707917254939227014821060974600777530551694244710473420050548934039818045561626940704682731069551138254596087423773...

output:

284013078323396667870497762092048093699656263976932049525495626379572336468220955890320447614958711339212000263952235900150425389633494838820962179010755027035449243124824978393448456205640591060467358639225538590741988542243384037045703791482700636814655855025758879217774724942520261019198348468649...

result:

ok single line: '284013078323396667870497762092...7206555986981704616956022225169'

Test #11:

score: 0
Accepted
time: 288ms
memory: 83480kb

input:

139804248428090769110157472787096192245195315792717825975041080480770846339935669613434286756174559488125158305555826058441825489120929837740919608276001397106329127029209365194881966685520767627971058610575683622521852644029066988529604022222446609253896398951533411754896731905117913028195661814612...

output:

182551396094577512271125598578148285525204927683793279198575516241449981183852487302662174954362962633106554682870103949861034673423034776082210408607600066732819898580254709166964119798025380960613002292368047454767479475381860307415571268252882943785405993394834934097941112517863394893411324651671...

result:

ok single line: '182551396094577512271125598578...0453061516300703304692192482152'

Test #12:

score: 0
Accepted
time: 36ms
memory: 37584kb

input:

198

output:

99

result:

ok single line: '99'