Submission #378773
Source Code Expand
n = int(input()) total = 2025 nlist = [] for i in range(1, 10): for j in range(1, 10): if total - n == i * j: nlist.append([i, j]) for i, j in nlist: print(i, "x", j)
Submission Info
Submission Time | |
---|---|
Task | C - 九九足し算 |
User | yumechi |
Language | Python (3.2.3) |
Score | 100 |
Code Size | 183 Byte |
Status | AC |
Exec Time | 140 ms |
Memory | 8532 KB |
Judge Result
Set Name | All | ||
---|---|---|---|
Score / Max Score | 100 / 100 | ||
Status |
|
Set Name | Test Cases |
---|---|
All | test_1953.txt, test_1971.txt, test_1977.txt, test_1983.txt, test_1989.txt, test_1990.txt, test_1993.txt, test_1995.txt, test_1997.txt, test_1998.txt, test_2001.txt, test_2009.txt, test_2013.txt, test_2017.txt, test_2019.txt, test_2020.txt, test_2022.txt, test_2024.txt |
Case Name | Status | Exec Time | Memory |
---|---|---|---|
sample_01.txt | AC | 132 ms | 8368 KB |
sample_02.txt | AC | 129 ms | 8364 KB |
test_1953.txt | AC | 127 ms | 8368 KB |
test_1971.txt | AC | 130 ms | 8372 KB |
test_1977.txt | AC | 128 ms | 8368 KB |
test_1983.txt | AC | 127 ms | 8368 KB |
test_1989.txt | AC | 129 ms | 8368 KB |
test_1990.txt | AC | 130 ms | 8400 KB |
test_1993.txt | AC | 132 ms | 8492 KB |
test_1995.txt | AC | 140 ms | 8364 KB |
test_1997.txt | AC | 134 ms | 8364 KB |
test_1998.txt | AC | 138 ms | 8532 KB |
test_2001.txt | AC | 132 ms | 8496 KB |
test_2009.txt | AC | 134 ms | 8364 KB |
test_2013.txt | AC | 139 ms | 8360 KB |
test_2017.txt | AC | 134 ms | 8364 KB |
test_2019.txt | AC | 130 ms | 8364 KB |
test_2020.txt | AC | 130 ms | 8364 KB |
test_2022.txt | AC | 128 ms | 8496 KB |
test_2024.txt | AC | 124 ms | 8364 KB |