QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#346571#7923. Ferris WheelZ_301AC ✓224ms76688kbC++1711.6kb2024-03-08 18:03:422024-03-08 18:03:42

Details

Tip: Click on the bar to expand more detailed information

Test #1:

score: 100
Accepted
time: 187ms
memory: 75968kb

input:

3 2

output:

6

result:

ok single line: '6'

Test #2:

score: 0
Accepted
time: 224ms
memory: 76112kb

input:

5 3

output:

372

result:

ok single line: '372'

Test #3:

score: 0
Accepted
time: 188ms
memory: 76120kb

input:

2023 1126

output:

900119621

result:

ok single line: '900119621'

Test #4:

score: 0
Accepted
time: 188ms
memory: 76180kb

input:

2882880 2892778

output:

421329574

result:

ok single line: '421329574'

Test #5:

score: 0
Accepted
time: 191ms
memory: 75820kb

input:

2993760 2738336

output:

436950672

result:

ok single line: '436950672'

Test #6:

score: 0
Accepted
time: 202ms
memory: 76044kb

input:

2948400 2885387

output:

4079921

result:

ok single line: '4079921'

Test #7:

score: 0
Accepted
time: 200ms
memory: 75888kb

input:

2827440 2802363

output:

243025786

result:

ok single line: '243025786'

Test #8:

score: 0
Accepted
time: 190ms
memory: 75812kb

input:

2962575 2720060

output:

651075152

result:

ok single line: '651075152'

Test #9:

score: 0
Accepted
time: 197ms
memory: 76688kb

input:

2927925 2880541

output:

547809301

result:

ok single line: '547809301'

Test #10:

score: 0
Accepted
time: 201ms
memory: 75908kb

input:

2837835 2955737

output:

66014301

result:

ok single line: '66014301'

Test #11:

score: 0
Accepted
time: 194ms
memory: 76316kb

input:

2993445 2802568

output:

852155961

result:

ok single line: '852155961'

Test #12:

score: 0
Accepted
time: 196ms
memory: 75736kb

input:

3000000 2721531

output:

330139745

result:

ok single line: '330139745'

Test #13:

score: 0
Accepted
time: 189ms
memory: 75868kb

input:

2999999 2874068

output:

11487172

result:

ok single line: '11487172'

Test #14:

score: 0
Accepted
time: 196ms
memory: 76128kb

input:

1 2879803

output:

2879803

result:

ok single line: '2879803'

Test #15:

score: 0
Accepted
time: 191ms
memory: 75788kb

input:

2 1634023

output:

363699315

result:

ok single line: '363699315'

Test #16:

score: 0
Accepted
time: 190ms
memory: 75972kb

input:

3 1133070

output:

941531760

result:

ok single line: '941531760'

Test #17:

score: 0
Accepted
time: 190ms
memory: 75936kb

input:

4 2975012

output:

600544573

result:

ok single line: '600544573'

Test #18:

score: 0
Accepted
time: 191ms
memory: 76068kb

input:

5 478043

output:

284058138

result:

ok single line: '284058138'

Test #19:

score: 0
Accepted
time: 194ms
memory: 75964kb

input:

6 377374

output:

21417458

result:

ok single line: '21417458'

Test #20:

score: 0
Accepted
time: 189ms
memory: 75888kb

input:

575199 2998538

output:

985915533

result:

ok single line: '985915533'

Test #21:

score: 0
Accepted
time: 192ms
memory: 76108kb

input:

1566414 2864371

output:

555268438

result:

ok single line: '555268438'

Test #22:

score: 0
Accepted
time: 203ms
memory: 76072kb

input:

759957 2868981

output:

485958800

result:

ok single line: '485958800'

Test #23:

score: 0
Accepted
time: 183ms
memory: 75868kb

input:

1906997 2799171

output:

340977363

result:

ok single line: '340977363'

Test #24:

score: 0
Accepted
time: 198ms
memory: 76192kb

input:

2420926 497282

output:

927874930

result:

ok single line: '927874930'

Test #25:

score: 0
Accepted
time: 194ms
memory: 76060kb

input:

2660337 2477085

output:

817341716

result:

ok single line: '817341716'

Test #26:

score: 0
Accepted
time: 195ms
memory: 75956kb

input:

2661314 2721730

output:

576896798

result:

ok single line: '576896798'

Test #27:

score: 0
Accepted
time: 182ms
memory: 75944kb

input:

353896 2925858

output:

274269675

result:

ok single line: '274269675'

Test #28:

score: 0
Accepted
time: 189ms
memory: 76040kb

input:

2726809 819583

output:

864442996

result:

ok single line: '864442996'

Test #29:

score: 0
Accepted
time: 189ms
memory: 75892kb

input:

2893369 2895789

output:

521969424

result:

ok single line: '521969424'

Test #30:

score: 0
Accepted
time: 186ms
memory: 76056kb

input:

2858441 2736227

output:

357358178

result:

ok single line: '357358178'

Test #31:

score: 0
Accepted
time: 184ms
memory: 76024kb

input:

2954587 744730

output:

540167871

result:

ok single line: '540167871'

Test #32:

score: 0
Accepted
time: 183ms
memory: 76180kb

input:

1902149 2964684

output:

967678819

result:

ok single line: '967678819'

Test #33:

score: 0
Accepted
time: 186ms
memory: 75988kb

input:

2906083 2818150

output:

800415339

result:

ok single line: '800415339'

Test #34:

score: 0
Accepted
time: 191ms
memory: 75876kb

input:

947213 2843556

output:

704887450

result:

ok single line: '704887450'

Test #35:

score: 0
Accepted
time: 192ms
memory: 75960kb

input:

1068401 2866144

output:

643696823

result:

ok single line: '643696823'

Test #36:

score: 0
Accepted
time: 196ms
memory: 76112kb

input:

2097152 2706726

output:

879969833

result:

ok single line: '879969833'

Test #37:

score: 0
Accepted
time: 200ms
memory: 76048kb

input:

1594323 1385645

output:

166289728

result:

ok single line: '166289728'

Test #38:

score: 0
Accepted
time: 188ms
memory: 75956kb

input:

1953125 2702955

output:

356924892

result:

ok single line: '356924892'

Test #39:

score: 0
Accepted
time: 190ms
memory: 75900kb

input:

823543 469787

output:

217410289

result:

ok single line: '217410289'

Test #40:

score: 0
Accepted
time: 191ms
memory: 75984kb

input:

1771561 2338083

output:

17307265

result:

ok single line: '17307265'

Test #41:

score: 0
Accepted
time: 192ms
memory: 76004kb

input:

371293 2739508

output:

768654866

result:

ok single line: '768654866'

Test #42:

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

input:

1278612 1

output:

1

result:

ok single line: '1'

Test #43:

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

input:

2949300 1

output:

1

result:

ok single line: '1'