Online Programming Server

Login

Login with facebook [?]

Facebook

Problem 1035: Reverse String

Problem ID 1035
Title Reverse String
pdf  
Description
Reverse strings on every line
Input
N lines of string S.
S = { s : 1 ≤ |s| ≤ L } Σ = { A-Z, a-z }
1 ≤ N ≤ 10000
1 ≤ L < 20
Output
N lines of SR, where SR is the reverse of S.
Sample Input
apple
orange
Sample Output
elppa
egnaro
Hint
 
Last Modified 2012-05-28 14:51:05
Time Limit 1 seconds
Memory Limit 1 MB
Accepted Solutions 13
Submitted Solutions 16
Difficulty Factor 692