Interval


Submit solution

Points: 10
Time limit: 5.0s
Memory limit: 256M

Author:
Problem type
Allowed languages
C#, Go, Java

Imprimeix tots els nombres enters X que hi ha entre dos nombres \(A\) i \(B\) (exclusiu).

Input Format

Dos nombres enters \(A\) i \(B\).

Constraints

-

Output Format

S'imprimiran els nombres de l'interval, sense separació entre ells.

Test Case 1

Input
1 2
Output
1

Test Case 2

Input
2 6
Output
2345

Test Case 3

Input
4 9
Output
45678

Test Case 4

Input
10 15
Output
1011121314

Test Case 5

Input
0 25
Output
0123456789101112131415161718192021222324

Test Case 6

Input
34 43
Output
343536373839404142

Authorship: Gerard Falcó

CC BY-NC-SA 4.0