QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#505649#4198. Alto Singingxiaowuc1AC ✓16ms10864kbPython31.3kb2024-08-05 06:37:022024-08-05 06:37:02

詳細信息

Test #1:

score: 100
Accepted
time: 7ms
memory: 10644kb

input:

14
F3 F5
C4 C4 G4 G4 A4 A4 G4 F4 F4 E4 E4 D4 D4 C4

output:

0 3

result:

ok single line: '0 3'

Test #2:

score: 0
Accepted
time: 14ms
memory: 10536kb

input:

1
C#1 A#1
C1000000000

output:

0 5

result:

ok single line: '0 5'

Test #3:

score: 0
Accepted
time: 7ms
memory: 10648kb

input:

3
F3 F5
F3 F#3 F5

output:

1 1

result:

ok single line: '1 1'

Test #4:

score: 0
Accepted
time: 9ms
memory: 10852kb

input:

973
E84927386 C84927553
A253131756 D253131750 C253131782 C253131757 C#253131802 C#253131728 A#253131805 B253131762 D253131835 A#253131727 B253131732 G253131871 B253131751 F253131812 C253131739 G#253131815 B253131775 A253131776 C#253131861 E253131882 C#253131826 B253131860 D253131729 G#253131877 F253...

output:

394 1

result:

ok single line: '394 1'

Test #5:

score: 0
Accepted
time: 11ms
memory: 10768kb

input:

640
A176696257 F176696424
C205347090 D205347067 E205347183 D#205347057 C#205347168 E205347122 D205347087 F205347134 C205347057 F205347203 F#205347094 D205347076 F#205347093 F#205347140 G#205347210 D#205347103 F205347064 B205347145 E205347142 A#205347106 B205347158 F205347141 B205347145 F205347071 G#...

output:

251 1

result:

ok single line: '251 1'

Test #6:

score: 0
Accepted
time: 3ms
memory: 10732kb

input:

307
E278479728 C278479895
F103904021 C#103903954 G103904070 F#103904053 D103903972 C103904029 F103904070 F#103903924 C103904063 D#103904019 E103904031 D103904016 F#103904058 A#103903958 A#103903973 D#103904028 A#103904067 F103904068 A#103904069 F103904032 F103903966 D103903990 B103904059 C#103903923...

output:

118 1

result:

ok single line: '118 1'

Test #7:

score: 0
Accepted
time: 11ms
memory: 10660kb

input:

415
F412901466 C#412901633
C#222664046 D222664047 C222664053 G#222664104 A#222664126 C#222664161 C222664042 D#222664044 A#222664113 G222664094 G222664151 A#222664135 F#222664155 G222664036 E222664026 A222664000 G222664114 F#222664127 F#222664135 D#222664042 G222664122 C222664106 A222664114 G22266400...

output:

162 1

result:

ok single line: '162 1'

Test #8:

score: 0
Accepted
time: 15ms
memory: 10732kb

input:

894
E20648731 C20648898
C152065014 G152065060 D152065006 G152064937 G#152065019 F#152064981 E152065048 F152065070 A#152064960 F#152065038 D152065032 G#152065053 G152065070 G#152065066 F152065027 A#152065059 A#152064953 B152064979 G152064909 E152065031 C152064972 D#152065061 G152065040 D152065033 G15...

output:

358 1

result:

ok single line: '358 1'

Test #9:

score: 0
Accepted
time: 15ms
memory: 10676kb

input:

513
G754361649 D#754361816
C666238746 B666238752 G666238672 G666238711 D#666238791 D666238735 C666238821 G666238718 F666238735 C666238813 A666238699 F666238703 C#666238704 D666238748 A#666238792 A666238672 D#666238769 A#666238785 C666238800 C#666238708 D#666238827 E666238755 D666238698 D666238678 E6...

output:

192 2

result:

ok single line: '192 2'

Test #10:

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

input:

700
C433195221 G#433195387
E322464716 G#322464858 G322464772 G322464872 D322464801 G#322464861 D322464782 A322464872 C322464730 D322464774 C#322464710 D322464776 B322464851 D#322464809 G322464846 E322464808 E322464749 A#322464735 B322464722 G322464764 C#322464720 F322464770 D322464834 F#322464869 A#...

output:

288 1

result:

ok single line: '288 1'

Test #11:

score: 0
Accepted
time: 15ms
memory: 10740kb

input:

