s_id
stringlengths 10
10
| p_id
stringlengths 6
6
| u_id
stringlengths 10
10
| date
stringlengths 10
10
| language
stringclasses 1
value | original_language
stringclasses 11
values | filename_ext
stringclasses 1
value | status
stringclasses 1
value | cpu_time
int64 0
100
| memory
stringlengths 4
6
| code_size
int64 15
14.7k
| code
stringlengths 15
14.7k
| problem_id
stringlengths 6
6
| problem_description
stringlengths 358
9.83k
| input
stringlengths 2
4.87k
| output
stringclasses 807
values | __index_level_0__
int64 1.1k
1.22M
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
s325098620
|
p00006
|
u858885710
|
1393833815
|
Python
|
Python
|
py
|
Accepted
| 10
|
4180
| 23
|
print raw_input()[::-1]
|
p00006
|
<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>
|
w32nimda
|
admin23w
| 4,302
|
s012943131
|
p00006
|
u193025715
|
1395277997
|
Python
|
Python
|
py
|
Accepted
| 10
|
4180
| 65
|
string = list(raw_input())
string.reverse()
print "".join(string)
|
p00006
|
<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>
|
w32nimda
|
admin23w
| 4,303
|
s722676958
|
p00006
|
u140201022
|
1395871490
|
Python
|
Python
|
py
|
Accepted
| 20
|
4176
| 23
|
print raw_input()[::-1]
|
p00006
|
<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>
|
w32nimda
|
admin23w
| 4,304
|
s771909228
|
p00006
|
u491763171
|
1396339162
|
Python
|
Python
|
py
|
Accepted
| 20
|
4176
| 23
|
print raw_input()[::-1]
|
p00006
|
<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>
|
w32nimda
|
admin23w
| 4,305
|
s893047702
|
p00006
|
u246033265
|
1396605275
|
Python
|
Python
|
py
|
Accepted
| 10
|
4176
| 23
|
print raw_input()[::-1]
|
p00006
|
<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>
|
w32nimda
|
admin23w
| 4,306
|
s946583590
|
p00006
|
u708217907
|
1397887299
|
Python
|
Python
|
py
|
Accepted
| 10
|
4180
| 23
|
print raw_input()[::-1]
|
p00006
|
<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>
|
w32nimda
|
admin23w
| 4,307
|
s278575411
|
p00006
|
u791201756
|
1397998545
|
Python
|
Python
|
py
|
Accepted
| 10
|
4184
| 30
|
s = raw_input()
print s[::-1]
|
p00006
|
<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>
|
w32nimda
|
admin23w
| 4,308
|
s235034307
|
p00006
|
u446235837
|
1398821145
|
Python
|
Python
|
py
|
Accepted
| 10
|
4184
| 30
|
a = raw_input()
print a[::-1]
|
p00006
|
<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>
|
w32nimda
|
admin23w
| 4,309
|
s571333863
|
p00006
|
u446235837
|
1398837650
|
Python
|
Python
|
py
|
Accepted
| 10
|
4176
| 23
|
print raw_input()[::-1]
|
p00006
|
<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>
|
w32nimda
|
admin23w
| 4,310
|
s895216069
|
p00006
|
u146816547
|
1398860537
|
Python
|
Python
|
py
|
Accepted
| 20
|
4184
| 29
|
s = raw_input()
print s[::-1]
|
p00006
|
<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>
|
w32nimda
|
admin23w
| 4,311
|
s873688661
|
p00006
|
u703196441
|
1399628512
|
Python
|
Python
|
py
|
Accepted
| 10
|
4180
| 50
|
l = list(raw_input())
l.reverse()
print "".join(l)
|
p00006
|
<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>
|
w32nimda
|
admin23w
| 4,312
|
s443857031
|
p00006
|
u436634575
|
1401128434
|
Python
|
Python3
|
py
|
Accepted
| 30
|
6724
| 20
|
print(input()[::-1])
|
p00006
|
<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>
|
w32nimda
|
admin23w
| 4,313
|
s828691280
|
p00006
|
u446235837
|
1403137941
|
Python
|
Python
|
py
|
Accepted
| 10
|
4176
| 23
|
print raw_input()[::-1]
|
p00006
|
<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>
|
w32nimda
|
admin23w
| 4,314
|
s173846223
|
p00006
|
u618672141
|
1403740041
|
Python
|
Python3
|
py
|
Accepted
| 30
|
6724
| 58
|
r = ''
str = input()
for c in str:
r = c + r
print(r)
|
p00006
|
<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>
|
w32nimda
|
admin23w
| 4,315
|
s536550085
|
p00006
|
u869208015
|
1597762752
|
Python
|
Python3
|
py
|
Accepted
| 30
|
6452
| 89
|
import re
a=input()
n=len(a)
s=0
for i in range(n):
print(a[n-1-i],end='')
print("")
|
p00006
|
<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>
|
w32nimda
|
admin23w
| 4,316
|
s422966807
|
p00006
|
u118506623
|
1597761113
|
Python
|
Python3
|
py
|
Accepted
| 20
|
5540
| 27
|
s = input()
print(s[::-1])
|
p00006
|
<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>
|
w32nimda
|
admin23w
| 4,317
|
s453957875
|
p00006
|
u371026526
|
1597758131
|
Python
|
Python3
|
py
|
Accepted
| 20
|
5540
| 27
|
x = input()
print(x[::-1])
|
p00006
|
<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>
|
w32nimda
|
admin23w
| 4,318
|
s156977281
|
p00006
|
u350481745
|
1597748513
|
Python
|
Python3
|
py
|
Accepted
| 20
|
5540
| 29
|
str=input()
print(str[::-1])
|
p00006
|
<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>
|
w32nimda
|
admin23w
| 4,319
|
s695323241
|
p00006
|
u322947441
|
1597732323
|
Python
|
Python3
|
py
|
Accepted
| 20
|
5536
| 61
|
m = str(input());
o = ''.join(list(reversed(m)));
print(o);
|
p00006
|
<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>
|
w32nimda
|
admin23w
| 4,320
|
s203982889
|
p00006
|
u799752967
|
1597728167
|
Python
|
Python3
|
py
|
Accepted
| 20
|
5536
| 47
|
n=list(input())
n.reverse()
print("".join(n))
|
p00006
|
<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>
|
w32nimda
|
admin23w
| 4,321
|
s638480244
|
p00006
|
u931484744
|
1597726321
|
Python
|
Python3
|
py
|
Accepted
| 20
|
5556
| 124
|
# coding: utf-8
# Your code here!
s = list(input())
s.reverse()
for i in range(len(s)):
print(s[i], end = "")
print("")
|
p00006
|
<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>
|
w32nimda
|
admin23w
| 4,322
|
s399000153
|
p00006
|
u470391435
|
1597679418
|
Python
|
Python3
|
py
|
Accepted
| 20
|
5548
| 34
|
a = input()
b = a[::-1]
print(b)
|
p00006
|
<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>
|
w32nimda
|
admin23w
| 4,323
|
s097637745
|
p00006
|
u140569607
|
1597673589
|
Python
|
Python3
|
py
|
Accepted
| 20
|
5544
| 94
|
str = input()
str1_list = list(reversed(str))
str1 = "".join(list(reversed(str)))
print(str1)
|
p00006
|
<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>
|
w32nimda
|
admin23w
| 4,324
|
s411674698
|
p00006
|
u976648183
|
1597672148
|
Python
|
Python3
|
py
|
Accepted
| 20
|
5548
| 29
|
x=input()
X=x[::-1]
print(X)
|
p00006
|
<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>
|
w32nimda
|
admin23w
| 4,325
|
s876198062
|
p00006
|
u709176169
|
1597669191
|
Python
|
Python3
|
py
|
Accepted
| 20
|
5548
| 25
|
n=input()
print(n[::-1])
|
p00006
|
<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>
|
w32nimda
|
admin23w
| 4,326
|
s003387013
|
p00006
|
u288578617
|
1597667516
|
Python
|
Python3
|
py
|
Accepted
| 20
|
5544
| 36
|
n=str(input())
m=n[::-1]
print(m)
|
p00006
|
<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>
|
w32nimda
|
admin23w
| 4,327
|
s780393226
|
p00006
|
u593595530
|
1597664558
|
Python
|
Python3
|
py
|
Accepted
| 20
|
5544
| 21
|
print(input()[::-1])
|
p00006
|
<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>
|
w32nimda
|
admin23w
| 4,328
|
s322835848
|
p00006
|
u257570657
|
1597636328
|
Python
|
Python3
|
py
|
Accepted
| 20
|
5564
| 104
|
a=[]
str=str(input())
for i in range(len(str)):
b=str[-(i+1)]
a.append(b)
a=''.join(a)
print(a)
|
p00006
|
<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>
|
w32nimda
|
admin23w
| 4,329
|
s853831403
|
p00006
|
u695386605
|
1597557219
|
Python
|
Python3
|
py
|
Accepted
| 20
|
5540
| 46
|
s = str(input())
s_new = s[::-1]
print(s_new)
|
p00006
|
<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>
|
w32nimda
|
admin23w
| 4,330
|
s230103786
|
p00006
|
u397004753
|
1597553105
|
Python
|
Python3
|
py
|
Accepted
| 20
|
5536
| 60
|
s = input()
ls = list(reversed(s))
r = "".join(ls)
print(r)
|
p00006
|
<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>
|
w32nimda
|
admin23w
| 4,331
|
s650084364
|
p00006
|
u919773430
|
1597405304
|
Python
|
Python3
|
py
|
Accepted
| 20
|
5548
| 34
|
l = []
a = input()
print(a[::-1])
|
p00006
|
<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>
|
w32nimda
|
admin23w
| 4,332
|
s305616878
|
p00006
|
u444626963
|
1597244678
|
Python
|
Python3
|
py
|
Accepted
| 20
|
5544
| 26
|
a=input()
print(a[::-1])
|
p00006
|
<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>
|
w32nimda
|
admin23w
| 4,333
|
s643032817
|
p00006
|
u695568874
|
1597205591
|
Python
|
Python3
|
py
|
Accepted
| 20
|
5560
| 114
|
n=str(input())
A=len(n)
N=list(n)
B=A//2
for i in range(B):
N[i],N[A-1-i]=N[A-1-i],N[i]
C=''.join(N)
print(C)
|
p00006
|
<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>
|
w32nimda
|
admin23w
| 4,334
|
s747272657
|
p00006
|
u874049078
|
1597124916
|
Python
|
Python3
|
py
|
Accepted
| 20
|
5544
| 71
|
#87 文字列反転
a = str(input())
rev_a = a[::-1]
print(rev_a)
|
p00006
|
<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>
|
w32nimda
|
admin23w
| 4,335
|
s077494381
|
p00006
|
u053015104
|
1596953291
|
Python
|
Python3
|
py
|
Accepted
| 20
|
5544
| 107
|
ans = ""
n = input()
for i in range(len(n)):
#print(n[len(n)-i-1])
ans += n[len(n)-i-1]
print(ans)
|
p00006
|
<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>
|
w32nimda
|
admin23w
| 4,336
|
s701887010
|
p00006
|
u037263780
|
1596873093
|
Python
|
Python3
|
py
|
Accepted
| 20
|
5536
| 46
|
s=list(input())
s.reverse()
print(''.join(s))
|
p00006
|
<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>
|
w32nimda
|
admin23w
| 4,337
|
s122896350
|
p00006
|
u996694149
|
1596733795
|
Python
|
Python3
|
py
|
Accepted
| 20
|
5540
| 21
|
print(input()[::-1])
|
p00006
|
<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>
|
w32nimda
|
admin23w
| 4,338
|
s249841509
|
p00006
|
u221550784
|
1596728114
|
Python
|
Python3
|
py
|
Accepted
| 20
|
5540
| 29
|
x=input()
X=x[::-1]
print(X)
|
p00006
|
<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>
|
w32nimda
|
admin23w
| 4,339
|
s365638939
|
p00006
|
u413704014
|
1596695751
|
Python
|
Python3
|
py
|
Accepted
| 20
|
5548
| 26
|
# 87
print(input()[::-1])
|
p00006
|
<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>
|
w32nimda
|
admin23w
| 4,340
|
s736974007
|
p00006
|
u392970366
|
1596680672
|
Python
|
Python3
|
py
|
Accepted
| 20
|
5560
| 137
|
import sys
def main():
s = sys.stdin.readline().strip()
rev_s = s[::-1]
print(rev_s)
if __name__ == '__main__':
main()
|
p00006
|
<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>
|
w32nimda
|
admin23w
| 4,341
|
s205170462
|
p00006
|
u309196579
|
1596613289
|
Python
|
Python3
|
py
|
Accepted
| 20
|
5556
| 137
|
import sys
def main():
s = sys.stdin.readline().strip()
rev_s = s[::-1]
print(rev_s)
if __name__ == '__main__':
main()
|
p00006
|
<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>
|
w32nimda
|
admin23w
| 4,342
|
s519337700
|
p00006
|
u251716708
|
1596599980
|
Python
|
Python3
|
py
|
Accepted
| 40
|
6452
| 89
|
import re
a=input()
n=len(a)
s=0
for i in range(n):
print(a[n-1-i],end='')
print("")
|
p00006
|
<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>
|
w32nimda
|
admin23w
| 4,343
|
s402763990
|
p00006
|
u988962397
|
1596510257
|
Python
|
Python3
|
py
|
Accepted
| 20
|
5556
| 144
|
n=list(input())
k=len(n)
for i in range(int(k/2)):
n[i],n[k-i-1]=n[k-i-1],n[i]
for i in range(k):
print(n[i], end="")
print("")
|
p00006
|
<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>
|
w32nimda
|
admin23w
| 4,344
|
s983256966
|
p00006
|
u677563181
|
1596504662
|
Python
|
Python3
|
py
|
Accepted
| 20
|
5540
| 21
|
print(input()[::-1])
|
p00006
|
<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>
|
w32nimda
|
admin23w
| 4,345
|
s787008748
|
p00006
|
u826807985
|
1596444175
|
Python
|
Python3
|
py
|
Accepted
| 20
|
5540
| 35
|
n = input()
rn = n[::-1]
print(rn)
|
p00006
|
<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>
|
w32nimda
|
admin23w
| 4,346
|
s716290838
|
p00006
|
u272062354
|
1596433879
|
Python
|
Python3
|
py
|
Accepted
| 20
|
5544
| 25
|
x=input()
print(x[::-1])
|
p00006
|
<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>
|
w32nimda
|
admin23w
| 4,347
|
s966806665
|
p00006
|
u635020217
|
1596432739
|
Python
|
Python3
|
py
|
Accepted
| 20
|
5552
| 74
|
# coding: utf-8
# Your code here!
tmp_str = input()
print(tmp_str[::-1])
|
p00006
|
<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>
|
w32nimda
|
admin23w
| 4,348
|
s694155504
|
p00006
|
u633358233
|
1596415083
|
Python
|
Python3
|
py
|
Accepted
| 20
|
5548
| 30
|
x=input()
a=x[::-1]
print(a)
|
p00006
|
<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>
|
w32nimda
|
admin23w
| 4,349
|
s327148854
|
p00006
|
u711365732
|
1596384041
|
Python
|
Python3
|
py
|
Accepted
| 20
|
5548
| 76
|
x = input()
for i in range(len(x)):
print(x[len(x)-i-1], end='')
print()
|
p00006
|
<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>
|
w32nimda
|
admin23w
| 4,350
|
s866059599
|
p00006
|
u926092389
|
1596350706
|
Python
|
Python3
|
py
|
Accepted
| 20
|
5548
| 33
|
str=input()
s=str[::-1]
print(s)
|
p00006
|
<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>
|
w32nimda
|
admin23w
| 4,351
|
s574966433
|
p00006
|
u512192552
|
1596094338
|
Python
|
Python3
|
py
|
Accepted
| 20
|
5548
| 65
|
# coding: utf-8
# Your code here!
n=str(input())
print(n[::-1])
|
p00006
|
<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>
|
w32nimda
|
admin23w
| 4,352
|
s390295469
|
p00006
|
u189528630
|
1596037507
|
Python
|
Python3
|
py
|
Accepted
| 20
|
5540
| 31
|
str = input()
print(str[::-1])
|
p00006
|
<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>
|
w32nimda
|
admin23w
| 4,353
|
s876693418
|
p00006
|
u290304811
|
1595931871
|
Python
|
Python3
|
py
|
Accepted
| 20
|
5532
| 54
|
str = list(input())
str.reverse()
print(*str,sep="")
|
p00006
|
<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>
|
w32nimda
|
admin23w
| 4,354
|
s703659732
|
p00006
|
u705625724
|
1595874329
|
Python
|
Python3
|
py
|
Accepted
| 20
|
5544
| 56
|
# coding: utf-8
# 87
s = input()
S=s[::-1]
print(S)
|
p00006
|
<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>
|
w32nimda
|
admin23w
| 4,355
|
s443594294
|
p00006
|
u838993229
|
1595842960
|
Python
|
Python3
|
py
|
Accepted
| 20
|
5544
| 57
|
a = str(input())
b = ''.join(list(reversed(a)))
print(b)
|
p00006
|
<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>
|
w32nimda
|
admin23w
| 4,356
|
s984307835
|
p00006
|
u586171604
|
1595827298
|
Python
|
Python3
|
py
|
Accepted
| 20
|
5544
| 83
|
str=input()
for i in range(len(str)):
print(str[len(str)-1-i],end='')
print()
|
p00006
|
<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>
|
w32nimda
|
admin23w
| 4,357
|
s002432323
|
p00006
|
u986283797
|
1595818611
|
Python
|
Python3
|
py
|
Accepted
| 20
|
5548
| 96
|
# -*- coding: utf-8 -*-
a=input()
b=""
for i in range(len(a)):
b+=a[len(a)-i-1]
print(b)
|
p00006
|
<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>
|
w32nimda
|
admin23w
| 4,358
|
s694500210
|
p00006
|
u253463111
|
1595814879
|
Python
|
Python3
|
py
|
Accepted
| 20
|
5548
| 25
|
a=input()
print(a[::-1])
|
p00006
|
<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>
|
w32nimda
|
admin23w
| 4,359
|
s959957208
|
p00006
|
u555228137
|
1595793530
|
Python
|
Python3
|
py
|
Accepted
| 20
|
5540
| 29
|
str=input()
print(str[::-1])
|
p00006
|
<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>
|
w32nimda
|
admin23w
| 4,360
|
s731143999
|
p00006
|
u630948380
|
1595775842
|
Python
|
Python3
|
py
|
Accepted
| 20
|
5540
| 55
|
L=str(input())
L= ''.join(list(reversed(L)))
print(L)
|
p00006
|
<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>
|
w32nimda
|
admin23w
| 4,361
|
s767020131
|
p00006
|
u795882061
|
1595684216
|
Python
|
Python3
|
py
|
Accepted
| 20
|
5544
| 38
|
str = input()
r = str[::-1]
print(r)
|
p00006
|
<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>
|
w32nimda
|
admin23w
| 4,362
|
s885763586
|
p00006
|
u596129030
|
1595601816
|
Python
|
Python3
|
py
|
Accepted
| 20
|
5544
| 25
|
s=input()
print(s[::-1])
|
p00006
|
<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>
|
w32nimda
|
admin23w
| 4,363
|
s899619409
|
p00006
|
u895962529
|
1595508478
|
Python
|
Python3
|
py
|
Accepted
| 20
|
5540
| 56
|
str=input()
ans=reversed(list(str))
print(''.join(ans))
|
p00006
|
<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>
|
w32nimda
|
admin23w
| 4,364
|
s459605101
|
p00006
|
u350963229
|
1595302196
|
Python
|
Python3
|
py
|
Accepted
| 20
|
5540
| 31
|
n=str(input())
print(n[::-1])
|
p00006
|
<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>
|
w32nimda
|
admin23w
| 4,365
|
s170422867
|
p00006
|
u275486335
|
1595292792
|
Python
|
Python3
|
py
|
Accepted
| 20
|
5548
| 21
|
print(input()[::-1])
|
p00006
|
<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>
|
w32nimda
|
admin23w
| 4,366
|
s009491465
|
p00006
|
u171326376
|
1595252329
|
Python
|
Python3
|
py
|
Accepted
| 20
|
5540
| 37
|
STR = input()
a = STR[::-1]
print(a)
|
p00006
|
<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>
|
w32nimda
|
admin23w
| 4,367
|
s809541120
|
p00006
|
u511292942
|
1595221772
|
Python
|
Python3
|
py
|
Accepted
| 20
|
5548
| 80
|
s = input()
n = len(s)
for i in range(n):
print(s[n-i-1], end="")
print("")
|
p00006
|
<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>
|
w32nimda
|
admin23w
| 4,368
|
s012528208
|
p00006
|
u192469946
|
1594641947
|
Python
|
Python3
|
py
|
Accepted
| 20
|
5540
| 63
|
#0006
x = str(input())
y = ''.join(list(reversed(x)))
print(y)
|
p00006
|
<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>
|
w32nimda
|
admin23w
| 4,369
|
s452330919
|
p00006
|
u991830357
|
1594196764
|
Python
|
Python3
|
py
|
Accepted
| 20
|
5544
| 56
|
a=input()
b=[]
b=list(a)
b.reverse()
print(''.join(b))
|
p00006
|
<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>
|
w32nimda
|
admin23w
| 4,370
|
s830502649
|
p00006
|
u173393391
|
1594126944
|
Python
|
Python3
|
py
|
Accepted
| 20
|
5544
| 25
|
n=input()
print(n[::-1])
|
p00006
|
<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>
|
w32nimda
|
admin23w
| 4,371
|
s041377462
|
p00006
|
u647921435
|
1593757581
|
Python
|
Python3
|
py
|
Accepted
| 20
|
5548
| 29
|
x=input()
X=x[::-1]
print(X)
|
p00006
|
<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>
|
w32nimda
|
admin23w
| 4,372
|
s753682965
|
p00006
|
u583329397
|
1593439207
|
Python
|
Python3
|
py
|
Accepted
| 20
|
5548
| 27
|
s = input()
print(s[::-1])
|
p00006
|
<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>
|
w32nimda
|
admin23w
| 4,373
|
s103172909
|
p00006
|
u320921262
|
1593334605
|
Python
|
Python3
|
py
|
Accepted
| 20
|
5540
| 73
|
a=str(input())
b=list(reversed(a))
c=''.join(list(reversed(a)))
print(c)
|
p00006
|
<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>
|
w32nimda
|
admin23w
| 4,374
|
s429671623
|
p00006
|
u057249340
|
1593162379
|
Python
|
Python3
|
py
|
Accepted
| 20
|
5548
| 25
|
x=input()
print(x[::-1])
|
p00006
|
<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>
|
w32nimda
|
admin23w
| 4,375
|
s792121927
|
p00006
|
u128671689
|
1592816327
|
Python
|
Python3
|
py
|
Accepted
| 20
|
5548
| 59
|
a=input()
for ch in a[::-1]:
print(ch,end='')
print()
|
p00006
|
<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>
|
w32nimda
|
admin23w
| 4,376
|
s157531467
|
p00006
|
u395654950
|
1592802141
|
Python
|
Python3
|
py
|
Accepted
| 20
|
5560
| 126
|
# coding: utf-8
# Your code here!
s = list(input())
s.reverse()
for i in range(len(s)):
print(s[i], end = "")
print("")
|
p00006
|
<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>
|
w32nimda
|
admin23w
| 4,377
|
s296894108
|
p00006
|
u862272701
|
1592747370
|
Python
|
Python3
|
py
|
Accepted
| 20
|
5544
| 53
|
s = input()
x = ''.join(list(reversed(s)))
print(x)
|
p00006
|
<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>
|
w32nimda
|
admin23w
| 4,378
|
s909060046
|
p00006
|
u940828136
|
1592583578
|
Python
|
Python3
|
py
|
Accepted
| 20
|
5548
| 53
|
str=list(input())
rstr=str[::-1]
print(*rstr,sep='')
|
p00006
|
<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>
|
w32nimda
|
admin23w
| 4,379
|
s101696092
|
p00006
|
u187074069
|
1592369180
|
Python
|
Python3
|
py
|
Accepted
| 20
|
5540
| 29
|
st = input()
print(st[::-1])
|
p00006
|
<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>
|
w32nimda
|
admin23w
| 4,380
|
s526816134
|
p00006
|
u412088763
|
1592128086
|
Python
|
Python3
|
py
|
Accepted
| 30
|
5544
| 31
|
a=input()
b=a[ : :-1]
print(b)
|
p00006
|
<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>
|
w32nimda
|
admin23w
| 4,381
|
s886184989
|
p00006
|
u994684803
|
1592033938
|
Python
|
Python3
|
py
|
Accepted
| 20
|
5540
| 44
|
a = str(input())
ans = a[::-1]
print(ans)
|
p00006
|
<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>
|
w32nimda
|
admin23w
| 4,382
|
s180034050
|
p00006
|
u228556128
|
1591503120
|
Python
|
Python3
|
py
|
Accepted
| 20
|
5548
| 25
|
n=input()
print(n[::-1])
|
p00006
|
<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>
|
w32nimda
|
admin23w
| 4,383
|
s803074391
|
p00006
|
u245861861
|
1591497058
|
Python
|
Python3
|
py
|
Accepted
| 20
|
5544
| 45
|
print(''.join(list(reversed(input()))))
|
p00006
|
<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>
|
w32nimda
|
admin23w
| 4,384
|
s165569367
|
p00006
|
u240091169
|
1591000462
|
Python
|
Python3
|
py
|
Accepted
| 20
|
5536
| 50
|
s = list(input())
s.reverse()
print(*s, sep = "")
|
p00006
|
<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>
|
w32nimda
|
admin23w
| 4,385
|
s860649584
|
p00006
|
u747915832
|
1590251184
|
Python
|
Python3
|
py
|
Accepted
| 20
|
5556
| 116
|
Str = input()
Str = list(Str)
STR = []
for i in range(len(Str)-1,-1,-1):
STR.append(Str[i])
print(''.join(STR))
|
p00006
|
<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>
|
w32nimda
|
admin23w
| 4,386
|
s789088249
|
p00006
|
u037441960
|
1589440244
|
Python
|
Python3
|
py
|
Accepted
| 20
|
5556
| 163
|
S = input()
cnt = -1
for i in range(len(S)) :
if i == len(S) - 1 :
print(S[0])
else :
print(S[cnt], sep = "", end = "")
cnt -= 1
|
p00006
|
<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>
|
w32nimda
|
admin23w
| 4,387
|
s001538502
|
p00006
|
u014861569
|
1588965464
|
Python
|
Python3
|
py
|
Accepted
| 20
|
5544
| 44
|
n=list(input())
y=n[::-1]
print(''.join(y))
|
p00006
|
<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>
|
w32nimda
|
admin23w
| 4,388
|
s731747705
|
p00006
|
u260980560
|
1588728261
|
Python
|
Python3
|
py
|
Accepted
| 20
|
5532
| 34
|
print(*reversed(input()), sep='')
|
p00006
|
<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>
|
w32nimda
|
admin23w
| 4,389
|
s630010108
|
p00006
|
u842461513
|
1588299478
|
Python
|
Python3
|
py
|
Accepted
| 20
|
5564
| 118
|
lstr = input()
str = [a for a in lstr]
str.reverse()
for num in range(0,len(str)):
print(str[num],end="")
print()
|
p00006
|
<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>
|
w32nimda
|
admin23w
| 4,390
|
s902096472
|
p00006
|
u235330043
|
1588087997
|
Python
|
Python3
|
py
|
Accepted
| 20
|
5548
| 21
|
print(input()[::-1])
|
p00006
|
<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>
|
w32nimda
|
admin23w
| 4,391
|
s096463421
|
p00006
|
u713674793
|
1586598763
|
Python
|
Python3
|
py
|
Accepted
| 20
|
5540
| 33
|
a = input()
a = a[::-1]
print(a)
|
p00006
|
<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>
|
w32nimda
|
admin23w
| 4,392
|
s507185633
|
p00006
|
u230927103
|
1586361866
|
Python
|
Python3
|
py
|
Accepted
| 20
|
5544
| 89
|
s = input()
r = ''
for __ in reversed(range(len(s))):
print(s[__], end = '')
print()
|
p00006
|
<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>
|
w32nimda
|
admin23w
| 4,393
|
s602780423
|
p00006
|
u072053884
|
1585301327
|
Python
|
Python3
|
py
|
Accepted
| 20
|
5544
| 21
|
print(input()[::-1])
|
p00006
|
<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>
|
w32nimda
|
admin23w
| 4,394
|
s424277446
|
p00006
|
u490578380
|
1584689410
|
Python
|
Python3
|
py
|
Accepted
| 20
|
5536
| 61
|
sList = list(input())
sList.reverse()
print(''.join(sList))
|
p00006
|
<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>
|
w32nimda
|
admin23w
| 4,395
|
s197992481
|
p00006
|
u123017074
|
1584577878
|
Python
|
Python3
|
py
|
Accepted
| 20
|
5540
| 64
|
line = input()
line = list(reversed(line))
print(*line, sep="")
|
p00006
|
<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>
|
w32nimda
|
admin23w
| 4,396
|
s828519355
|
p00006
|
u808372529
|
1583733763
|
Python
|
Python3
|
py
|
Accepted
| 20
|
5544
| 27
|
s = input()
print(s[::-1])
|
p00006
|
<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>
|
w32nimda
|
admin23w
| 4,397
|
s507416882
|
p00006
|
u642972715
|
1582170765
|
Python
|
Python3
|
py
|
Accepted
| 20
|
5540
| 51
|
str = input()
print(''.join(list(reversed(str))))
|
p00006
|
<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>
|
w32nimda
|
admin23w
| 4,398
|
s464643517
|
p00006
|
u813197825
|
1579653454
|
Python
|
Python3
|
py
|
Accepted
| 20
|
5540
| 27
|
s = input()
print(s[::-1])
|
p00006
|
<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>
|
w32nimda
|
admin23w
| 4,399
|
s659539917
|
p00006
|
u011621222
|
1577868854
|
Python
|
Python3
|
py
|
Accepted
| 20
|
5532
| 51
|
print(''.join(reversed(input())))#????????????????
|
p00006
|
<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>
|
w32nimda
|
admin23w
| 4,400
|
s378149662
|
p00006
|
u153447291
|
1577532150
|
Python
|
Python3
|
py
|
Accepted
| 20
|
5544
| 21
|
print(input()[::-1])
|
p00006
|
<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>
|
w32nimda
|
admin23w
| 4,401
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.