QOJ.ac
QOJ
ID | 题目 | 提交者 | 结果 | 用时 | 内存 | 语言 | 文件大小 | 提交时间 | 测评时间 |
---|---|---|---|---|---|---|---|---|---|
#503781 | #4763. Exponial | xiaowuc1 | AC ✓ | 1ms | 3708kb | C++17 | 1.2kb | 2024-08-04 01:09:08 | 2024-08-04 01:09:08 |
Due to the privacy settings of the submitter, you are not allowed to view this code.
详细
Test #1:
score: 100
Accepted
time: 0ms
memory: 3580kb
input:
2 42
output:
2
result:
ok single line: '2'
Test #2:
score: 0
Accepted
time: 0ms
memory: 3612kb
input:
5 123456789
output:
16317634
result:
ok single line: '16317634'
Test #3:
score: 0
Accepted
time: 0ms
memory: 3680kb
input:
94 265
output:
39
result:
ok single line: '39'
Test #4:
score: 0
Accepted
time: 0ms
memory: 3552kb
input:
1 1
output:
0
result:
ok single line: '0'
Test #5:
score: 0
Accepted
time: 0ms
memory: 3640kb
input:
1 1000000000
output:
1
result:
ok single line: '1'
Test #6:
score: 0
Accepted
time: 0ms
memory: 3580kb
input:
2 1000000000
output:
2
result:
ok single line: '2'
Test #7:
score: 0
Accepted
time: 0ms
memory: 3608kb
input:
3 1000000000
output:
9
result:
ok single line: '9'
Test #8:
score: 0
Accepted
time: 0ms
memory: 3644kb
input:
4 1000000000
output:
262144
result:
ok single line: '262144'
Test #9:
score: 0
Accepted
time: 0ms
memory: 3632kb
input:
5 1000000000
output:
212890625
result:
ok single line: '212890625'
Test #10:
score: 0
Accepted
time: 0ms
memory: 3668kb
input:
42 11
output:
9
result:
ok single line: '9'
Test #11:
score: 0
Accepted
time: 0ms
memory: 3708kb
input:
83 299
output:
261
result:
ok single line: '261'
Test #12:
score: 0
Accepted
time: 0ms
memory: 3624kb
input:
37 194
output:
1
result:
ok single line: '1'
Test #13:
score: 0
Accepted
time: 0ms
memory: 3548kb
input:
432936269 566008169
output:
253372442
result:
ok single line: '253372442'
Test #14:
score: 0
Accepted
time: 0ms
memory: 3624kb
input:
562078489 161687824
output:
86371649
result:
ok single line: '86371649'
Test #15:
score: 0
Accepted
time: 0ms
memory: 3684kb
input:
174343561 124266885
output:
55154311
result:
ok single line: '55154311'
Test #16:
score: 0
Accepted
time: 0ms
memory: 3688kb
input:
1000000000 1
output:
0
result:
ok single line: '0'
Test #17:
score: 0
Accepted
time: 0ms
memory: 3704kb
input:
1000000000 1000000000
output:
0
result:
ok single line: '0'
Test #18:
score: 0
Accepted
time: 0ms
memory: 3636kb
input:
1000000000 553221086
output:
234380332
result:
ok single line: '234380332'
Test #19:
score: 0
Accepted
time: 0ms
memory: 3624kb
input:
1000000000 354901387
output:
200558507
result:
ok single line: '200558507'
Test #20:
score: 0
Accepted
time: 0ms
memory: 3612kb
input:
958064786 1000000000
output:
787109376
result:
ok single line: '787109376'
Test #21:
score: 0
Accepted
time: 0ms
memory: 3688kb
input:
91294099 1000000000
output:
716723201
result:
ok single line: '716723201'
Test #22:
score: 0
Accepted
time: 0ms
memory: 3640kb
input:
978639996 328511998
output:
134620718
result:
ok single line: '134620718'
Test #23:
score: 0
Accepted
time: 0ms
memory: 3632kb
input:
412119393 164255999
output:
60602004
result:
ok single line: '60602004'
Test #24:
score: 0
Accepted
time: 0ms
memory: 3612kb
input:
503935369 143700478
output:
107195073
result:
ok single line: '107195073'
Test #25:
score: 0
Accepted
time: 0ms
memory: 3640kb
input:
148146169 328511998
output:
255423955
result:
ok single line: '255423955'
Test #26:
score: 0
Accepted
time: 0ms
memory: 3548kb
input:
718967141 164255999
output:
34152609
result:
ok single line: '34152609'
Test #27:
score: 0
Accepted
time: 0ms
memory: 3636kb
input:
189971379 143700478
output:
8988229
result:
ok single line: '8988229'
Test #28:
score: 0
Accepted
time: 0ms
memory: 3616kb
input:
341560426 846519025
output:
518070851
result:
ok single line: '518070851'
Test #29:
score: 0
Accepted
time: 0ms
memory: 3620kb
input:
23521219 810417949
output:
161630687
result:
ok single line: '161630687'
Test #30:
score: 0
Accepted
time: 0ms
memory: 3636kb
input:
339517773 673980839
output:
143423539
result:
ok single line: '143423539'
Test #31:
score: 0
Accepted
time: 0ms
memory: 3576kb
input:
967482459 846519025
output:
573314371
result:
ok single line: '573314371'
Test #32:
score: 0
Accepted
time: 0ms
memory: 3612kb
input:
978798455 810417949
output:
443525592
result:
ok single line: '443525592'
Test #33:
score: 0
Accepted
time: 0ms
memory: 3572kb
input:
744530041 673980839
output:
176740943
result:
ok single line: '176740943'
Test #34:
score: 0
Accepted
time: 0ms
memory: 3648kb
input:
3454611 298172158
output:
247375595
result:
ok single line: '247375595'
Test #35:
score: 0
Accepted
time: 0ms
memory: 3568kb
input:
940238504 277021438
output:
172852532
result:
ok single line: '172852532'
Test #36:
score: 0
Accepted
time: 0ms
memory: 3624kb
input:
870766969 143700478
output:
142270165
result:
ok single line: '142270165'
Test #37:
score: 0
Accepted
time: 0ms
memory: 3684kb
input:
770834339 298172158
output:
165249759
result:
ok single line: '165249759'
Test #38:
score: 0
Accepted
time: 0ms
memory: 3548kb
input:
178873765 277021438
output:
223606039
result:
ok single line: '223606039'
Test #39:
score: 0
Accepted
time: 0ms
memory: 3576kb
input:
99499633 143700478
output:
76808121
result:
ok single line: '76808121'
Test #40:
score: 0
Accepted
time: 0ms
memory: 3548kb
input:
414532469 541073537
output:
539283753
result:
ok single line: '539283753'
Test #41:
score: 0
Accepted
time: 0ms
memory: 3700kb
input:
885536468 966976267
output:
819704449
result:
ok single line: '819704449'
Test #42:
score: 0
Accepted
time: 0ms
memory: 3576kb
input:
578086028 943083809
output:
695976590
result:
ok single line: '695976590'
Test #43:
score: 0
Accepted
time: 0ms
memory: 3616kb
input:
736582215 999958529
output:
762152087
result:
ok single line: '762152087'
Test #44:
score: 0
Accepted
time: 0ms
memory: 3616kb
input:
232621104 541073537
output:
508079187
result:
ok single line: '508079187'
Test #45:
score: 0
Accepted
time: 0ms
memory: 3632kb
input:
523597581 966976267
output:
794971223
result:
ok single line: '794971223'
Test #46:
score: 0
Accepted
time: 0ms
memory: 3628kb
input:
709386438 943083809
output:
716180233
result:
ok single line: '716180233'
Test #47:
score: 0
Accepted
time: 0ms
memory: 3612kb
input:
824833947 999958529
output:
864909407
result:
ok single line: '864909407'
Test #48:
score: 0
Accepted
time: 0ms
memory: 3612kb
input:
807124534 387420489
output:
1
result:
ok single line: '1'
Test #49:
score: 0
Accepted
time: 0ms
memory: 3552kb
input:
232308113 903981141
output:
413392702
result:
ok single line: '413392702'
Test #50:
score: 0
Accepted
time: 0ms
memory: 3628kb
input:
873189968 387420489
output:
98348990
result:
ok single line: '98348990'
Test #51:
score: 0
Accepted
time: 0ms
memory: 3624kb
input:
216380431 903981141
output:
1
result:
ok single line: '1'
Test #52:
score: 0
Accepted
time: 1ms
memory: 3576kb
input:
801899238 999145019
output:
884142424
result:
ok single line: '884142424'
Test #53:
score: 0
Accepted
time: 0ms
memory: 3556kb
input:
555085299 997514723
output:
956892385
result:
ok single line: '956892385'
Test #54:
score: 0
Accepted
time: 0ms
memory: 3632kb
input:
185828360 999145019
output:
434032774
result:
ok single line: '434032774'
Test #55:
score: 0
Accepted
time: 0ms
memory: 3628kb
input:
588608619 997514723
output:
632892053
result:
ok single line: '632892053'
Test #56:
score: 0
Accepted
time: 0ms
memory: 3624kb
input:
4 262144
output:
0
result:
ok single line: '0'
Test #57:
score: 0
Accepted
time: 0ms
memory: 3556kb
input:
4 524288
output:
262144
result:
ok single line: '262144'
Test #58:
score: 0
Accepted
time: 0ms
memory: 3644kb
input:
4 536870912
output:
262144
result:
ok single line: '262144'
Test #59:
score: 0
Accepted
time: 0ms
memory: 3616kb
input:
5 32
output:
1
result:
ok single line: '1'
Test #60:
score: 0
Accepted
time: 0ms
memory: 3628kb
input:
5 536870912
output:
435159041
result:
ok single line: '435159041'
Test #61:
score: 0
Accepted
time: 0ms
memory: 3700kb
input:
6 536870912
output:
0
result:
ok single line: '0'
Test #62:
score: 0
Accepted
time: 0ms
memory: 3620kb
input:
8 536870912
output:
0
result:
ok single line: '0'
Test #63:
score: 0
Accepted
time: 0ms
memory: 3628kb
input:
1000000000 536870912
output:
0
result:
ok single line: '0'
Test #64:
score: 0
Accepted
time: 0ms
memory: 3552kb
input:
4 244140625
output:
262144
result:
ok single line: '262144'
Test #65:
score: 0
Accepted
time: 0ms
memory: 3612kb
input:
5 244140625
output:
0
result:
ok single line: '0'
Test #66:
score: 0
Accepted
time: 0ms
memory: 3632kb
input:
6 244140625
output:
1
result:
ok single line: '1'
Test #67:
score: 0
Accepted
time: 0ms
memory: 3556kb
input:
10 244140625
output:
0
result:
ok single line: '0'
Test #68:
score: 0
Accepted
time: 0ms
memory: 3556kb
input:
865000085 244140625
output:
0
result:
ok single line: '0'
Test #69:
score: 0
Accepted
time: 0ms
memory: 3608kb
input:
1000000000 244140625
output:
0
result:
ok single line: '0'
Test #70:
score: 0
Accepted
time: 0ms
memory: 3644kb
input:
5 999634589
output:
551339596
result:
ok single line: '551339596'
Test #71:
score: 0
Accepted
time: 0ms
memory: 3704kb
input:
518239386 999634589
output:
391627118
result:
ok single line: '391627118'
Test #72:
score: 0
Accepted
time: 0ms
memory: 3704kb
input:
5 999999929
output:
362040424
result:
ok single line: '362040424'
Test #73:
score: 0
Accepted
time: 0ms
memory: 3704kb
input:
958662504 999999929
output:
27929562
result:
ok single line: '27929562'
Test #74:
score: 0
Accepted
time: 0ms
memory: 3636kb
input:
6 805306368
output:
0
result:
ok single line: '0'
Test #75:
score: 0
Accepted
time: 0ms
memory: 3548kb
input:
10 805306368
output:
268435456
result:
ok single line: '268435456'
Test #76:
score: 0
Accepted
time: 0ms
memory: 3572kb
input:
225388054 910313102
output:
873097266
result:
ok single line: '873097266'
Test #77:
score: 0
Accepted
time: 0ms
memory: 3644kb
input:
437862890 961681762
output:
709096074
result:
ok single line: '709096074'