728x90

풀이)

import java.util.Scanner;
import java.io.FileInputStream;
 

class Solution
{
    public static void main(String args[]) throws Exception
    {
        Scanner sc = new Scanner(System.in);
        int T = sc.nextInt();
 
        for(int i=T; i>=0; i--){
            System.out.print(i+ " ");
        }
    }
}
728x90