8
F#499100803 D499100970
C#522296661 D522296781 C522296794 D522296740 F#522296796 E522296704 F#522296694 F#522296709

output:

1 94

result:

ok single line: '1 94'

Test #12:

score: 0
Accepted
time: 10ms
memory: 10656kb

input:

133
A#825115049 F#825115216
C406643898 F#406643907 G#406643910 A#406643889 A#406643768 G#406643774 C#406643831 C406643909 G406643919 E406643816 F406643785 C#406643770 F406643921 F406643762 G406643857 D#406643840 D406643918 A406643905 A#406643887 C406643873 C#406643803 C406643908 G#406643839 F4066437...

output:

46 6

result:

ok single line: '46 6'

Test #13:

score: 0
Accepted
time: 12ms
memory: 10756kb

input:

487
C18642370 G#18642536
G459921370 G459921454 F459921414 F#459921439 A459921417 C459921406 F459921453 G459921376 B459921332 A459921348 F459921377 A#459921348 D459921457 F459921437 D459921361 A#459921332 C#459921424 G459921440 G459921428 D#459921462 D459921393 D459921470 G459921374 D459921463 G#4599...

output:

189 1

result:

ok single line: '189 1'

Test #14:

score: 0
Accepted
time: 8ms
memory: 10828kb

input:

1000
F#187830249 C#671099994
F#756468650 D812423152 B404731912 G#469624094 C675996997 F465963161 F761423990 F816341990 F#856349748 C#754180838 A#707013750 C831644828 G704082452 C773315518 A#601224484 E569240628 A697047239 F719608538 C#696877629 F#757454726 F#769393357 F508205167 G845057237 F#7094823...

output:

404 1243777

result:

ok single line: '404 1243777'

Test #15:

score: 0
Accepted
time: 5ms
memory: 10720kb

input:

1000
D#88040467 A#185805481
G#168461548 A253688298 D#171959878 A175410839 D183438400 G#230855150 C#205821368 F168861146 A#250473453 B167936415 A169723942 D#217084243 B254801442 A#232093065 F222860522 G213044433 E176008403 A#167013519 D#242408489 G215536427 F#223019133 C#205607816 C#210489219 D247653...

output:

402 112949

result:

ok single line: '402 112949'

Test #16:

score: 0
Accepted
time: 12ms
memory: 10708kb

input:

1000
C702143651 A750412583
C#805666708 B820729036 B846530959 G#827353063 A824527832 G811014408 D#832390502 A809484614 C842579944 C#821049541 G#818502131 B842298948 F#850428479 D832938280 D#817171406 A839085690 F#822322559 C#805317227 C825250065 D#804618964 A#830067331 E840124710 G820495997 B81783732...

output:

393 110583

result:

ok single line: '393 110583'

Test #17:

score: 0
Accepted
time: 16ms
memory: 10824kb

input:

1000
D673362403 F884342165
B188138535 E80828267 A112955609 B269285873 C#155770905 D237686341 D#237518996 C#158111579 A#199084095 B175915614 F#180593581 C203484522 D#199311461 F#154062712 E183403208 F#102499179 F#96652172 F#238662070 A#254932428 E210242073 E206528498 B117437828 C135520396 D190621151 ...

output:

400 1113911

result:

ok single line: '400 1113911'

Test #18:

score: 0
Accepted
time: 16ms
memory: 10764kb

input:

1000
F#232436992 E482929662
C273122992 B135754901 C#121166068 D207238189 C#207775416 E262118317 C327298848 F#267076577 C239875700 D#341678588 C343840113 F#124533404 F#178964565 A327343325 D#191861642 B318342016 C314375938 A187375196 A#157573667 A237153706 F318894962 D213977860 D#119802044 C#30731986...

output:

401 128725

result:

ok single line: '401 128725'

Test #19:

score: 0
Accepted
time: 14ms
memory: 10664kb

input:

724
B381040982 B381040982
A667385127 A667385127 A667385127 A667385127 A667385127 A667385127 A667385127 A667385127 A667385127 A667385127 A667385127 A667385127 A667385127 A667385127 A667385127 A667385127 A667385127 A667385127 A667385127 A667385127 A667385127 A667385127 A667385127 A667385127 A667385127...

output:

0 1

result:

ok single line: '0 1'

Test #20:

score: 0
Accepted
time: 12ms
memory: 10712kb

input:

