QOJ.ac
QOJ
The 2nd Universal Cup Finals is coming! Check out our event page, schedule, and competition rules!
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#385237 | #5315. Yummy Triangular Pizza | cmk666 | AC ✓ | 11ms | 9864kb | Python3 | 156b | 2024-04-10 16:49:54 | 2024-04-10 16:49:54 |
Judging History
answer
for _ in range(int(input())): print(f'Case #{_ + 1}: {[1, 1, 1, 4, 6, 19, 43, 120, 307, 866, 2336, 6588, 18373, 52119, 147700, 422016][int(input()) - 1]}')
Details
Tip: Click on the bar to expand more detailed information
Test #1:
score: 100
Accepted
time: 11ms
memory: 9864kb
input:
16 1 2 3 4 5 6 7 8 9 10 16 15 14 13 12 11
output:
Case #1: 1 Case #2: 1 Case #3: 1 Case #4: 4 Case #5: 6 Case #6: 19 Case #7: 43 Case #8: 120 Case #9: 307 Case #10: 866 Case #11: 422016 Case #12: 147700 Case #13: 52119 Case #14: 18373 Case #15: 6588 Case #16: 2336
result:
ok 16 lines