QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#206858#7565. Harumachi Kazeucup-team1878#AC ✓1245ms4512kbC++2313.1kb2023-10-07 23:22:352023-10-07 23:22:37

Details

Tip: Click on the bar to expand more detailed information

Test #1:

score: 100
Accepted
time: 1ms
memory: 3644kb

input:

2 3 2
288230376151711744 864691128455135232
1441151880758558720 2017612633061982208
2 3
1 2 2 2594073385365405696
2 3
1152921504606846976
3458764513820540928
1152921504606846976
1152921504606846976
4035225266123964416
1152921504606846976
1152921504606846976

output:

A 288230376151711744 864691128455135232
A 1441151880758558720 2017612633061982208
C 3458764513820540928 1152921504606846976
C 1152921504606846976 1441151880758558720
A 1441151880758558720 2594073385365405696
C 4035225266123964416 1152921504606846976
C 1152921504606846976 1441151880758558720
! 2
1441...

result:

ok 2 lines

Test #2:

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

input:

3 5 3
2017612633061982208 864691128455135232 2305843009213693952
1441151880758558720 2017612633061982208 288230376151711744
2 5
2 2
1 1 3 1729382256910270464
1 2 1 2017612633061982208
2 5
2882303761517117440
3458764513820540928
2882303761517117440
5188146770730811392
3458764513820540928
374699488997...

output:

A 2017612633061982208 864691128455135232
A 1441151880758558720 2017612633061982208
C 2882303761517117440 3458764513820540928
A 2882303761517117440 2305843009213693952
C 5188146770730811392 3458764513820540928
A 3458764513820540928 288230376151711744
C 3746994889972252672 5188146770730811392
C 345876...

result:

ok 2 lines

Test #3:

score: 0
Accepted
time: 1097ms
memory: 4508kb

input:

16000 20000 14
12381691541923575949 2314459967875656919 15240288079556723088 320873566057825844 1013209648229540810 17538037439317817183 11476444495745028170 14967174865083701448 17232652930598276562 7175999203534983334 4597650078600036201 13978217693115848142 17682091621678261784 488328147143975490...

output:

A 3033044528840612658 17505130304254045055
A 18174454467939131823 1861083334326566023
A 548301410079160603 949972706405457831
A 2324209931401999961 9634538849563140261
A 13997453974142715808 9206427615340649724
A 9080757720695759842 2351459862016084221
A 5396284675940967904 12412619722660754202
A 33...

result:

ok 2 lines

Test #4:

score: 0
Accepted
time: 1205ms
memory: 4300kb

input:

16000 20000 14
14874916021093924522 12369740409537030379 6287256359015658845 823444916947643237 4526221239260804705 11449122367236060745 5269387146536217002 12271448617436014402 2707995377102611522 953402166614134577 8882130735136249391 5659092195367212151 12689325453646244318 14372002311792512418 7...

output:

A 13830288122355463876 14205263899192452376
A 14416576616794588457 16639631021471388367
A 16617842718232710754 10852494763337735310
A 18437486156939222174 8922217818561159695
A 6823109735123349851 4112859520404207937
A 11566781420841421182 7699918973321314568
A 5313848890767936015 164039110110000152...

result:

ok 2 lines

Test #5:

score: 0
Accepted
time: 1232ms
memory: 4512kb

input:

16000 20000 14
12315377266285165767 11473010392351879640 7998004721169407057 9573065544888591349 8327463206443780344 16951550409690804427 9014132268830135915 1328673092737196637 5921820488166554289 3905417438586104204 16182336802010099310 4414669279483371512 13388655175283310101 4417487293134062765 ...

output:

A 12299336489719924205 2767615021535717794
A 17733401347514840443 2307654552211846640
A 7344900942507636865 3264426480866095798
A 12979026093973267226 12974429645386574713
A 6832734882424768062 16086134529831312511
A 8441788272271377395 13117306838086512803
A 7867445533930329718 7421252492607064139
...

result:

ok 2 lines

Test #6:

score: 0
Accepted
time: 1181ms
memory: 4328kb

input:

16000 20000 14
12381691541923575949 2314459967875656919 15240288079556723088 320873566057825844 1013209648229540810 17538037439317817183 11476444495745028170 14967174865083701448 17232652930598276562 7175999203534983334 4597650078600036201 13978217693115848142 17682091621678261784 488328147143975490...

