QOJ.ac
QOJ
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#146498 | #3907. Jenga | MaMengQi | AC ✓ | 1ms | 3888kb | C++20 | 5.1kb | 2023-08-22 16:05:42 | 2023-08-22 16:05:43 |
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: 1ms
memory: 3648kb
input:
1
output:
1
result:
ok 1 number(s): "1"
Test #2:
score: 0
Accepted
time: 1ms
memory: 3684kb
input:
42
output:
729888649
result:
ok 1 number(s): "729888649"
Test #3:
score: 0
Accepted
time: 1ms
memory: 3660kb
input:
2
output:
4
result:
ok 1 number(s): "4"
Test #4:
score: 0
Accepted
time: 1ms
memory: 3648kb
input:
3
output:
10
result:
ok 1 number(s): "10"
Test #5:
score: 0
Accepted
time: 1ms
memory: 3692kb
input:
4
output:
22
result:
ok 1 number(s): "22"
Test #6:
score: 0
Accepted
time: 1ms
memory: 3648kb
input:
5
output:
52
result:
ok 1 number(s): "52"
Test #7:
score: 0
Accepted
time: 1ms
memory: 3620kb
input:
6
output:
121
result:
ok 1 number(s): "121"
Test #8:
score: 0
Accepted
time: 0ms
memory: 3652kb
input:
7
output:
286
result:
ok 1 number(s): "286"
Test #9:
score: 0
Accepted
time: 1ms
memory: 3692kb
input:
8
output:
677
result:
ok 1 number(s): "677"
Test #10:
score: 0
Accepted
time: 0ms
memory: 3688kb
input:
228
output:
356629798
result:
ok 1 number(s): "356629798"
Test #11:
score: 0
Accepted
time: 1ms
memory: 3884kb
input:
9
output:
1612
result:
ok 1 number(s): "1612"
Test #12:
score: 0
Accepted
time: 1ms
memory: 3652kb
input:
10
output:
3848
result:
ok 1 number(s): "3848"
Test #13:
score: 0
Accepted
time: 0ms
memory: 3540kb
input:
11
output:
9212
result:
ok 1 number(s): "9212"
Test #14:
score: 0
Accepted
time: 1ms
memory: 3688kb
input:
1488
output:
240571558
result:
ok 1 number(s): "240571558"
Test #15:
score: 0
Accepted
time: 1ms
memory: 3592kb
input:
12
output:
22094
result:
ok 1 number(s): "22094"
Test #16:
score: 0
Accepted
time: 1ms
memory: 3888kb
input:
13
output:
53074
result:
ok 1 number(s): "53074"
Test #17:
score: 0
Accepted
time: 1ms
memory: 3592kb
input:
1000
output:
284374226
result:
ok 1 number(s): "284374226"
Test #18:
score: 0
Accepted
time: 1ms
memory: 3592kb
input:
1000000
output:
602554631
result:
ok 1 number(s): "602554631"
Test #19:
score: 0
Accepted
time: 1ms
memory: 3652kb
input:
990007
output:
980254590
result:
ok 1 number(s): "980254590"
Test #20:
score: 0
Accepted
time: 0ms
memory: 3644kb
input:
322
output:
495236630
result:
ok 1 number(s): "495236630"
Test #21:
score: 0
Accepted
time: 1ms
memory: 3544kb
input:
10000000
output:
862498684
result:
ok 1 number(s): "862498684"
Test #22:
score: 0
Accepted
time: 1ms
memory: 3624kb
input:
20000000
output:
359079842
result:
ok 1 number(s): "359079842"
Test #23:
score: 0
Accepted
time: 1ms
memory: 3656kb
input:
1000000000000
output:
442754413
result:
ok 1 number(s): "442754413"
Test #24:
score: 0
Accepted
time: 1ms
memory: 3888kb
input:
1000000000000000000
output:
836402871
result:
ok 1 number(s): "836402871"
Test #25:
score: 0
Accepted
time: 1ms
memory: 3592kb
input:
999999999999999999
output:
278459801
result:
ok 1 number(s): "278459801"
Test #26:
score: 0
Accepted
time: 0ms
memory: 3848kb
input:
999999999999999998
output:
893910411
result:
ok 1 number(s): "893910411"
Test #27:
score: 0
Accepted
time: 1ms
memory: 3656kb
input:
999999999999999997
output:
789940253
result:
ok 1 number(s): "789940253"
Test #28:
score: 0
Accepted
time: 0ms
memory: 3856kb
input:
999999999999999996
output:
712655791
result:
ok 1 number(s): "712655791"
Test #29:
score: 0
Accepted
time: 0ms
memory: 3584kb
input:
999999999999999995
output:
281128680
result:
ok 1 number(s): "281128680"
Test #30:
score: 0
Accepted
time: 1ms
memory: 3600kb
input:
1000000000005
output:
581320643
result:
ok 1 number(s): "581320643"
Test #31:
score: 0
Accepted
time: 1ms
memory: 3692kb
input:
1900000000000
output:
661385681
result:
ok 1 number(s): "661385681"
Test #32:
score: 0
Accepted
time: 0ms
memory: 3588kb
input:
1100000000000
output:
21231507
result:
ok 1 number(s): "21231507"
Test #33:
score: 0
Accepted
time: 1ms
memory: 3656kb
input:
321414759606586236
output:
97182240
result:
ok 1 number(s): "97182240"
Test #34:
score: 0
Accepted
time: 0ms
memory: 3540kb
input:
430607132828703808
output:
201265571
result:
ok 1 number(s): "201265571"
Test #35:
score: 0
Accepted
time: 1ms
memory: 3648kb
input:
83435833742968935
output:
741928452
result:
ok 1 number(s): "741928452"
Test #36:
score: 0
Accepted
time: 1ms
memory: 3592kb
input:
861385767188247493
output:
460445533
result:
ok 1 number(s): "460445533"
Test #37:
score: 0
Accepted
time: 1ms
memory: 3644kb
input:
945462536183423657
output:
851583345
result:
ok 1 number(s): "851583345"
Test #38:
score: 0
Accepted
time: 1ms
memory: 3888kb
input:
323094985625626378
output:
271358027
result:
ok 1 number(s): "271358027"
Test #39:
score: 0
Accepted
time: 1ms
memory: 3588kb
input:
617319871997940730
output:
411182501
result:
ok 1 number(s): "411182501"
Test #40:
score: 0
Accepted
time: 1ms
memory: 3592kb
input:
665042047235648334
output:
769251081
result:
ok 1 number(s): "769251081"
Test #41:
score: 0
Accepted
time: 0ms
memory: 3888kb
input:
446498612465668651
output:
865127989
result:
ok 1 number(s): "865127989"
Test #42:
score: 0
Accepted
time: 1ms
memory: 3644kb
input:
120391855608885558
output:
259149951
result:
ok 1 number(s): "259149951"
Test #43:
score: 0
Accepted
time: 1ms
memory: 3596kb
input:
457981279170802317
output:
117527330
result:
ok 1 number(s): "117527330"
Test #44:
score: 0
Accepted
time: 1ms
memory: 3588kb
input:
267484028144004693
output:
14690139
result:
ok 1 number(s): "14690139"
Test #45:
score: 0
Accepted
time: 1ms
memory: 3660kb
input:
585543006724989899
output:
509826268
result:
ok 1 number(s): "509826268"
Test #46:
score: 0
Accepted
time: 1ms
memory: 3656kb
input:
512729507001108971
output:
822808161
result:
ok 1 number(s): "822808161"
Test #47:
score: 0
Accepted
time: 1ms
memory: 3648kb
input:
191149045267425889
output:
117900171
result:
ok 1 number(s): "117900171"
Test #48:
score: 0
Accepted
time: 1ms
memory: 3652kb
input:
61873787471723983
output:
448683593
result:
ok 1 number(s): "448683593"
Test #49:
score: 0
Accepted
time: 1ms
memory: 3816kb
input:
31886819446722287
output:
648696860
result:
ok 1 number(s): "648696860"
Test #50:
score: 0
Accepted
time: 1ms
memory: 3588kb
input:
77979192891261907
output:
884556519
result:
ok 1 number(s): "884556519"
Test #51:
score: 0
Accepted
time: 1ms
memory: 3592kb
input:
678935267959564197
output:
57132174
result:
ok 1 number(s): "57132174"