708
C#759994094 C#759994094
F828509880 F828509880 F828509880 F828509880 F828509880 F828509880 F828509880 F828509880 F828509880 F828509880 F828509880 F828509880 F828509880 F828509880 F828509880 F828509880 F828509880 F828509880 F828509880 F828509880 F828509880 F828509880 F828509880 F828509880 F8285098...

output:

708 1

result:

ok single line: '708 1'

Test #21:

score: 0
Accepted
time: 8ms
memory: 10620kb

input:

282
D792865769 D792865769
D792865769 D792865769 D792865769 D792865769 D792865769 D792865769 D792865769 D792865769 D792865769 D792865769 D792865769 D792865769 D792865769 D792865769 D792865769 D792865769 D792865769 D792865769 D792865769 D792865769 D792865769 D792865769 D792865769 D792865769 D792865769...

output:

0 1

result:

ok single line: '0 1'

Test #22:

score: 0
Accepted
time: 11ms
memory: 10764kb

input:

686
A#39768810 A#39768810
A#39768810 A#39768810 A#39768810 A#39768810 A#39768810 A#39768810 A#39768810 A#39768810 A#39768810 A#39768810 A#39768810 A#39768810 A#39768810 A#39768810 A#39768810 A#39768810 A#39768810 A#39768810 A#39768810 A#39768810 A#39768810 A#39768810 A#39768810 A#39768810 A#39768810...

output:

686 1

result:

ok single line: '686 1'

Test #23:

score: 0
Accepted
time: 11ms
memory: 10864kb

input:

1000
C938951303 A958540313
C#937903224 G#924694511 D#938418301 C922240323 G935273661 E933056652 C928222706 C939079073 B928900249 C937898845 C#928139553 C#931504969 E932562627 A#930616408 G#935348263 D#937382899 C924622024 F930696906 B928112552 C926666833 B921089316 F938912553 B925775324 A#940132611 ...

output:

431 1

result:

ok single line: '431 1'

Test #24:

score: 0
Accepted
time: 11ms
memory: 10748kb

input:

1000
C#37328405 B670072288
C#726462552 F452353518 C#533639700 D#986208774 D625432452 E487936844 C#661977857 A966729737 G#374554532 D#486134643 D628972391 D#877256887 C698273628 B789970930 E703668191 D#514467507 A#555092113 C709715590 F#650433441 E494604527 D#455965889 G838069060 E639499486 C#9713437...

output:

444 1

result:

ok single line: '444 1'

Test #25:

score: 0
Accepted
time: 15ms
memory: 10828kb

input:

1000
E777194013 A879749905
B405131619 D365745966 A#341372415 E376036468 F402504507 D352058880 A#330666824 F#373009956 A#382554231 C336808779 D350907426 G#379272398 D#366019853 F#366545571 A397902793 D#403056110 C327158258 G#405481428 F382398515 C368546761 F#327140229 G378902568 D403241787 C#34647606...

output:

419 1

result:

ok single line: '419 1'

Test #26:

score: 0
Accepted
time: 11ms
memory: 10776kb

input:

1000
A521991870 A744204599
F#789681933 E692588429 E819189104 C712206290 A783731068 F809793797 E686288997 G#608165478 F#619413427 C#721670378 A609238422 G#674733000 D730379012 D#613641190 A703408281 B688878624 G#670457722 F628902416 A#696426109 C736415299 D653517412 D726875436 C622881754 A666036106 D...

output:

380 1

result:

ok single line: '380 1'

Test #27:

score: 0
Accepted
time: 15ms
memory: 10748kb

input:

1000
E803142762 C#897093404
C#931814070 B863719027 C897618231 E894036803 C#901178395 G943825917 G878457749 B886614912 F930608248 G870041818 E891815677 B936084266 A#861433832 F890406755 F872221616 C882286395 A882939969 A#875279391 C868582078 F898369300 D#946250409 A875155745 C872540261 A952173633 A86...

output:

391 1

result:

ok single line: '391 1'

Test #28:

score: 0
Accepted
time: 15ms
memory: 10704kb

input:

1000
A#157717894 A668434560
F584402529 G630652610 D596392294 G403851545 D515000553 G747980477 D#460550833 C617490440 E324921996 D367125571 G743544482 D#364366413 D762849539 F609718744 A#499272378 B501899814 B509292555 C#497896311 E321161442 A370953151 D#527140882 G#577504592 A695246723 D420690720 G4...

output:

404 1

result:

ok single line: '404 1'