QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#79834#2393. Alien IntegershutalityAC ✓4ms3792kbC++143.2kb2023-02-21 00:59:472023-02-21 01:01:05

详细

Test #1:

score: 100
Accepted
time: 2ms
memory: 3688kb

input:

1

output:

0 2

result:

ok single line: '0 2'

Test #2:

score: 0
Accepted
time: 4ms
memory: 3660kb

input:

394444

output:

288888 500000

result:

ok single line: '288888 500000'

Test #3:

score: 0
Accepted
time: 2ms
memory: 3756kb

input:

605555

output:

499999 711111

result:

ok single line: '499999 711111'

Test #4:

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

input:

944444

output:

888888 1000000

result:

ok single line: '888888 1000000'

Test #5:

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

input:

394444444444444

output:

288888888888888 500000000000000

result:

ok single line: '288888888888888 500000000000000'

Test #6:

score: 0
Accepted
time: 2ms
memory: 3784kb

input:

605555555555555

output:

499999999999999 711111111111111

result:

ok single line: '499999999999999 711111111111111'

Test #7:

score: 0
Accepted
time: 2ms
memory: 3692kb

input:

944444444444444

output:

888888888888888 1000000000000000

result:

ok single line: '888888888888888 1000000000000000'

Test #8:

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

input:

1000000000000000

output:

999999999999999

result:

ok single line: '999999999999999'

Test #9:

score: 0
Accepted
time: 2ms
memory: 3752kb

input:

102030405060708

output:

99999999999999

result:

ok single line: '99999999999999'

Test #10:

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

input:

807060504030201

output:

999999999999999

result:

ok single line: '999999999999999'

Test #11:

score: 0
Accepted
time: 2ms
memory: 3684kb

input:

11111111111111

output:

9999999999999

result:

ok single line: '9999999999999'

Test #12:

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

input:

4

output:

3 5

result:

ok single line: '3 5'

Test #13:

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

input:

2222222222222

output:

1999999999999

result:

ok single line: '1999999999999'

Test #14:

score: 0
Accepted
time: 2ms
memory: 3688kb

input:

1999999999999

output:

2000000000000

result:

ok single line: '2000000000000'

Test #15:

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

input:

100000000000009

output:

88888888888888

result:

ok single line: '88888888888888'

Test #16:

score: 0
Accepted
time: 2ms
memory: 3632kb

input:

90000000000001

output:

88888888888888

result:

ok single line: '88888888888888'

Test #17:

score: 0
Accepted
time: 2ms
memory: 3636kb

input:

9876543210000

output:

Impossible

result:

ok single line: 'Impossible'

Test #18:

score: 0
Accepted
time: 2ms
memory: 3656kb

input:

112233440056789

output:

Impossible

result:

ok single line: 'Impossible'

Test #19:

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

input:

998877661123450

output:

Impossible

result:

ok single line: 'Impossible'

Test #20:

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

input:

912357890016129

output:

444444444444444

result:

ok single line: '444444444444444'

Test #21:

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

input:

189765003210110

output:

44444444444444

result:

ok single line: '44444444444444'

Test #22:

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

input:

778899023235656

output:

1111111111111111

result:

ok single line: '1111111111111111'

Test #23:

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

input:

5

output:

4 6

result:

ok single line: '4 6'

Test #24:

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

input:

333301467899999

output:

255555555555555

result:

ok single line: '255555555555555'

Test #25:

score: 0
Accepted
time: 2ms
memory: 3692kb

input:

433301467899999

output:

522222222222222

result:

ok single line: '522222222222222'

Test #26:

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

input:

274613689526294

output:

0

result:

ok single line: '0'

Test #27:

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

input:

340039250762387

output:

111111111111111

result:

ok single line: '111111111111111'

Test #28:

score: 0
Accepted
time: 2ms
memory: 3780kb

input:

136418797906598

output:

222222222222222

result:

ok single line: '222222222222222'

Test #29:

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

input:

161072428972852

output:

33333333333333

result:

ok single line: '33333333333333'

Test #30:

score: 0
Accepted
time: 2ms
memory: 3784kb

input:

589602035803718

output:

444444444444444

result:

ok single line: '444444444444444'

Test #31:

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

input:

146863487601092

output:

55555555555555

result:

ok single line: '55555555555555'

Test #32:

score: 0
Accepted
time: 2ms
memory: 3720kb

input:

350039125347282

output:

66666666666666

result:

ok single line: '66666666666666'

Test #33:

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

input:

652956153048838

output:

777777777777777

result:

ok single line: '777777777777777'

Test #34:

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

input:

9

output:

8 10

result:

ok single line: '8 10'

Test #35:

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

input:

421200497362543

output:

88888888888888

result:

ok single line: '88888888888888'

Test #36:

score: 0
Accepted
time: 2ms
memory: 3636kb

input:

867410302085138

output:

999999999999999

result:

ok single line: '999999999999999'

Test #37:

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

input:

223344556677889

output:

111111111111111

result:

ok single line: '111111111111111'

Test #38:

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

input:

110044556677889

output:

33333333333333

result:

ok single line: '33333333333333'

Test #39:

score: 0
Accepted
time: 2ms
memory: 3624kb

input:

110022336677889

output:

55555555555555

result:

ok single line: '55555555555555'

Test #40:

score: 0
Accepted
time: 2ms
memory: 3700kb

input:

110022334455889

output:

77777777777777

result:

ok single line: '77777777777777'

Test #41:

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

input:

110022334455667

output:

99999999999999

result:

ok single line: '99999999999999'

Test #42:

score: 0
Accepted
time: 2ms
memory: 3756kb

input:

442233116677889

output:

500000000000000

result:

ok single line: '500000000000000'

Test #43:

score: 0
Accepted
time: 2ms
memory: 3672kb

input:

220033445577889

output:

166666666666666

result:

ok single line: '166666666666666'

Test #44:

score: 0
Accepted
time: 2ms
memory: 3624kb

input:

330011445566889

output:

277777777777777

result:

ok single line: '277777777777777'

Test #45:

score: 0
Accepted
time: 2ms
memory: 3764kb

input:

10

output:

9

result:

ok single line: '9'

Test #46:

score: 0
Accepted
time: 2ms
memory: 3676kb

input:

770022445566119

output:

833333333333333

result:

ok single line: '833333333333333'

Test #47:

score: 0
Accepted
time: 2ms
memory: 3680kb

input:

550022331166778

output:

499999999999999

result:

ok single line: '499999999999999'

Test #48:

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

input:

94

output:

88 100

result:

ok single line: '88 100'

Test #49:

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

input:

394

output:

288 500

result:

ok single line: '288 500'

Test #50:

score: 0
Accepted
time: 2ms
memory: 3780kb

input:

944

output:

888 1000

result:

ok single line: '888 1000'

Test #51:

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

input:

999

output:

1000

result:

ok single line: '1000'

Test #52:

score: 0
Accepted
time: 2ms
memory: 3672kb

input:

123456789

output:

0

result:

ok single line: '0'