Submission #74271194
Source Code Expand
a = int(input())
if a == 1:
print("1")
exit()
b = str(a)
b += str(",")
for i in range(a-1):
b += str(a - i -1)
if i != a-2:
b += ","
print(b)
Submission Info
| Submission Time | |
|---|---|
| Task | A - 3,2,1,GO |
| User | Yoshi03 |
| Language | Python (PyPy 3.11-v7.3.20) |
| Score | 100 |
| Code Size | 169 Byte |
| Status | AC |
| Exec Time | 54 ms |
| Memory | 79768 KiB |
Judge Result
| Set Name | Sample | All | ||||
|---|---|---|---|---|---|---|
| Score / Max Score | 0 / 0 | 100 / 100 | ||||
| Status |
|
|
| Set Name | Test Cases |
|---|---|
| Sample | sample_01.txt, sample_02.txt, sample_03.txt |
| All | random_01.txt, random_02.txt, random_03.txt, random_04.txt, random_05.txt, random_06.txt, sample_01.txt, sample_02.txt, sample_03.txt |
| Case Name | Status | Exec Time | Memory |
|---|---|---|---|
| random_01.txt | AC | 53 ms | 79760 KiB |
| random_02.txt | AC | 54 ms | 79552 KiB |
| random_03.txt | AC | 52 ms | 79708 KiB |
| random_04.txt | AC | 51 ms | 79356 KiB |
| random_05.txt | AC | 51 ms | 79680 KiB |
| random_06.txt | AC | 51 ms | 79708 KiB |
| sample_01.txt | AC | 50 ms | 79548 KiB |
| sample_02.txt | AC | 50 ms | 79708 KiB |
| sample_03.txt | AC | 50 ms | 79768 KiB |