Submission #74260973
Source Code Expand
import sys
from collections import deque, defaultdict, Counter
from heapq import heappop, heappush, heapify
from itertools import product, combinations, accumulate, permutations, groupby
from math import sqrt, isqrt, comb, gcd
input = sys.stdin.readline
sys.setrecursionlimit(10**7)
DIR4 = [(1,0),(-1,0),(0,1),(0,-1)]
DIR8 = [(1,0),(-1,0),(0,1),(0,-1),(1,1),(1,-1),(-1,1),(-1,-1)]
INF = 10**18
YES,NO = "Yes", "No"
MOD = 10**9 + 7
MOD2 = 998244353
def ni(): return int(input())
def nm(): return map(int,input().split())
def nl(): return list(nm())
def si(): return input().strip()
def sm(): return si().split()
def sl(): return list(si())
def main():
n = ni()
print(*(i for i in range(n, 0, -1)),sep=",")
if __name__ == '__main__':
main()
Submission Info
| Submission Time |
|
| Task |
A - 3,2,1,GO |
| User |
toppoun |
| Language |
Python (PyPy 3.11-v7.3.20) |
| Score |
100 |
| Code Size |
794 Byte |
| Status |
AC |
| Exec Time |
66 ms |
| Memory |
96180 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 |
65 ms |
95928 KiB |
| random_02.txt |
AC |
66 ms |
96032 KiB |
| random_03.txt |
AC |
65 ms |
96116 KiB |
| random_04.txt |
AC |
65 ms |
96180 KiB |
| random_05.txt |
AC |
65 ms |
96032 KiB |
| random_06.txt |
AC |
65 ms |
95860 KiB |
| sample_01.txt |
AC |
65 ms |
96032 KiB |
| sample_02.txt |
AC |
65 ms |
96136 KiB |
| sample_03.txt |
AC |
65 ms |
95928 KiB |