Quizes
Problems
Courses
Sign
Register
Main
/
Courses
/
Basic of Java
/
№ 17
/19
Decreasing odd row
Read Theory
Task
Time limit:
1000
ms,
Memory limit:
256 Mb
Given a natural number n. Type all n-digit odd positive integers in descending order.
Input:
A natural number is entered.
Output:
Output the answer to the problem.
Example
№
Input
Output
1
1
9 7 5 3 1
Auto
CHOOSE THE PROGRAMMING NECESSARY LANGUAGE!
Attach the program source file:
or enter the source code in the language:
C++
Python
FreePascal
PascalABC.Net
Kumir
Java
JavaScript
TypeScript
C#
F#
Swift
Rules for designing programs and a list of errors during automatic task verification
Results: