QOJ.ac
QOJ
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#82421 | #4822. Matrix Counting | ZhaoZiLong | AC ✓ | 325ms | 21000kb | C++17 | 15.9kb | 2023-02-27 20:31:18 | 2023-02-27 20:31:20 |
Due to the privacy settings of the submitter, you are not allowed to view this code.
Details
Tip: Click on the bar to expand more detailed information
Test #1:
score: 100
Accepted
time: 2ms
memory: 3784kb
input:
3 2
output:
6
result:
ok 1 number(s): "6"
Test #2:
score: 0
Accepted
time: 2ms
memory: 3596kb
input:
4 2
output:
4
result:
ok 1 number(s): "4"
Test #3:
score: 0
Accepted
time: 0ms
memory: 3804kb
input:
300 20
output:
368258992
result:
ok 1 number(s): "368258992"
Test #4:
score: 0
Accepted
time: 309ms
memory: 20900kb
input:
100000 1
output:
91844344
result:
ok 1 number(s): "91844344"
Test #5:
score: 0
Accepted
time: 2ms
memory: 3744kb
input:
2 1
output:
2
result:
ok 1 number(s): "2"
Test #6:
score: 0
Accepted
time: 3ms
memory: 3692kb
input:
282 4
output:
563176581
result:
ok 1 number(s): "563176581"
Test #7:
score: 0
Accepted
time: 2ms
memory: 3808kb
input:
359 159
output:
903685663
result:
ok 1 number(s): "903685663"
Test #8:
score: 0
Accepted
time: 3ms
memory: 3824kb
input:
359 254
output:
470520868
result:
ok 1 number(s): "470520868"
Test #9:
score: 0
Accepted
time: 2ms
memory: 3740kb
input:
58 27
output:
436559968
result:
ok 1 number(s): "436559968"
Test #10:
score: 0
Accepted
time: 2ms
memory: 3780kb
input:
202 194
output:
16749760
result:
ok 1 number(s): "16749760"
Test #11:
score: 0
Accepted
time: 2ms
memory: 3660kb
input:
45 12
output:
296797655
result:
ok 1 number(s): "296797655"
Test #12:
score: 0
Accepted
time: 2ms
memory: 3696kb
input:
363 242
output:
13005572
result:
ok 1 number(s): "13005572"
Test #13:
score: 0
Accepted
time: 2ms
memory: 3756kb
input:
342 65
output:
923824682
result:
ok 1 number(s): "923824682"
Test #14:
score: 0
Accepted
time: 0ms
memory: 3692kb
input:
207 190
output:
369707039
result:
ok 1 number(s): "369707039"
Test #15:
score: 0
Accepted
time: 0ms
memory: 3728kb
input:
367 37
output:
467362142
result:
ok 1 number(s): "467362142"
Test #16:
score: 0
Accepted
time: 2ms
memory: 3676kb
input:
130 18
output:
188514783
result:
ok 1 number(s): "188514783"
Test #17:
score: 0
Accepted
time: 1ms
memory: 3672kb
input:
362 6
output:
563842262
result:
ok 1 number(s): "563842262"
Test #18:
score: 0
Accepted
time: 2ms
memory: 3804kb
input:
296 93
output:
826385279
result:
ok 1 number(s): "826385279"
Test #19:
score: 0
Accepted
time: 0ms
memory: 3744kb
input:
66 56
output:
510485158
result:
ok 1 number(s): "510485158"
Test #20:
score: 0
Accepted
time: 126ms
memory: 10296kb
input:
35567 25153
output:
370961506
result:
ok 1 number(s): "370961506"
Test #21:
score: 0
Accepted
time: 285ms
memory: 19008kb
input:
87796 51661
output:
486383441
result:
ok 1 number(s): "486383441"
Test #22:
score: 0
Accepted
time: 147ms
memory: 11756kb
input:
46775 17243
output:
84820979
result:
ok 1 number(s): "84820979"
Test #23:
score: 0
Accepted
time: 65ms
memory: 7432kb
input:
23118 14043
output:
768845693
result:
ok 1 number(s): "768845693"
Test #24:
score: 0
Accepted
time: 127ms
memory: 10280kb
input:
34630 30168
output:
163030696
result:
ok 1 number(s): "163030696"
Test #25:
score: 0
Accepted
time: 18ms
memory: 4572kb
input:
7355 6036
output:
721628072
result:
ok 1 number(s): "721628072"
Test #26:
score: 0
Accepted
time: 283ms
memory: 17844kb
input:
76991 35145
output:
741290476
result:
ok 1 number(s): "741290476"
Test #27:
score: 0
Accepted
time: 272ms
memory: 16740kb
input:
65607 31472
output:
120005728
result:
ok 1 number(s): "120005728"
Test #28:
score: 0
Accepted
time: 154ms
memory: 13680kb
input:
63045 5458
output:
568942298
result:
ok 1 number(s): "568942298"
Test #29:
score: 0
Accepted
time: 264ms
memory: 17132kb
input:
70632 20910
output:
870416132
result:
ok 1 number(s): "870416132"
Test #30:
score: 0
Accepted
time: 26ms
memory: 5468kb
input:
12184 4852
output:
887796493
result:
ok 1 number(s): "887796493"
Test #31:
score: 0
Accepted
time: 295ms
memory: 19840kb
input:
90205 3600
output:
431001694
result:
ok 1 number(s): "431001694"
Test #32:
score: 0
Accepted
time: 304ms
memory: 19732kb
input:
90932 33329
output:
600549935
result:
ok 1 number(s): "600549935"
Test #33:
score: 0
Accepted
time: 153ms
memory: 12540kb
input:
53902 13766
output:
415161256
result:
ok 1 number(s): "415161256"
Test #34:
score: 0
Accepted
time: 35ms
memory: 5572kb
input:
14161 7105
output:
134694410
result:
ok 1 number(s): "134694410"
Test #35:
score: 0
Accepted
time: 139ms
memory: 11724kb
input:
46381 37047
output:
187944778
result:
ok 1 number(s): "187944778"
Test #36:
score: 0
Accepted
time: 134ms
memory: 10196kb
input:
33614 4898
output:
747492373
result:
ok 1 number(s): "747492373"
Test #37:
score: 0
Accepted
time: 304ms
memory: 19908kb
input:
91722 35254
output:
694638772
result:
ok 1 number(s): "694638772"
Test #38:
score: 0
Accepted
time: 136ms
memory: 11024kb
input:
43121 16137
output:
287812406
result:
ok 1 number(s): "287812406"
Test #39:
score: 0
Accepted
time: 133ms
memory: 11096kb
input:
43266 29411
output:
573388406
result:
ok 1 number(s): "573388406"
Test #40:
score: 0
Accepted
time: 9ms
memory: 4460kb
input:
4919 1469
output:
683001842
result:
ok 1 number(s): "683001842"
Test #41:
score: 0
Accepted
time: 33ms
memory: 5084kb
input:
10213 4043
output:
828882070
result:
ok 1 number(s): "828882070"
Test #42:
score: 0
Accepted
time: 156ms
memory: 13428kb
input:
57705 29766
output:
908462562
result:
ok 1 number(s): "908462562"
Test #43:
score: 0
Accepted
time: 149ms
memory: 12168kb
input:
50628 43693
output:
874935502
result:
ok 1 number(s): "874935502"
Test #44:
score: 0
Accepted
time: 281ms
memory: 16952kb
input:
71491 8618
output:
720976298
result:
ok 1 number(s): "720976298"
Test #45:
score: 0
Accepted
time: 135ms
memory: 13248kb
input:
61231 37699
output:
905540582
result:
ok 1 number(s): "905540582"
Test #46:
score: 0
Accepted
time: 148ms
memory: 13192kb
input:
60626 48375
output:
847650011
result:
ok 1 number(s): "847650011"
Test #47:
score: 0
Accepted
time: 63ms
memory: 8232kb
input:
29493 22917
output:
808093687
result:
ok 1 number(s): "808093687"
Test #48:
score: 0
Accepted
time: 126ms
memory: 10960kb
input:
42960 4829
output:
582999364
result:
ok 1 number(s): "582999364"
Test #49:
score: 0
Accepted
time: 302ms
memory: 19828kb
input:
92916 35720
output:
871538508
result:
ok 1 number(s): "871538508"
Test #50:
score: 0
Accepted
time: 300ms
memory: 19968kb
input:
95751 52590
output:
676583073
result:
ok 1 number(s): "676583073"
Test #51:
score: 0
Accepted
time: 115ms
memory: 10716kb
input:
38771 20287
output:
598673771
result:
ok 1 number(s): "598673771"
Test #52:
score: 0
Accepted
time: 3ms
memory: 3916kb
input:
711 592
output:
22681776
result:
ok 1 number(s): "22681776"
Test #53:
score: 0
Accepted
time: 284ms
memory: 16896kb
input:
68245 11512
output:
182749044
result:
ok 1 number(s): "182749044"
Test #54:
score: 0
Accepted
time: 276ms
memory: 16968kb
input:
68203 966
output:
488928778
result:
ok 1 number(s): "488928778"
Test #55:
score: 0
Accepted
time: 307ms
memory: 20724kb
input:
100000 111
output:
373450248
result:
ok 1 number(s): "373450248"
Test #56:
score: 0
Accepted
time: 321ms
memory: 21000kb
input:
100000 1231
output:
105765703
result:
ok 1 number(s): "105765703"
Test #57:
score: 0
Accepted
time: 286ms
memory: 20776kb
input:
100000 12333
output:
860654995
result:
ok 1 number(s): "860654995"
Test #58:
score: 0
Accepted
time: 298ms
memory: 20992kb
input:
100000 39198
output:
846441800
result:
ok 1 number(s): "846441800"
Test #59:
score: 0
Accepted
time: 304ms
memory: 20912kb
input:
100000 56721
output:
618984747
result:
ok 1 number(s): "618984747"
Test #60:
score: 0
Accepted
time: 303ms
memory: 20776kb
input:
100000 99823
output:
811855278
result:
ok 1 number(s): "811855278"
Test #61:
score: 0
Accepted
time: 325ms
memory: 20844kb
input:
100000 99998
output:
385349822
result:
ok 1 number(s): "385349822"