output:

A 3033044528840612658 17505130304254045055
A 18174454467939131823 1861083334326566023
A 548301410079160603 949972706405457831
A 2324209931401999961 9634538849563140261
A 13997453974142715808 9206427615340649724
A 9080757720695759842 2351459862016084221
A 5396284675940967904 12412619722660754202
A 33...

result:

ok 2 lines

Test #7:

score: 0
Accepted
time: 1245ms
memory: 4308kb

input:

16000 20000 14
14874916021093924522 12369740409537030379 6287256359015658845 823444916947643237 4526221239260804705 11449122367236060745 5269387146536217002 12271448617436014402 2707995377102611522 953402166614134577 8882130735136249391 5659092195367212151 12689325453646244318 14372002311792512418 7...

output:

A 13830288122355463876 14205263899192452376
A 14416576616794588457 16639631021471388367
A 16617842718232710754 10852494763337735310
A 18437486156939222174 8922217818561159695
A 6823109735123349851 4112859520404207937
A 11566781420841421182 7699918973321314568
A 5313848890767936015 164039110110000152...

result:

ok 2 lines

Test #8:

score: 0
Accepted
time: 1070ms
memory: 4288kb

input:

16000 20000 14
12315377266285165767 11473010392351879640 7998004721169407057 9573065544888591349 8327463206443780344 16951550409690804427 9014132268830135915 1328673092737196637 5921820488166554289 3905417438586104204 16182336802010099310 4414669279483371512 13388655175283310101 4417487293134062765 ...

output:

A 12299336489719924205 2767615021535717794
A 17733401347514840443 2307654552211846640
A 7344900942507636865 3264426480866095798
A 12979026093973267226 12974429645386574713
A 6832734882424768062 16086134529831312511
A 8441788272271377395 13117306838086512803
A 7867445533930329718 7421252492607064139
...

result:

ok 2 lines

Test #9:

score: 0
Accepted
time: 1091ms
memory: 4296kb

input:

16000 20000 14
12381691541923575949 2314459967875656919 15240288079556723088 320873566057825844 1013209648229540810 17538037439317817183 11476444495745028170 14967174865083701448 17232652930598276562 7175999203534983334 4597650078600036201 13978217693115848142 17682091621678261784 488328147143975490...

output:

A 3033044528840612658 17505130304254045055
A 18174454467939131823 1861083334326566023
A 548301410079160603 949972706405457831
A 2324209931401999961 9634538849563140261
A 13997453974142715808 9206427615340649724
A 9080757720695759842 2351459862016084221
A 5396284675940967904 12412619722660754202
A 33...

result:

ok 2 lines

Test #10:

score: 0
Accepted
time: 1227ms
memory: 4280kb

input:

16000 20000 14
14874916021093924522 12369740409537030379 6287256359015658845 823444916947643237 4526221239260804705 11449122367236060745 5269387146536217002 12271448617436014402 2707995377102611522 953402166614134577 8882130735136249391 5659092195367212151 12689325453646244318 14372002311792512418 7...

output:

A 13830288122355463876 14205263899192452376
A 14416576616794588457 16639631021471388367
A 16617842718232710754 10852494763337735310
A 18437486156939222174 8922217818561159695
A 6823109735123349851 4112859520404207937
A 11566781420841421182 7699918973321314568
A 5313848890767936015 164039110110000152...

result:

ok 2 lines

Test #11:

score: 0
Accepted
time: 1145ms
memory: 4244kb

input:

16000 20000 14
12315377266285165767 11473010392351879640 7998004721169407057 9573065544888591349 8327463206443780344 16951550409690804427 9014132268830135915 1328673092737196637 5921820488166554289 3905417438586104204 16182336802010099310 4414669279483371512 13388655175283310101 4417487293134062765 ...

output:

A 12299336489719924205 2767615021535717794
A 17733401347514840443 2307654552211846640
A 7344900942507636865 3264426480866095798
A 12979026093973267226 12974429645386574713
A 6832734882424768062 16086134529831312511
A 8441788272271377395 13117306838086512803
A 7867445533930329718 7421252492607064139
...

result:

ok 2 lines