submission_id string | problem_id string | status string | code string | input string | output string | problem_description string |
|---|---|---|---|---|---|---|
s982780018 | p00006 | Accepted | chara = input()
print(chara[::-1]) | w32nimda
| admin23w
|
<H1>Reverse Sequence</H1>
<p>
Write a program which reverses a given string <var>str</var>.
</p>
<H2>Input</H2>
<p>
<var>str</var> (the size of <var>str</var> ≤ 20) is given in a line.
</p>
<H2>Output</H2>
<p>
Print the reversed <var>str</var> in a line.
</p>
<H2>Sample Input</H2>
<pre>
w32nimda
</pre>
<H2>Output for the Sample Input</H2>
<pre>
admin23w
</pre>
|
s046912231 | p00006 | Accepted | import sys
def main():
s = sys.stdin.readline().strip()
rev_s = s[::-1]
print(rev_s)
if __name__ == '__main__':
main() | w32nimda
| admin23w
|
<H1>Reverse Sequence</H1>
<p>
Write a program which reverses a given string <var>str</var>.
</p>
<H2>Input</H2>
<p>
<var>str</var> (the size of <var>str</var> ≤ 20) is given in a line.
</p>
<H2>Output</H2>
<p>
Print the reversed <var>str</var> in a line.
</p>
<H2>Sample Input</H2>
<pre>
w32nimda
</pre>
<H2>Output for the Sample Input</H2>
<pre>
admin23w
</pre>
|
s577886866 | p00006 | Accepted | import sys
import fractions
for line in sys.stdin:
s = line.strip()
print(s[::-1]) | w32nimda
| admin23w
|
<H1>Reverse Sequence</H1>
<p>
Write a program which reverses a given string <var>str</var>.
</p>
<H2>Input</H2>
<p>
<var>str</var> (the size of <var>str</var> ≤ 20) is given in a line.
</p>
<H2>Output</H2>
<p>
Print the reversed <var>str</var> in a line.
</p>
<H2>Sample Input</H2>
<pre>
w32nimda
</pre>
<H2>Output for the Sample Input</H2>
<pre>
admin23w
</pre>
|
s862577093 | p00006 | Accepted | s = []
for i in raw_input():
s.insert(0,i)
print "".join(s) | w32nimda
| admin23w
|
<H1>Reverse Sequence</H1>
<p>
Write a program which reverses a given string <var>str</var>.
</p>
<H2>Input</H2>
<p>
<var>str</var> (the size of <var>str</var> ≤ 20) is given in a line.
</p>
<H2>Output</H2>
<p>
Print the reversed <var>str</var> in a line.
</p>
<H2>Sample Input</H2>
<pre>
w32nimda
</pre>
<H2>Output for the Sample Input</H2>
<pre>
admin23w
</pre>
|
s819632074 | p00006 | Accepted | import sys
if __name__ == "__main__":
str = input()
print (str[::-1]) | w32nimda
| admin23w
|
<H1>Reverse Sequence</H1>
<p>
Write a program which reverses a given string <var>str</var>.
</p>
<H2>Input</H2>
<p>
<var>str</var> (the size of <var>str</var> ≤ 20) is given in a line.
</p>
<H2>Output</H2>
<p>
Print the reversed <var>str</var> in a line.
</p>
<H2>Sample Input</H2>
<pre>
w32nimda
</pre>
<H2>Output for the Sample Input</H2>
<pre>
admin23w
</pre>
|
s460610892 | p00006 | Accepted | import sys
data = sys.stdin.readline().rstrip()
print(data[::-1]) | w32nimda
| admin23w
|
<H1>Reverse Sequence</H1>
<p>
Write a program which reverses a given string <var>str</var>.
</p>
<H2>Input</H2>
<p>
<var>str</var> (the size of <var>str</var> ≤ 20) is given in a line.
</p>
<H2>Output</H2>
<p>
Print the reversed <var>str</var> in a line.
</p>
<H2>Sample Input</H2>
<pre>
w32nimda
</pre>
<H2>Output for the Sample Input</H2>
<pre>
admin23w
</pre>
|
s351498229 | p00006 | Accepted | s = raw_input()
ans = ''
for i in range(0, len(s)):
ans = ans + s[-1-i]
print ans | w32nimda
| admin23w
|
<H1>Reverse Sequence</H1>
<p>
Write a program which reverses a given string <var>str</var>.
</p>
<H2>Input</H2>
<p>
<var>str</var> (the size of <var>str</var> ≤ 20) is given in a line.
</p>
<H2>Output</H2>
<p>
Print the reversed <var>str</var> in a line.
</p>
<H2>Sample Input</H2>
<pre>
w32nimda
</pre>
<H2>Output for the Sample Input</H2>
<pre>
admin23w
</pre>
|
s428018367 | p00006 | Accepted | a = input()
print(a[::-1]) | w32nimda
| admin23w
|
<H1>Reverse Sequence</H1>
<p>
Write a program which reverses a given string <var>str</var>.
</p>
<H2>Input</H2>
<p>
<var>str</var> (the size of <var>str</var> ≤ 20) is given in a line.
</p>
<H2>Output</H2>
<p>
Print the reversed <var>str</var> in a line.
</p>
<H2>Sample Input</H2>
<pre>
w32nimda
</pre>
<H2>Output for the Sample Input</H2>
<pre>
admin23w
</pre>
|
s502028327 | p00006 | Accepted | #!/usr/bin/env python3
# -*- coding: utf-8 -*-
def main():
print("".join(reversed(input())))
if __name__ == "__main__": main() | w32nimda
| admin23w
|
<H1>Reverse Sequence</H1>
<p>
Write a program which reverses a given string <var>str</var>.
</p>
<H2>Input</H2>
<p>
<var>str</var> (the size of <var>str</var> ≤ 20) is given in a line.
</p>
<H2>Output</H2>
<p>
Print the reversed <var>str</var> in a line.
</p>
<H2>Sample Input</H2>
<pre>
w32nimda
</pre>
<H2>Output for the Sample Input</H2>
<pre>
admin23w
</pre>
|
s889782986 | p00006 | Accepted | def ReverseSequence():
str = input()
print(str[::-1])
ReverseSequence() | w32nimda
| admin23w
|
<H1>Reverse Sequence</H1>
<p>
Write a program which reverses a given string <var>str</var>.
</p>
<H2>Input</H2>
<p>
<var>str</var> (the size of <var>str</var> ≤ 20) is given in a line.
</p>
<H2>Output</H2>
<p>
Print the reversed <var>str</var> in a line.
</p>
<H2>Sample Input</H2>
<pre>
w32nimda
</pre>
<H2>Output for the Sample Input</H2>
<pre>
admin23w
</pre>
|
s954004692 | p00006 | Accepted | def main():
s = input()
print(s[::-1])
if __name__ == '__main__':
main() | w32nimda
| admin23w
|
<H1>Reverse Sequence</H1>
<p>
Write a program which reverses a given string <var>str</var>.
</p>
<H2>Input</H2>
<p>
<var>str</var> (the size of <var>str</var> ≤ 20) is given in a line.
</p>
<H2>Output</H2>
<p>
Print the reversed <var>str</var> in a line.
</p>
<H2>Sample Input</H2>
<pre>
w32nimda
</pre>
<H2>Output for the Sample Input</H2>
<pre>
admin23w
</pre>
|
s525149828 | p00006 | Accepted | str = input()
l = len(str)
for i in range(l):
print(str[l-i-1], end='')
print('') | w32nimda
| admin23w
|
<H1>Reverse Sequence</H1>
<p>
Write a program which reverses a given string <var>str</var>.
</p>
<H2>Input</H2>
<p>
<var>str</var> (the size of <var>str</var> ≤ 20) is given in a line.
</p>
<H2>Output</H2>
<p>
Print the reversed <var>str</var> in a line.
</p>
<H2>Sample Input</H2>
<pre>
w32nimda
</pre>
<H2>Output for the Sample Input</H2>
<pre>
admin23w
</pre>
|
s341369939 | p00006 | Accepted | s=input()
for i in range(len(s)):
print(s[len(s)-i-1],end='')
print('\n',end='') | w32nimda
| admin23w
|
<H1>Reverse Sequence</H1>
<p>
Write a program which reverses a given string <var>str</var>.
</p>
<H2>Input</H2>
<p>
<var>str</var> (the size of <var>str</var> ≤ 20) is given in a line.
</p>
<H2>Output</H2>
<p>
Print the reversed <var>str</var> in a line.
</p>
<H2>Sample Input</H2>
<pre>
w32nimda
</pre>
<H2>Output for the Sample Input</H2>
<pre>
admin23w
</pre>
|
s006734539 | p00006 | Accepted | st = input()
print(st[::-1]) | w32nimda
| admin23w
|
<H1>Reverse Sequence</H1>
<p>
Write a program which reverses a given string <var>str</var>.
</p>
<H2>Input</H2>
<p>
<var>str</var> (the size of <var>str</var> ≤ 20) is given in a line.
</p>
<H2>Output</H2>
<p>
Print the reversed <var>str</var> in a line.
</p>
<H2>Sample Input</H2>
<pre>
w32nimda
</pre>
<H2>Output for the Sample Input</H2>
<pre>
admin23w
</pre>
|
s683558823 | p00006 | Accepted | def main():
s = input()
print(s[::-1])
if __name__ == '__main__':
main() | w32nimda
| admin23w
|
<H1>Reverse Sequence</H1>
<p>
Write a program which reverses a given string <var>str</var>.
</p>
<H2>Input</H2>
<p>
<var>str</var> (the size of <var>str</var> ≤ 20) is given in a line.
</p>
<H2>Output</H2>
<p>
Print the reversed <var>str</var> in a line.
</p>
<H2>Sample Input</H2>
<pre>
w32nimda
</pre>
<H2>Output for the Sample Input</H2>
<pre>
admin23w
</pre>
|
s626164660 | p00006 | Accepted |
v = input()
print(v[::-1]) | w32nimda
| admin23w
|
<H1>Reverse Sequence</H1>
<p>
Write a program which reverses a given string <var>str</var>.
</p>
<H2>Input</H2>
<p>
<var>str</var> (the size of <var>str</var> ≤ 20) is given in a line.
</p>
<H2>Output</H2>
<p>
Print the reversed <var>str</var> in a line.
</p>
<H2>Sample Input</H2>
<pre>
w32nimda
</pre>
<H2>Output for the Sample Input</H2>
<pre>
admin23w
</pre>
|
s011093049 | p00006 | Accepted | # coding: utf-8
line = input()
for k in range(0, len(line)):
print(line[len(line) - k - 1], end="")
print("") | w32nimda
| admin23w
|
<H1>Reverse Sequence</H1>
<p>
Write a program which reverses a given string <var>str</var>.
</p>
<H2>Input</H2>
<p>
<var>str</var> (the size of <var>str</var> ≤ 20) is given in a line.
</p>
<H2>Output</H2>
<p>
Print the reversed <var>str</var> in a line.
</p>
<H2>Sample Input</H2>
<pre>
w32nimda
</pre>
<H2>Output for the Sample Input</H2>
<pre>
admin23w
</pre>
|
s355708318 | p00006 | Accepted | def main():
s = list(input())
for x in range(len(s) - 1, -1, -1):
print(s[x], end = "")
print()
if __name__ == "__main__":
main() | w32nimda
| admin23w
|
<H1>Reverse Sequence</H1>
<p>
Write a program which reverses a given string <var>str</var>.
</p>
<H2>Input</H2>
<p>
<var>str</var> (the size of <var>str</var> ≤ 20) is given in a line.
</p>
<H2>Output</H2>
<p>
Print the reversed <var>str</var> in a line.
</p>
<H2>Sample Input</H2>
<pre>
w32nimda
</pre>
<H2>Output for the Sample Input</H2>
<pre>
admin23w
</pre>
|
s669739941 | p00006 | Accepted | a=[ i for i in input()]
for i in reversed(range(1,len(a))):
print(a[i],end="")
print(a[0]) | w32nimda
| admin23w
|
<H1>Reverse Sequence</H1>
<p>
Write a program which reverses a given string <var>str</var>.
</p>
<H2>Input</H2>
<p>
<var>str</var> (the size of <var>str</var> ≤ 20) is given in a line.
</p>
<H2>Output</H2>
<p>
Print the reversed <var>str</var> in a line.
</p>
<H2>Sample Input</H2>
<pre>
w32nimda
</pre>
<H2>Output for the Sample Input</H2>
<pre>
admin23w
</pre>
|
s281380709 | p00006 | Accepted | # Aizu Problem 0006: Reverse Sequence
#
import sys, math, os
# read input:
PYDEV = os.environ.get('PYDEV')
if PYDEV=="True":
sys.stdin = open("sample-input.txt", "rt")
print(input().strip()[::-1]) | w32nimda
| admin23w
|
<H1>Reverse Sequence</H1>
<p>
Write a program which reverses a given string <var>str</var>.
</p>
<H2>Input</H2>
<p>
<var>str</var> (the size of <var>str</var> ≤ 20) is given in a line.
</p>
<H2>Output</H2>
<p>
Print the reversed <var>str</var> in a line.
</p>
<H2>Sample Input</H2>
<pre>
w32nimda
</pre>
<H2>Output for the Sample Input</H2>
<pre>
admin23w
</pre>
|
s674608568 | p00006 | Accepted | if __name__ == "__main__":
a = input().strip().split()[0]
print(a[::-1]) | w32nimda
| admin23w
|
<H1>Reverse Sequence</H1>
<p>
Write a program which reverses a given string <var>str</var>.
</p>
<H2>Input</H2>
<p>
<var>str</var> (the size of <var>str</var> ≤ 20) is given in a line.
</p>
<H2>Output</H2>
<p>
Print the reversed <var>str</var> in a line.
</p>
<H2>Sample Input</H2>
<pre>
w32nimda
</pre>
<H2>Output for the Sample Input</H2>
<pre>
admin23w
</pre>
|
s075690183 | p00006 | Accepted | ans=input()
print(ans[::-1]) | w32nimda
| admin23w
|
<H1>Reverse Sequence</H1>
<p>
Write a program which reverses a given string <var>str</var>.
</p>
<H2>Input</H2>
<p>
<var>str</var> (the size of <var>str</var> ≤ 20) is given in a line.
</p>
<H2>Output</H2>
<p>
Print the reversed <var>str</var> in a line.
</p>
<H2>Sample Input</H2>
<pre>
w32nimda
</pre>
<H2>Output for the Sample Input</H2>
<pre>
admin23w
</pre>
|
s111349618 | p00006 | Accepted | s = raw_input()
s = s[::-1]
print(s) | w32nimda
| admin23w
|
<H1>Reverse Sequence</H1>
<p>
Write a program which reverses a given string <var>str</var>.
</p>
<H2>Input</H2>
<p>
<var>str</var> (the size of <var>str</var> ≤ 20) is given in a line.
</p>
<H2>Output</H2>
<p>
Print the reversed <var>str</var> in a line.
</p>
<H2>Sample Input</H2>
<pre>
w32nimda
</pre>
<H2>Output for the Sample Input</H2>
<pre>
admin23w
</pre>
|
s416598460 | p00006 | Accepted | import math
import sys
lines = input()
print(lines[::-1]) | w32nimda
| admin23w
|
<H1>Reverse Sequence</H1>
<p>
Write a program which reverses a given string <var>str</var>.
</p>
<H2>Input</H2>
<p>
<var>str</var> (the size of <var>str</var> ≤ 20) is given in a line.
</p>
<H2>Output</H2>
<p>
Print the reversed <var>str</var> in a line.
</p>
<H2>Sample Input</H2>
<pre>
w32nimda
</pre>
<H2>Output for the Sample Input</H2>
<pre>
admin23w
</pre>
|
s179007378 | p00006 | Accepted | import sys
s = input()
for i in range(len(s)):
sys.stdout.write(s[len(s)-i-1])
print("") | w32nimda
| admin23w
|
<H1>Reverse Sequence</H1>
<p>
Write a program which reverses a given string <var>str</var>.
</p>
<H2>Input</H2>
<p>
<var>str</var> (the size of <var>str</var> ≤ 20) is given in a line.
</p>
<H2>Output</H2>
<p>
Print the reversed <var>str</var> in a line.
</p>
<H2>Sample Input</H2>
<pre>
w32nimda
</pre>
<H2>Output for the Sample Input</H2>
<pre>
admin23w
</pre>
|
s549197951 | p00006 | Accepted | print(input().rstrip()[::-1]) | w32nimda
| admin23w
|
<H1>Reverse Sequence</H1>
<p>
Write a program which reverses a given string <var>str</var>.
</p>
<H2>Input</H2>
<p>
<var>str</var> (the size of <var>str</var> ≤ 20) is given in a line.
</p>
<H2>Output</H2>
<p>
Print the reversed <var>str</var> in a line.
</p>
<H2>Sample Input</H2>
<pre>
w32nimda
</pre>
<H2>Output for the Sample Input</H2>
<pre>
admin23w
</pre>
|
s127093588 | p00006 | Accepted | alpha = input()
alpha = alpha[::-1]
print (alpha) | w32nimda
| admin23w
|
<H1>Reverse Sequence</H1>
<p>
Write a program which reverses a given string <var>str</var>.
</p>
<H2>Input</H2>
<p>
<var>str</var> (the size of <var>str</var> ≤ 20) is given in a line.
</p>
<H2>Output</H2>
<p>
Print the reversed <var>str</var> in a line.
</p>
<H2>Sample Input</H2>
<pre>
w32nimda
</pre>
<H2>Output for the Sample Input</H2>
<pre>
admin23w
</pre>
|
s265429640 | p00006 | Accepted | a = list(input())
for i in a[::-1]:
print(i, end="")
print() | w32nimda
| admin23w
|
<H1>Reverse Sequence</H1>
<p>
Write a program which reverses a given string <var>str</var>.
</p>
<H2>Input</H2>
<p>
<var>str</var> (the size of <var>str</var> ≤ 20) is given in a line.
</p>
<H2>Output</H2>
<p>
Print the reversed <var>str</var> in a line.
</p>
<H2>Sample Input</H2>
<pre>
w32nimda
</pre>
<H2>Output for the Sample Input</H2>
<pre>
admin23w
</pre>
|
s912364006 | p00006 | Accepted | a = list(input())
a.reverse()
print(''.join(a)) | w32nimda
| admin23w
|
<H1>Reverse Sequence</H1>
<p>
Write a program which reverses a given string <var>str</var>.
</p>
<H2>Input</H2>
<p>
<var>str</var> (the size of <var>str</var> ≤ 20) is given in a line.
</p>
<H2>Output</H2>
<p>
Print the reversed <var>str</var> in a line.
</p>
<H2>Sample Input</H2>
<pre>
w32nimda
</pre>
<H2>Output for the Sample Input</H2>
<pre>
admin23w
</pre>
|
s799046508 | p00006 | Accepted | input_line1 = input()
length = len(input_line1)
result = ''
for i in range(length):
result += input_line1[(i * -1)-1]
print(result) | w32nimda
| admin23w
|
<H1>Reverse Sequence</H1>
<p>
Write a program which reverses a given string <var>str</var>.
</p>
<H2>Input</H2>
<p>
<var>str</var> (the size of <var>str</var> ≤ 20) is given in a line.
</p>
<H2>Output</H2>
<p>
Print the reversed <var>str</var> in a line.
</p>
<H2>Sample Input</H2>
<pre>
w32nimda
</pre>
<H2>Output for the Sample Input</H2>
<pre>
admin23w
</pre>
|
s193625518 | p00006 | Accepted | print(''.join(list(reversed(input())))) | w32nimda
| admin23w
|
<H1>Reverse Sequence</H1>
<p>
Write a program which reverses a given string <var>str</var>.
</p>
<H2>Input</H2>
<p>
<var>str</var> (the size of <var>str</var> ≤ 20) is given in a line.
</p>
<H2>Output</H2>
<p>
Print the reversed <var>str</var> in a line.
</p>
<H2>Sample Input</H2>
<pre>
w32nimda
</pre>
<H2>Output for the Sample Input</H2>
<pre>
admin23w
</pre>
|
s401238891 | p00006 | Accepted |
if __name__ == '__main__':
x = input()
print(x[::-1]) | w32nimda
| admin23w
|
<H1>Reverse Sequence</H1>
<p>
Write a program which reverses a given string <var>str</var>.
</p>
<H2>Input</H2>
<p>
<var>str</var> (the size of <var>str</var> ≤ 20) is given in a line.
</p>
<H2>Output</H2>
<p>
Print the reversed <var>str</var> in a line.
</p>
<H2>Sample Input</H2>
<pre>
w32nimda
</pre>
<H2>Output for the Sample Input</H2>
<pre>
admin23w
</pre>
|
s185604218 | p00006 | Accepted | # -*-coding:utf-8
#????????????????????§??¨???
def main():
line = input()
print(line[::-1])
if __name__ == '__main__':
main() | w32nimda
| admin23w
|
<H1>Reverse Sequence</H1>
<p>
Write a program which reverses a given string <var>str</var>.
</p>
<H2>Input</H2>
<p>
<var>str</var> (the size of <var>str</var> ≤ 20) is given in a line.
</p>
<H2>Output</H2>
<p>
Print the reversed <var>str</var> in a line.
</p>
<H2>Sample Input</H2>
<pre>
w32nimda
</pre>
<H2>Output for the Sample Input</H2>
<pre>
admin23w
</pre>
|
s629041747 | p00006 | Accepted | import sys
#from me.io import dup_file_stdin
#@dup_file_stdin
def solve():
print(input()[::-1])
solve() | w32nimda
| admin23w
|
<H1>Reverse Sequence</H1>
<p>
Write a program which reverses a given string <var>str</var>.
</p>
<H2>Input</H2>
<p>
<var>str</var> (the size of <var>str</var> ≤ 20) is given in a line.
</p>
<H2>Output</H2>
<p>
Print the reversed <var>str</var> in a line.
</p>
<H2>Sample Input</H2>
<pre>
w32nimda
</pre>
<H2>Output for the Sample Input</H2>
<pre>
admin23w
</pre>
|
s071190974 | p00006 | Accepted | # coding=utf-8
sentence = input()
sentence = sentence[::-1]
print(sentence) | w32nimda
| admin23w
|
<H1>Reverse Sequence</H1>
<p>
Write a program which reverses a given string <var>str</var>.
</p>
<H2>Input</H2>
<p>
<var>str</var> (the size of <var>str</var> ≤ 20) is given in a line.
</p>
<H2>Output</H2>
<p>
Print the reversed <var>str</var> in a line.
</p>
<H2>Sample Input</H2>
<pre>
w32nimda
</pre>
<H2>Output for the Sample Input</H2>
<pre>
admin23w
</pre>
|
s803477164 | p00006 | Accepted | # coding: utf-8
str = raw_input()
ans = ""
for i in range(len(str)):
ans += str[-i-1]
print ans | w32nimda
| admin23w
|
<H1>Reverse Sequence</H1>
<p>
Write a program which reverses a given string <var>str</var>.
</p>
<H2>Input</H2>
<p>
<var>str</var> (the size of <var>str</var> ≤ 20) is given in a line.
</p>
<H2>Output</H2>
<p>
Print the reversed <var>str</var> in a line.
</p>
<H2>Sample Input</H2>
<pre>
w32nimda
</pre>
<H2>Output for the Sample Input</H2>
<pre>
admin23w
</pre>
|
s775691069 | p00006 | Accepted | str = []
a = raw_input()
count = len(a)
str = list(a)
str_reverse = []
for i in range(0,count):
str_reverse.append(str[count - i -1])
print ''.join(str_reverse) | w32nimda
| admin23w
|
<H1>Reverse Sequence</H1>
<p>
Write a program which reverses a given string <var>str</var>.
</p>
<H2>Input</H2>
<p>
<var>str</var> (the size of <var>str</var> ≤ 20) is given in a line.
</p>
<H2>Output</H2>
<p>
Print the reversed <var>str</var> in a line.
</p>
<H2>Sample Input</H2>
<pre>
w32nimda
</pre>
<H2>Output for the Sample Input</H2>
<pre>
admin23w
</pre>
|
s074019112 | p00006 | Accepted | def main():
str = input()
str = str[::-1]
print(str)
if __name__ == '__main__':
main() | w32nimda
| admin23w
|
<H1>Reverse Sequence</H1>
<p>
Write a program which reverses a given string <var>str</var>.
</p>
<H2>Input</H2>
<p>
<var>str</var> (the size of <var>str</var> ≤ 20) is given in a line.
</p>
<H2>Output</H2>
<p>
Print the reversed <var>str</var> in a line.
</p>
<H2>Sample Input</H2>
<pre>
w32nimda
</pre>
<H2>Output for the Sample Input</H2>
<pre>
admin23w
</pre>
|
s692572490 | p00006 | Accepted | def main():
l = []
str = input()
str = str[::-1]
print(str)
if __name__ == "__main__":
main()
| w32nimda
| admin23w
|
<H1>Reverse Sequence</H1>
<p>
Write a program which reverses a given string <var>str</var>.
</p>
<H2>Input</H2>
<p>
<var>str</var> (the size of <var>str</var> ≤ 20) is given in a line.
</p>
<H2>Output</H2>
<p>
Print the reversed <var>str</var> in a line.
</p>
<H2>Sample Input</H2>
<pre>
w32nimda
</pre>
<H2>Output for the Sample Input</H2>
<pre>
admin23w
</pre>
|
s392653024 | p00006 | Accepted | S = input()
N = len(S)
for i in range(N):
print(S[N-i-1], end="")
print("")
| w32nimda
| admin23w
|
<H1>Reverse Sequence</H1>
<p>
Write a program which reverses a given string <var>str</var>.
</p>
<H2>Input</H2>
<p>
<var>str</var> (the size of <var>str</var> ≤ 20) is given in a line.
</p>
<H2>Output</H2>
<p>
Print the reversed <var>str</var> in a line.
</p>
<H2>Sample Input</H2>
<pre>
w32nimda
</pre>
<H2>Output for the Sample Input</H2>
<pre>
admin23w
</pre>
|
s000680654 | p00006 | Accepted | a=list(str(input()))
a.reverse()
print(*a,sep="")
| w32nimda
| admin23w
|
<H1>Reverse Sequence</H1>
<p>
Write a program which reverses a given string <var>str</var>.
</p>
<H2>Input</H2>
<p>
<var>str</var> (the size of <var>str</var> ≤ 20) is given in a line.
</p>
<H2>Output</H2>
<p>
Print the reversed <var>str</var> in a line.
</p>
<H2>Sample Input</H2>
<pre>
w32nimda
</pre>
<H2>Output for the Sample Input</H2>
<pre>
admin23w
</pre>
|
s331805746 | p00006 | Accepted | stra = input()
print(stra[::-1])
| w32nimda
| admin23w
|
<H1>Reverse Sequence</H1>
<p>
Write a program which reverses a given string <var>str</var>.
</p>
<H2>Input</H2>
<p>
<var>str</var> (the size of <var>str</var> ≤ 20) is given in a line.
</p>
<H2>Output</H2>
<p>
Print the reversed <var>str</var> in a line.
</p>
<H2>Sample Input</H2>
<pre>
w32nimda
</pre>
<H2>Output for the Sample Input</H2>
<pre>
admin23w
</pre>
|
s841929341 | p00006 | Accepted | import sys
a = input()
print(a[::-1])
| w32nimda
| admin23w
|
<H1>Reverse Sequence</H1>
<p>
Write a program which reverses a given string <var>str</var>.
</p>
<H2>Input</H2>
<p>
<var>str</var> (the size of <var>str</var> ≤ 20) is given in a line.
</p>
<H2>Output</H2>
<p>
Print the reversed <var>str</var> in a line.
</p>
<H2>Sample Input</H2>
<pre>
w32nimda
</pre>
<H2>Output for the Sample Input</H2>
<pre>
admin23w
</pre>
|
s971939235 | p00006 | Accepted | s=input()
s=s[::-1]
print(s)
| w32nimda
| admin23w
|
<H1>Reverse Sequence</H1>
<p>
Write a program which reverses a given string <var>str</var>.
</p>
<H2>Input</H2>
<p>
<var>str</var> (the size of <var>str</var> ≤ 20) is given in a line.
</p>
<H2>Output</H2>
<p>
Print the reversed <var>str</var> in a line.
</p>
<H2>Sample Input</H2>
<pre>
w32nimda
</pre>
<H2>Output for the Sample Input</H2>
<pre>
admin23w
</pre>
|
s561396492 | p00006 | Accepted | l = list(raw_input())
l.reverse()
print ''.join(l)
| w32nimda
| admin23w
|
<H1>Reverse Sequence</H1>
<p>
Write a program which reverses a given string <var>str</var>.
</p>
<H2>Input</H2>
<p>
<var>str</var> (the size of <var>str</var> ≤ 20) is given in a line.
</p>
<H2>Output</H2>
<p>
Print the reversed <var>str</var> in a line.
</p>
<H2>Sample Input</H2>
<pre>
w32nimda
</pre>
<H2>Output for the Sample Input</H2>
<pre>
admin23w
</pre>
|
s207782735 | p00006 | Accepted | s = str(input())
s = list(s)
x = [0]*len(s)
for i in range(len(s)):
x[len(s)-i-1] = s[i]
for i in range(len(x)):
print(x[i],end='')
print('')
| w32nimda
| admin23w
|
<H1>Reverse Sequence</H1>
<p>
Write a program which reverses a given string <var>str</var>.
</p>
<H2>Input</H2>
<p>
<var>str</var> (the size of <var>str</var> ≤ 20) is given in a line.
</p>
<H2>Output</H2>
<p>
Print the reversed <var>str</var> in a line.
</p>
<H2>Sample Input</H2>
<pre>
w32nimda
</pre>
<H2>Output for the Sample Input</H2>
<pre>
admin23w
</pre>
|
s512212099 | p00006 | Accepted | string = input()
size = len(string)
st = []
for i in range(size):
st.append(string[size-i-1])
print(''.join(st))
| w32nimda
| admin23w
|
<H1>Reverse Sequence</H1>
<p>
Write a program which reverses a given string <var>str</var>.
</p>
<H2>Input</H2>
<p>
<var>str</var> (the size of <var>str</var> ≤ 20) is given in a line.
</p>
<H2>Output</H2>
<p>
Print the reversed <var>str</var> in a line.
</p>
<H2>Sample Input</H2>
<pre>
w32nimda
</pre>
<H2>Output for the Sample Input</H2>
<pre>
admin23w
</pre>
|
s531002430 | p00006 | Accepted | s = input()
print(s[::-1])
| w32nimda
| admin23w
|
<H1>Reverse Sequence</H1>
<p>
Write a program which reverses a given string <var>str</var>.
</p>
<H2>Input</H2>
<p>
<var>str</var> (the size of <var>str</var> ≤ 20) is given in a line.
</p>
<H2>Output</H2>
<p>
Print the reversed <var>str</var> in a line.
</p>
<H2>Sample Input</H2>
<pre>
w32nimda
</pre>
<H2>Output for the Sample Input</H2>
<pre>
admin23w
</pre>
|
s432904746 | p00006 | Accepted | a=list(input())
a.reverse()
a=''.join(a)
print(a)
| w32nimda
| admin23w
|
<H1>Reverse Sequence</H1>
<p>
Write a program which reverses a given string <var>str</var>.
</p>
<H2>Input</H2>
<p>
<var>str</var> (the size of <var>str</var> ≤ 20) is given in a line.
</p>
<H2>Output</H2>
<p>
Print the reversed <var>str</var> in a line.
</p>
<H2>Sample Input</H2>
<pre>
w32nimda
</pre>
<H2>Output for the Sample Input</H2>
<pre>
admin23w
</pre>
|
s985285817 | p00006 | Accepted | s=raw_input()
print s[::-1]
| w32nimda
| admin23w
|
<H1>Reverse Sequence</H1>
<p>
Write a program which reverses a given string <var>str</var>.
</p>
<H2>Input</H2>
<p>
<var>str</var> (the size of <var>str</var> ≤ 20) is given in a line.
</p>
<H2>Output</H2>
<p>
Print the reversed <var>str</var> in a line.
</p>
<H2>Sample Input</H2>
<pre>
w32nimda
</pre>
<H2>Output for the Sample Input</H2>
<pre>
admin23w
</pre>
|
s496391836 | p00006 | Accepted | print("".join(list(input())[::-1]))
| w32nimda
| admin23w
|
<H1>Reverse Sequence</H1>
<p>
Write a program which reverses a given string <var>str</var>.
</p>
<H2>Input</H2>
<p>
<var>str</var> (the size of <var>str</var> ≤ 20) is given in a line.
</p>
<H2>Output</H2>
<p>
Print the reversed <var>str</var> in a line.
</p>
<H2>Sample Input</H2>
<pre>
w32nimda
</pre>
<H2>Output for the Sample Input</H2>
<pre>
admin23w
</pre>
|
s866439715 | p00006 | Accepted | str = input()
print(str[::-1])
| w32nimda
| admin23w
|
<H1>Reverse Sequence</H1>
<p>
Write a program which reverses a given string <var>str</var>.
</p>
<H2>Input</H2>
<p>
<var>str</var> (the size of <var>str</var> ≤ 20) is given in a line.
</p>
<H2>Output</H2>
<p>
Print the reversed <var>str</var> in a line.
</p>
<H2>Sample Input</H2>
<pre>
w32nimda
</pre>
<H2>Output for the Sample Input</H2>
<pre>
admin23w
</pre>
|
s294080269 | p00006 | Accepted | s = input()
rs = s[::-1]
print(rs)
| w32nimda
| admin23w
|
<H1>Reverse Sequence</H1>
<p>
Write a program which reverses a given string <var>str</var>.
</p>
<H2>Input</H2>
<p>
<var>str</var> (the size of <var>str</var> ≤ 20) is given in a line.
</p>
<H2>Output</H2>
<p>
Print the reversed <var>str</var> in a line.
</p>
<H2>Sample Input</H2>
<pre>
w32nimda
</pre>
<H2>Output for the Sample Input</H2>
<pre>
admin23w
</pre>
|
s288933385 | p00006 | Accepted | txt = input("")
for i in range(0,len(txt)):
print(txt[(len(txt)-i-1)],end="")
print()
| w32nimda
| admin23w
|
<H1>Reverse Sequence</H1>
<p>
Write a program which reverses a given string <var>str</var>.
</p>
<H2>Input</H2>
<p>
<var>str</var> (the size of <var>str</var> ≤ 20) is given in a line.
</p>
<H2>Output</H2>
<p>
Print the reversed <var>str</var> in a line.
</p>
<H2>Sample Input</H2>
<pre>
w32nimda
</pre>
<H2>Output for the Sample Input</H2>
<pre>
admin23w
</pre>
|
s574580381 | p00006 | Accepted | # AOJ 0006 Reverse Sequence
# Python3 2018.6.7 bal4u
s = input()
print(s[::-1])
| w32nimda
| admin23w
|
<H1>Reverse Sequence</H1>
<p>
Write a program which reverses a given string <var>str</var>.
</p>
<H2>Input</H2>
<p>
<var>str</var> (the size of <var>str</var> ≤ 20) is given in a line.
</p>
<H2>Output</H2>
<p>
Print the reversed <var>str</var> in a line.
</p>
<H2>Sample Input</H2>
<pre>
w32nimda
</pre>
<H2>Output for the Sample Input</H2>
<pre>
admin23w
</pre>
|
s041705218 | p00006 | Accepted | print( input()[::-1] )
| w32nimda
| admin23w
|
<H1>Reverse Sequence</H1>
<p>
Write a program which reverses a given string <var>str</var>.
</p>
<H2>Input</H2>
<p>
<var>str</var> (the size of <var>str</var> ≤ 20) is given in a line.
</p>
<H2>Output</H2>
<p>
Print the reversed <var>str</var> in a line.
</p>
<H2>Sample Input</H2>
<pre>
w32nimda
</pre>
<H2>Output for the Sample Input</H2>
<pre>
admin23w
</pre>
|
s148652791 | p00006 | Accepted | def run():
s = input()
print(''.join(list(reversed(s))))
if __name__ == '__main__':
run()
| w32nimda
| admin23w
|
<H1>Reverse Sequence</H1>
<p>
Write a program which reverses a given string <var>str</var>.
</p>
<H2>Input</H2>
<p>
<var>str</var> (the size of <var>str</var> ≤ 20) is given in a line.
</p>
<H2>Output</H2>
<p>
Print the reversed <var>str</var> in a line.
</p>
<H2>Sample Input</H2>
<pre>
w32nimda
</pre>
<H2>Output for the Sample Input</H2>
<pre>
admin23w
</pre>
|
s897634547 | p00006 | Accepted | str1 = raw_input()
print "".join(reversed(str1)) | w32nimda
| admin23w
|
<H1>Reverse Sequence</H1>
<p>
Write a program which reverses a given string <var>str</var>.
</p>
<H2>Input</H2>
<p>
<var>str</var> (the size of <var>str</var> ≤ 20) is given in a line.
</p>
<H2>Output</H2>
<p>
Print the reversed <var>str</var> in a line.
</p>
<H2>Sample Input</H2>
<pre>
w32nimda
</pre>
<H2>Output for the Sample Input</H2>
<pre>
admin23w
</pre>
|
s774406442 | p00006 | Accepted | # -*- coding: utf-8 -*-
print(str(raw_input())[::-1]) | w32nimda
| admin23w
|
<H1>Reverse Sequence</H1>
<p>
Write a program which reverses a given string <var>str</var>.
</p>
<H2>Input</H2>
<p>
<var>str</var> (the size of <var>str</var> ≤ 20) is given in a line.
</p>
<H2>Output</H2>
<p>
Print the reversed <var>str</var> in a line.
</p>
<H2>Sample Input</H2>
<pre>
w32nimda
</pre>
<H2>Output for the Sample Input</H2>
<pre>
admin23w
</pre>
|
s650160345 | p00006 | Accepted | import sys
for i in sys.stdin.readlines():
print "".join(reversed(i.strip())) | w32nimda
| admin23w
|
<H1>Reverse Sequence</H1>
<p>
Write a program which reverses a given string <var>str</var>.
</p>
<H2>Input</H2>
<p>
<var>str</var> (the size of <var>str</var> ≤ 20) is given in a line.
</p>
<H2>Output</H2>
<p>
Print the reversed <var>str</var> in a line.
</p>
<H2>Sample Input</H2>
<pre>
w32nimda
</pre>
<H2>Output for the Sample Input</H2>
<pre>
admin23w
</pre>
|
s590971954 | p00006 | Accepted | #coding:UTF-8
s=raw_input()
print s[::-1] | w32nimda
| admin23w
|
<H1>Reverse Sequence</H1>
<p>
Write a program which reverses a given string <var>str</var>.
</p>
<H2>Input</H2>
<p>
<var>str</var> (the size of <var>str</var> ≤ 20) is given in a line.
</p>
<H2>Output</H2>
<p>
Print the reversed <var>str</var> in a line.
</p>
<H2>Sample Input</H2>
<pre>
w32nimda
</pre>
<H2>Output for the Sample Input</H2>
<pre>
admin23w
</pre>
|
s746973076 | p00006 | Accepted | #coding: utf-8
while 1:
try:
s = raw_input()
print s[::-1]
except EOFError:
break | w32nimda
| admin23w
|
<H1>Reverse Sequence</H1>
<p>
Write a program which reverses a given string <var>str</var>.
</p>
<H2>Input</H2>
<p>
<var>str</var> (the size of <var>str</var> ≤ 20) is given in a line.
</p>
<H2>Output</H2>
<p>
Print the reversed <var>str</var> in a line.
</p>
<H2>Sample Input</H2>
<pre>
w32nimda
</pre>
<H2>Output for the Sample Input</H2>
<pre>
admin23w
</pre>
|
s227944638 | p00006 | Accepted |
array = map(str, raw_input())
sum = ''
for i in range(len(array)):
sum = sum + array[-(1+i)]
print sum | w32nimda
| admin23w
|
<H1>Reverse Sequence</H1>
<p>
Write a program which reverses a given string <var>str</var>.
</p>
<H2>Input</H2>
<p>
<var>str</var> (the size of <var>str</var> ≤ 20) is given in a line.
</p>
<H2>Output</H2>
<p>
Print the reversed <var>str</var> in a line.
</p>
<H2>Sample Input</H2>
<pre>
w32nimda
</pre>
<H2>Output for the Sample Input</H2>
<pre>
admin23w
</pre>
|
s184452160 | p00006 | Accepted | str = (raw_input())
print str[::-1] | w32nimda
| admin23w
|
<H1>Reverse Sequence</H1>
<p>
Write a program which reverses a given string <var>str</var>.
</p>
<H2>Input</H2>
<p>
<var>str</var> (the size of <var>str</var> ≤ 20) is given in a line.
</p>
<H2>Output</H2>
<p>
Print the reversed <var>str</var> in a line.
</p>
<H2>Sample Input</H2>
<pre>
w32nimda
</pre>
<H2>Output for the Sample Input</H2>
<pre>
admin23w
</pre>
|
s955931016 | p00006 | Accepted | print ''.join(list(reversed(raw_input()))) | w32nimda
| admin23w
|
<H1>Reverse Sequence</H1>
<p>
Write a program which reverses a given string <var>str</var>.
</p>
<H2>Input</H2>
<p>
<var>str</var> (the size of <var>str</var> ≤ 20) is given in a line.
</p>
<H2>Output</H2>
<p>
Print the reversed <var>str</var> in a line.
</p>
<H2>Sample Input</H2>
<pre>
w32nimda
</pre>
<H2>Output for the Sample Input</H2>
<pre>
admin23w
</pre>
|
s280037647 | p00006 | Accepted | from __future__ import absolute_import, print_function, unicode_literals
print(''.join(reversed(raw_input().strip()))) | w32nimda
| admin23w
|
<H1>Reverse Sequence</H1>
<p>
Write a program which reverses a given string <var>str</var>.
</p>
<H2>Input</H2>
<p>
<var>str</var> (the size of <var>str</var> ≤ 20) is given in a line.
</p>
<H2>Output</H2>
<p>
Print the reversed <var>str</var> in a line.
</p>
<H2>Sample Input</H2>
<pre>
w32nimda
</pre>
<H2>Output for the Sample Input</H2>
<pre>
admin23w
</pre>
|
s049260222 | p00006 | Accepted | print ''.join(reversed(list(raw_input()))) | w32nimda
| admin23w
|
<H1>Reverse Sequence</H1>
<p>
Write a program which reverses a given string <var>str</var>.
</p>
<H2>Input</H2>
<p>
<var>str</var> (the size of <var>str</var> ≤ 20) is given in a line.
</p>
<H2>Output</H2>
<p>
Print the reversed <var>str</var> in a line.
</p>
<H2>Sample Input</H2>
<pre>
w32nimda
</pre>
<H2>Output for the Sample Input</H2>
<pre>
admin23w
</pre>
|
s661419201 | p00006 | Accepted | import sys
s=sys.stdin.readline().rstrip()
print s[::-1] | w32nimda
| admin23w
|
<H1>Reverse Sequence</H1>
<p>
Write a program which reverses a given string <var>str</var>.
</p>
<H2>Input</H2>
<p>
<var>str</var> (the size of <var>str</var> ≤ 20) is given in a line.
</p>
<H2>Output</H2>
<p>
Print the reversed <var>str</var> in a line.
</p>
<H2>Sample Input</H2>
<pre>
w32nimda
</pre>
<H2>Output for the Sample Input</H2>
<pre>
admin23w
</pre>
|
s669177428 | p00006 | Accepted | str = raw_input()
strlist = []
for x in str:
strlist.append(x)
strlist.reverse()
revstr = ''
for x in strlist:
revstr += x
print revstr | w32nimda
| admin23w
|
<H1>Reverse Sequence</H1>
<p>
Write a program which reverses a given string <var>str</var>.
</p>
<H2>Input</H2>
<p>
<var>str</var> (the size of <var>str</var> ≤ 20) is given in a line.
</p>
<H2>Output</H2>
<p>
Print the reversed <var>str</var> in a line.
</p>
<H2>Sample Input</H2>
<pre>
w32nimda
</pre>
<H2>Output for the Sample Input</H2>
<pre>
admin23w
</pre>
|
s765418708 | p00006 | Accepted | print "".join([x for x in reversed(list(raw_input()))]) | w32nimda
| admin23w
|
<H1>Reverse Sequence</H1>
<p>
Write a program which reverses a given string <var>str</var>.
</p>
<H2>Input</H2>
<p>
<var>str</var> (the size of <var>str</var> ≤ 20) is given in a line.
</p>
<H2>Output</H2>
<p>
Print the reversed <var>str</var> in a line.
</p>
<H2>Sample Input</H2>
<pre>
w32nimda
</pre>
<H2>Output for the Sample Input</H2>
<pre>
admin23w
</pre>
|
s229469607 | p00006 | Accepted | print raw_input()[-1::-1] | w32nimda
| admin23w
|
<H1>Reverse Sequence</H1>
<p>
Write a program which reverses a given string <var>str</var>.
</p>
<H2>Input</H2>
<p>
<var>str</var> (the size of <var>str</var> ≤ 20) is given in a line.
</p>
<H2>Output</H2>
<p>
Print the reversed <var>str</var> in a line.
</p>
<H2>Sample Input</H2>
<pre>
w32nimda
</pre>
<H2>Output for the Sample Input</H2>
<pre>
admin23w
</pre>
|
s558613661 | p00006 | Accepted | text = raw_input()
n = len(text)
rev = []
for i in range(n):
rev.append(text[(n-1)-i])
ans = ''.join(rev)
print ans | w32nimda
| admin23w
|
<H1>Reverse Sequence</H1>
<p>
Write a program which reverses a given string <var>str</var>.
</p>
<H2>Input</H2>
<p>
<var>str</var> (the size of <var>str</var> ≤ 20) is given in a line.
</p>
<H2>Output</H2>
<p>
Print the reversed <var>str</var> in a line.
</p>
<H2>Sample Input</H2>
<pre>
w32nimda
</pre>
<H2>Output for the Sample Input</H2>
<pre>
admin23w
</pre>
|
s436350495 | p00006 | Accepted | s=raw_input()
print s[::-1] | w32nimda
| admin23w
|
<H1>Reverse Sequence</H1>
<p>
Write a program which reverses a given string <var>str</var>.
</p>
<H2>Input</H2>
<p>
<var>str</var> (the size of <var>str</var> ≤ 20) is given in a line.
</p>
<H2>Output</H2>
<p>
Print the reversed <var>str</var> in a line.
</p>
<H2>Sample Input</H2>
<pre>
w32nimda
</pre>
<H2>Output for the Sample Input</H2>
<pre>
admin23w
</pre>
|
s675841697 | p00006 | Accepted | a = raw_input()
a = a[::-1]
print a | w32nimda
| admin23w
|
<H1>Reverse Sequence</H1>
<p>
Write a program which reverses a given string <var>str</var>.
</p>
<H2>Input</H2>
<p>
<var>str</var> (the size of <var>str</var> ≤ 20) is given in a line.
</p>
<H2>Output</H2>
<p>
Print the reversed <var>str</var> in a line.
</p>
<H2>Sample Input</H2>
<pre>
w32nimda
</pre>
<H2>Output for the Sample Input</H2>
<pre>
admin23w
</pre>
|
s715557717 | p00006 | Accepted |
import sys
def str_reverse(str):
r = []
for c in str:
r.insert(0, c)
return "".join(r)
str = sys.stdin.readline().rstrip("\r\n")
print str_reverse(str) | w32nimda
| admin23w
|
<H1>Reverse Sequence</H1>
<p>
Write a program which reverses a given string <var>str</var>.
</p>
<H2>Input</H2>
<p>
<var>str</var> (the size of <var>str</var> ≤ 20) is given in a line.
</p>
<H2>Output</H2>
<p>
Print the reversed <var>str</var> in a line.
</p>
<H2>Sample Input</H2>
<pre>
w32nimda
</pre>
<H2>Output for the Sample Input</H2>
<pre>
admin23w
</pre>
|
s232638869 | p00006 | Accepted | s = raw_input()
l = list()
for i in xrange(len(s)):
l.insert(0, s[i])
print "".join(l) | w32nimda
| admin23w
|
<H1>Reverse Sequence</H1>
<p>
Write a program which reverses a given string <var>str</var>.
</p>
<H2>Input</H2>
<p>
<var>str</var> (the size of <var>str</var> ≤ 20) is given in a line.
</p>
<H2>Output</H2>
<p>
Print the reversed <var>str</var> in a line.
</p>
<H2>Sample Input</H2>
<pre>
w32nimda
</pre>
<H2>Output for the Sample Input</H2>
<pre>
admin23w
</pre>
|
s270935313 | p00006 | Accepted | print "".join(raw_input()[::-1]) | w32nimda
| admin23w
|
<H1>Reverse Sequence</H1>
<p>
Write a program which reverses a given string <var>str</var>.
</p>
<H2>Input</H2>
<p>
<var>str</var> (the size of <var>str</var> ≤ 20) is given in a line.
</p>
<H2>Output</H2>
<p>
Print the reversed <var>str</var> in a line.
</p>
<H2>Sample Input</H2>
<pre>
w32nimda
</pre>
<H2>Output for the Sample Input</H2>
<pre>
admin23w
</pre>
|
s414984876 | p00006 | Accepted | import sys
rawinput = raw_input();
strlist = []
for temp in rawinput:
strlist.append(temp)
strlist.reverse()
for temp in strlist:
sys.stdout.write(temp)
print | w32nimda
| admin23w
|
<H1>Reverse Sequence</H1>
<p>
Write a program which reverses a given string <var>str</var>.
</p>
<H2>Input</H2>
<p>
<var>str</var> (the size of <var>str</var> ≤ 20) is given in a line.
</p>
<H2>Output</H2>
<p>
Print the reversed <var>str</var> in a line.
</p>
<H2>Sample Input</H2>
<pre>
w32nimda
</pre>
<H2>Output for the Sample Input</H2>
<pre>
admin23w
</pre>
|
s579948705 | p00006 | Accepted | line = raw_input().strip()
print reduce(lambda a, b: a + b, reversed(line)) | w32nimda
| admin23w
|
<H1>Reverse Sequence</H1>
<p>
Write a program which reverses a given string <var>str</var>.
</p>
<H2>Input</H2>
<p>
<var>str</var> (the size of <var>str</var> ≤ 20) is given in a line.
</p>
<H2>Output</H2>
<p>
Print the reversed <var>str</var> in a line.
</p>
<H2>Sample Input</H2>
<pre>
w32nimda
</pre>
<H2>Output for the Sample Input</H2>
<pre>
admin23w
</pre>
|
s596720278 | p00006 | Accepted | a = str(raw_input())
a = a[::-1]
print a | w32nimda
| admin23w
|
<H1>Reverse Sequence</H1>
<p>
Write a program which reverses a given string <var>str</var>.
</p>
<H2>Input</H2>
<p>
<var>str</var> (the size of <var>str</var> ≤ 20) is given in a line.
</p>
<H2>Output</H2>
<p>
Print the reversed <var>str</var> in a line.
</p>
<H2>Sample Input</H2>
<pre>
w32nimda
</pre>
<H2>Output for the Sample Input</H2>
<pre>
admin23w
</pre>
|
s582370199 | p00006 | Accepted | # Reverse Sequence
import sys
string = ""
for line in sys.stdin:
string = line
print string.strip()[::-1] | w32nimda
| admin23w
|
<H1>Reverse Sequence</H1>
<p>
Write a program which reverses a given string <var>str</var>.
</p>
<H2>Input</H2>
<p>
<var>str</var> (the size of <var>str</var> ≤ 20) is given in a line.
</p>
<H2>Output</H2>
<p>
Print the reversed <var>str</var> in a line.
</p>
<H2>Sample Input</H2>
<pre>
w32nimda
</pre>
<H2>Output for the Sample Input</H2>
<pre>
admin23w
</pre>
|
s313487158 | p00006 | Accepted | a = raw_input()
print a[::-1] | w32nimda
| admin23w
|
<H1>Reverse Sequence</H1>
<p>
Write a program which reverses a given string <var>str</var>.
</p>
<H2>Input</H2>
<p>
<var>str</var> (the size of <var>str</var> ≤ 20) is given in a line.
</p>
<H2>Output</H2>
<p>
Print the reversed <var>str</var> in a line.
</p>
<H2>Sample Input</H2>
<pre>
w32nimda
</pre>
<H2>Output for the Sample Input</H2>
<pre>
admin23w
</pre>
|
s688854460 | p00006 | Accepted | import sys
for line in sys.stdin:
l = [ c for c in line.rstrip('\n') ]
l.reverse()
print ''.join(l) | w32nimda
| admin23w
|
<H1>Reverse Sequence</H1>
<p>
Write a program which reverses a given string <var>str</var>.
</p>
<H2>Input</H2>
<p>
<var>str</var> (the size of <var>str</var> ≤ 20) is given in a line.
</p>
<H2>Output</H2>
<p>
Print the reversed <var>str</var> in a line.
</p>
<H2>Sample Input</H2>
<pre>
w32nimda
</pre>
<H2>Output for the Sample Input</H2>
<pre>
admin23w
</pre>
|
s100002807 | p00006 | Accepted | #!/usr/bin/python
# -*- coding: utf-8 -*-
import sys
line = raw_input()
print line[::-1] | w32nimda
| admin23w
|
<H1>Reverse Sequence</H1>
<p>
Write a program which reverses a given string <var>str</var>.
</p>
<H2>Input</H2>
<p>
<var>str</var> (the size of <var>str</var> ≤ 20) is given in a line.
</p>
<H2>Output</H2>
<p>
Print the reversed <var>str</var> in a line.
</p>
<H2>Sample Input</H2>
<pre>
w32nimda
</pre>
<H2>Output for the Sample Input</H2>
<pre>
admin23w
</pre>
|
s375655625 | p00006 | Accepted | str = raw_input()
print str[::-1] | w32nimda
| admin23w
|
<H1>Reverse Sequence</H1>
<p>
Write a program which reverses a given string <var>str</var>.
</p>
<H2>Input</H2>
<p>
<var>str</var> (the size of <var>str</var> ≤ 20) is given in a line.
</p>
<H2>Output</H2>
<p>
Print the reversed <var>str</var> in a line.
</p>
<H2>Sample Input</H2>
<pre>
w32nimda
</pre>
<H2>Output for the Sample Input</H2>
<pre>
admin23w
</pre>
|
s762507887 | p00006 | Accepted | print raw_input()[: : -1] | w32nimda
| admin23w
|
<H1>Reverse Sequence</H1>
<p>
Write a program which reverses a given string <var>str</var>.
</p>
<H2>Input</H2>
<p>
<var>str</var> (the size of <var>str</var> ≤ 20) is given in a line.
</p>
<H2>Output</H2>
<p>
Print the reversed <var>str</var> in a line.
</p>
<H2>Sample Input</H2>
<pre>
w32nimda
</pre>
<H2>Output for the Sample Input</H2>
<pre>
admin23w
</pre>
|
s605994943 | p00006 | Accepted | str=raw_input()
str2=""
for i in range(len(str)-1,-1,-1):
str2+=str[i]
print str2
| w32nimda
| admin23w
|
<H1>Reverse Sequence</H1>
<p>
Write a program which reverses a given string <var>str</var>.
</p>
<H2>Input</H2>
<p>
<var>str</var> (the size of <var>str</var> ≤ 20) is given in a line.
</p>
<H2>Output</H2>
<p>
Print the reversed <var>str</var> in a line.
</p>
<H2>Sample Input</H2>
<pre>
w32nimda
</pre>
<H2>Output for the Sample Input</H2>
<pre>
admin23w
</pre>
|
s922539988 | p00006 | Accepted | # -*- coding: utf-8 -*-
import sys
for line in sys.stdin.readlines():
#List = map(int, line.strip().split())
seq = line.strip()
print seq[::-1] | w32nimda
| admin23w
|
<H1>Reverse Sequence</H1>
<p>
Write a program which reverses a given string <var>str</var>.
</p>
<H2>Input</H2>
<p>
<var>str</var> (the size of <var>str</var> ≤ 20) is given in a line.
</p>
<H2>Output</H2>
<p>
Print the reversed <var>str</var> in a line.
</p>
<H2>Sample Input</H2>
<pre>
w32nimda
</pre>
<H2>Output for the Sample Input</H2>
<pre>
admin23w
</pre>
|
s012943131 | p00006 | Accepted | string = list(raw_input())
string.reverse()
print "".join(string) | w32nimda
| admin23w
|
<H1>Reverse Sequence</H1>
<p>
Write a program which reverses a given string <var>str</var>.
</p>
<H2>Input</H2>
<p>
<var>str</var> (the size of <var>str</var> ≤ 20) is given in a line.
</p>
<H2>Output</H2>
<p>
Print the reversed <var>str</var> in a line.
</p>
<H2>Sample Input</H2>
<pre>
w32nimda
</pre>
<H2>Output for the Sample Input</H2>
<pre>
admin23w
</pre>
|
s278575411 | p00006 | Accepted | s = raw_input()
print s[::-1] | w32nimda
| admin23w
|
<H1>Reverse Sequence</H1>
<p>
Write a program which reverses a given string <var>str</var>.
</p>
<H2>Input</H2>
<p>
<var>str</var> (the size of <var>str</var> ≤ 20) is given in a line.
</p>
<H2>Output</H2>
<p>
Print the reversed <var>str</var> in a line.
</p>
<H2>Sample Input</H2>
<pre>
w32nimda
</pre>
<H2>Output for the Sample Input</H2>
<pre>
admin23w
</pre>
|
s235034307 | p00006 | Accepted | a = raw_input()
print a[::-1] | w32nimda
| admin23w
|
<H1>Reverse Sequence</H1>
<p>
Write a program which reverses a given string <var>str</var>.
</p>
<H2>Input</H2>
<p>
<var>str</var> (the size of <var>str</var> ≤ 20) is given in a line.
</p>
<H2>Output</H2>
<p>
Print the reversed <var>str</var> in a line.
</p>
<H2>Sample Input</H2>
<pre>
w32nimda
</pre>
<H2>Output for the Sample Input</H2>
<pre>
admin23w
</pre>
|
s873688661 | p00006 | Accepted | l = list(raw_input())
l.reverse()
print "".join(l) | w32nimda
| admin23w
|
<H1>Reverse Sequence</H1>
<p>
Write a program which reverses a given string <var>str</var>.
</p>
<H2>Input</H2>
<p>
<var>str</var> (the size of <var>str</var> ≤ 20) is given in a line.
</p>
<H2>Output</H2>
<p>
Print the reversed <var>str</var> in a line.
</p>
<H2>Sample Input</H2>
<pre>
w32nimda
</pre>
<H2>Output for the Sample Input</H2>
<pre>
admin23w
</pre>
|
s173846223 | p00006 | Accepted | r = ''
str = input()
for c in str:
r = c + r
print(r) | w32nimda
| admin23w
|
<H1>Reverse Sequence</H1>
<p>
Write a program which reverses a given string <var>str</var>.
</p>
<H2>Input</H2>
<p>
<var>str</var> (the size of <var>str</var> ≤ 20) is given in a line.
</p>
<H2>Output</H2>
<p>
Print the reversed <var>str</var> in a line.
</p>
<H2>Sample Input</H2>
<pre>
w32nimda
</pre>
<H2>Output for the Sample Input</H2>
<pre>
admin23w
</pre>
|
s536550085 | p00006 | Accepted | import re
a=input()
n=len(a)
s=0
for i in range(n):
print(a[n-1-i],end='')
print("")
| w32nimda
| admin23w
|
<H1>Reverse Sequence</H1>
<p>
Write a program which reverses a given string <var>str</var>.
</p>
<H2>Input</H2>
<p>
<var>str</var> (the size of <var>str</var> ≤ 20) is given in a line.
</p>
<H2>Output</H2>
<p>
Print the reversed <var>str</var> in a line.
</p>
<H2>Sample Input</H2>
<pre>
w32nimda
</pre>
<H2>Output for the Sample Input</H2>
<pre>
admin23w
</pre>
|
s453957875 | p00006 | Accepted | x = input()
print(x[::-1])
| w32nimda
| admin23w
|
<H1>Reverse Sequence</H1>
<p>
Write a program which reverses a given string <var>str</var>.
</p>
<H2>Input</H2>
<p>
<var>str</var> (the size of <var>str</var> ≤ 20) is given in a line.
</p>
<H2>Output</H2>
<p>
Print the reversed <var>str</var> in a line.
</p>
<H2>Sample Input</H2>
<pre>
w32nimda
</pre>
<H2>Output for the Sample Input</H2>
<pre>
admin23w
</pre>
|
s695323241 | p00006 | Accepted | m = str(input());
o = ''.join(list(reversed(m)));
print(o);
| w32nimda
| admin23w
|
<H1>Reverse Sequence</H1>
<p>
Write a program which reverses a given string <var>str</var>.
</p>
<H2>Input</H2>
<p>
<var>str</var> (the size of <var>str</var> ≤ 20) is given in a line.
</p>
<H2>Output</H2>
<p>
Print the reversed <var>str</var> in a line.
</p>
<H2>Sample Input</H2>
<pre>
w32nimda
</pre>
<H2>Output for the Sample Input</H2>
<pre>
admin23w
</pre>
|
s203982889 | p00006 | Accepted | n=list(input())
n.reverse()
print("".join(n))
| w32nimda
| admin23w
|
<H1>Reverse Sequence</H1>
<p>
Write a program which reverses a given string <var>str</var>.
</p>
<H2>Input</H2>
<p>
<var>str</var> (the size of <var>str</var> ≤ 20) is given in a line.
</p>
<H2>Output</H2>
<p>
Print the reversed <var>str</var> in a line.
</p>
<H2>Sample Input</H2>
<pre>
w32nimda
</pre>
<H2>Output for the Sample Input</H2>
<pre>
admin23w
</pre>
|
s638480244 | p00006 | Accepted | # coding: utf-8
# Your code here!
s = list(input())
s.reverse()
for i in range(len(s)):
print(s[i], end = "")
print("")
| w32nimda
| admin23w
|
<H1>Reverse Sequence</H1>
<p>
Write a program which reverses a given string <var>str</var>.
</p>
<H2>Input</H2>
<p>
<var>str</var> (the size of <var>str</var> ≤ 20) is given in a line.
</p>
<H2>Output</H2>
<p>
Print the reversed <var>str</var> in a line.
</p>
<H2>Sample Input</H2>
<pre>
w32nimda
</pre>
<H2>Output for the Sample Input</H2>
<pre>
admin23w
</pre>
|
s097637745 | p00006 | Accepted | str = input()
str1_list = list(reversed(str))
str1 = "".join(list(reversed(str)))
print(str1)
| w32nimda
| admin23w
|
<H1>Reverse Sequence</H1>
<p>
Write a program which reverses a given string <var>str</var>.
</p>
<H2>Input</H2>
<p>
<var>str</var> (the size of <var>str</var> ≤ 20) is given in a line.
</p>
<H2>Output</H2>
<p>
Print the reversed <var>str</var> in a line.
</p>
<H2>Sample Input</H2>
<pre>
w32nimda
</pre>
<H2>Output for the Sample Input</H2>
<pre>
admin23w
</pre>
|
s411674698 | p00006 | Accepted | x=input()
X=x[::-1]
print(X)
| w32nimda
| admin23w
|
<H1>Reverse Sequence</H1>
<p>
Write a program which reverses a given string <var>str</var>.
</p>
<H2>Input</H2>
<p>
<var>str</var> (the size of <var>str</var> ≤ 20) is given in a line.
</p>
<H2>Output</H2>
<p>
Print the reversed <var>str</var> in a line.
</p>
<H2>Sample Input</H2>
<pre>
w32nimda
</pre>
<H2>Output for the Sample Input</H2>
<pre>
admin23w
</pre>
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.