Reverse String
Submit solution
Points:
10
Time limit:
5.0s
Memory limit:
256M
Author:
Problem types
Allowed languages
C#, Go, Java, Python
Donat un string, inverteix-lo
Input Format
String
Constraints
-
Output Format
L'string amb els caracters en ordre invers.
Sample Input 0
hola
Sample Output 0
aloh
Sample Input 1
hola mon!
Sample Output 1
!nom aloh
Sample Input 2
java
Sample Output 2
avaj
Sample Input 3
toCharArray()
Sample Output 3
)(yarrArahCot
Sample Input 4
i love programming very much
Sample Output 4
hcum yrev gnimmargorp evol i
Sample Input 5
pipiripip
Sample Output 5
pipiripip