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
s551470230
p00006
u175111751
1478702593
Python
Python3
py
Accepted
20
7260
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> &le; 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,102
s296608386
p00006
u660912567
1478731070
Python
Python3
py
Accepted
20
7344
39
print(''.join(reversed(list(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> &le; 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,103
s743364814
p00006
u922871577
1479279005
Python
Python
py
Accepted
10
6344
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> &le; 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,104
s613786062
p00006
u919202930
1479346803
Python
Python3
py
Accepted
20
7276
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> &le; 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,105
s505772194
p00006
u328069918
1479474771
Python
Python3
py
Accepted
20
7268
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> &le; 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,106
s786494940
p00006
u779577827
1479475016
Python
Python3
py
Accepted
20
7328
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> &le; 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,107
s420802892
p00006
u542645301
1479479857
Python
Python3
py
Accepted
20
7388
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> &le; 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,108
s179423047
p00006
u123687446
1480656249
Python
Python3
py
Accepted
30
7288
26
w = input() print(w[::-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> &le; 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,109
s547866993
p00006
u301729341
1480923292
Python
Python3
py
Accepted
20
7308
30
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> &le; 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,110
s852445645
p00006
u811733736
1481151310
Python
Python3
py
Accepted
30
7328
145
if __name__ == '__main__': # ???????????\??? txt = input() # ?????¢?????? txt = txt[::-1] # ??????????????? print(txt)
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> &le; 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,111
s831639433
p00006
u661290476
1481180564
Python
Python3
py
Accepted
20
7328
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> &le; 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,112
s436095844
p00006
u546285759
1481425547
Python
Python3
py
Accepted
20
7300
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> &le; 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,113
s383901957
p00006
u435300817
1481425613
Python
Python3
py
Accepted
20
7276
102
import sys str_sequence = input() if len(str_sequence) > 20: sys.exit(1) print(str_sequence[::-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> &le; 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,114
s100431641
p00006
u661290476
1483002475
Python
Python3
py
Accepted
20
7324
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> &le; 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,115
s726268918
p00006
u078042885
1483419630
Python
Python3
py
Accepted
20
7328
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> &le; 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,116
s050179179
p00006
u711765449
1483623935
Python
Python3
py
Accepted
20
7276
173
# -*- coding:utf-8 -*- 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('')
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> &le; 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,117
s282020143
p00006
u920278525
1483805463
Python
Python3
py
Accepted
30
7324
40
str = input() kai = str[::-1] print(kai)
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> &le; 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,118
s669014537
p00006
u745277023
1484376424
Python
Python3
py
Accepted
20
7404
31
import sys 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> &le; 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,119
s238507740
p00006
u745277023
1484376584
Python
Python3
py
Accepted
20
7260
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> &le; 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,120
s144455139
p00006
u745277023
1484376648
Python
Python3
py
Accepted
20
7324
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> &le; 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,121
s947919396
p00006
u745277023
1484376680
Python
Python3
py
Accepted
30
7312
49
a = 1 while a: print(input()[::-1]) a = 0
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> &le; 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,122
s007956090
p00006
u252414452
1485182652
Python
Python
py
Accepted
10
6348
35
line = raw_input() print line[::-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> &le; 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,123
s956417942
p00006
u519227872
1486468707
Python
Python3
py
Accepted
20
7260
30
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> &le; 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,124
s670178740
p00006
u052758509
1486711113
Python
Python3
py
Accepted
30
7364
199
def rev_str(ls): rev = [] rev += ls[::-1] return rev if __name__ == '__main__': inp = input() inpls = list(inp) oupls = rev_str(inpls) oup = ''.join(oupls) print(oup)
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> &le; 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,125
s916957127
p00006
u301461168
1487774626
Python
Python3
py
Accepted
20
7408
120
in_str = input().rstrip() out_str = "" for i in range(len(in_str)): out_str = in_str[i] + out_str print(out_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> &le; 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,126
s089970694
p00006
u072398496
1488683212
Python
Python
py
Accepted
10
6240
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> &le; 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,127
s892246673
p00006
u072398496
1488683362
Python
Python3
py
Accepted
20
7304
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> &le; 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,128
s758526449
p00006
u901080241
1488950772
Python
Python3
py
Accepted
30
7220
84
st = input() ans = "" for i in range(len(st)): ans += st[len(st)-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> &le; 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,129
s299892815
p00006
u459418423
1488982012
Python
Python3
py
Accepted
20
7296
111
#!/usr/bin/env python # -*- coding: utf-8 -*- import sys line = sys.stdin.readline().strip() print(line[::-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> &le; 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,130
s231121697
p00006
u459418423
1488982195
Python
Python3
py
Accepted
20
7420
98
#!/usr/bin/env python # -*- coding: utf-8 -*- import sys print(sys.stdin.readline().strip()[::-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> &le; 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,131
s069674977
p00006
u810591206
1489037981
Python
Python3
py
Accepted
20
7212
26
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> &le; 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,132
s125410991
p00006
u170105607
1489128874
Python
Python3
py
Accepted
20
7292
32
line = input() print(line[::-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> &le; 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,133
s597575976
p00006
u897625141
1489401203
Python
Python3
py
Accepted
30
7276
34
line = input() print(line[-1::-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> &le; 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,134
s104421138
p00006
u318658123
1489406925
Python
Python3
py
Accepted
20
7292
32
line = input() print(line[::-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> &le; 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,135
s747178290
p00006
u011621222
1490021175
Python
Python
py
Accepted
10
6416
59
a=raw_input() print a[-1::-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> &le; 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,136
s406872319
p00006
u623894175
1490415648
Python
Python3
py
Accepted
20
7336
53
str = list(input()) str.reverse() 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> &le; 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,137
s507282284
p00006
u073709667
1490542883
Python
Python3
py
Accepted
30
7300
81
words=input() for i in range(1,len(words)+1): print(words[-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> &le; 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,138
s083866857
p00006
u036236649
1490595918
Python
Python3
py
Accepted
20
7344
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> &le; 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,139
s681192615
p00006
u728901930
1490778723
Python
Python3
py
Accepted
30
7408
219
import sys def gcd(a,b): a,b=max(a,b),min(a,b) while a%b: a,b=b,a%b return b def lcm(a,b): return a//gcd(a,b)*b s=input() print(s[::-1]) #for i in sys.stdin: # a,b=map(int,i.split()) # print(gcd(a,b),lcm(a,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> &le; 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,140
s748579134
p00006
u518711553
1491489703
Python
Python3
py
Accepted
30
7900
91
from functools import reduce from operator import add print(reduce(add, 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> &le; 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,141
s630643986
p00006
u318910474
1491521181
Python
Python3
py
Accepted
20
7220
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> &le; 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,142
s315215660
p00006
u307520683
1491893798
Python
Python
py
Accepted
10
6224
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> &le; 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,143
s306479234
p00006
u868716420
1492393907
Python
Python3
py
Accepted
30
7252
22
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> &le; 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,144
s958661913
p00006
u462831976
1492547903
Python
Python3
py
Accepted
20
7392
82
# -*- coding: utf-8 -*- import sys import os s = input().strip() 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> &le; 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,145
s162558047
p00006
u000317780
1493789610
Python
Python3
py
Accepted
30
7348
132
import sys def main(): for line in sys.stdin: print(line.rstrip()[::-1]) 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> &le; 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,146
s034964590
p00006
u362104929
1494592115
Python
Python3
py
Accepted
20
7420
30
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> &le; 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,147
s982780018
p00006
u123596571
1494761945
Python
Python3
py
Accepted
30
7288
34
chara = input() print(chara[::-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> &le; 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,148
s046912231
p00006
u327704389
1494893969
Python
Python3
py
Accepted
20
7356
136
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> &le; 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,149
s577886866
p00006
u717959831
1494898223
Python
Python3
py
Accepted
50
10020
91
import sys import fractions for line in sys.stdin: s = line.strip() 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> &le; 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,150
s862577093
p00006
u231802041
1495796099
Python
Python
py
Accepted
10
6208
63
s = [] for i in raw_input(): s.insert(0,i) 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> &le; 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,151
s819632074
p00006
u071308538
1495937621
Python
Python3
py
Accepted
30
7312
78
import sys if __name__ == "__main__": 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> &le; 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,152
s460610892
p00006
u922489088
1496049115
Python
Python3
py
Accepted
30
7300
66
import sys data = sys.stdin.readline().rstrip() print(data[::-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> &le; 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,153
s043100113
p00006
u905313459
1496060495
Python
Python3
py
Accepted
20
7384
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> &le; 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,154
s351498229
p00006
u421983421
1496061847
Python
Python
py
Accepted
10
6236
84
s = raw_input() ans = '' for i in range(0, len(s)): ans = ans + s[-1-i] 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> &le; 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,155
s192518167
p00006
u440180827
1496889937
Python
Python3
py
Accepted
20
7324
26
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> &le; 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,156
s201119817
p00006
u440180827
1496890012
Python
Python3
py
Accepted
30
7372
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> &le; 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,157
s670237660
p00006
u440180827
1496890043
Python
Python3
py
Accepted
20
7316
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> &le; 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,158
s428018367
p00006
u928051788
1497930651
Python
Python3
py
Accepted
20
7320
27
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> &le; 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,159
s502028327
p00006
u600821328
1499945119
Python
Python3
py
Accepted
20
7388
134
#!/usr/bin/env python3 # -*- coding: utf-8 -*- def main(): print("".join(reversed(input()))) 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> &le; 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,160
s889782986
p00006
u184989919
1500120963
Python
Python3
py
Accepted
20
7512
101
def ReverseSequence(): str = input() print(str[::-1]) ReverseSequence()
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> &le; 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,161
s205556518
p00006
u846408447
1500211942
Python
Python3
py
Accepted
20
7304
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> &le; 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,162
s954004692
p00006
u806182843
1500212024
Python
Python3
py
Accepted
20
7464
76
def main(): s = input() print(s[::-1]) 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> &le; 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,163
s977431316
p00006
u546285759
1500621787
Python
Python3
py
Accepted
20
7244
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> &le; 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,164
s020576178
p00006
u503263570
1501135322
Python
Python3
py
Accepted
30
7424
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> &le; 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,165
s337014509
p00006
u503263570
1501135334
Python
Python3
py
Accepted
20
7308
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> &le; 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,166
s451333931
p00006
u503263570
1501135342
Python
Python3
py
Accepted
20
7356
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> &le; 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,167
s369027448
p00006
u498511622
1501136214
Python
Python3
py
Accepted
20
7328
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> &le; 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,168
s416678952
p00006
u350064373
1501481940
Python
Python3
py
Accepted
20
7320
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> &le; 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,169
s264267488
p00006
u354053070
1501902422
Python
Python3
py
Accepted
20
7292
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> &le; 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,170
s863394208
p00006
u821624310
1502529129
Python
Python3
py
Accepted
20
7336
26
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> &le; 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,171
s789594839
p00006
u267909338
1502849179
Python
Python3
py
Accepted
20
7420
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> &le; 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,172
s525149828
p00006
u584777171
1502934199
Python
Python3
py
Accepted
30
7396
85
str = input() l = len(str) for i in range(l): print(str[l-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> &le; 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,173
s341369939
p00006
u988834390
1502956276
Python
Python3
py
Accepted
20
7344
84
s=input() for i in range(len(s)): print(s[len(s)-i-1],end='') print('\n',end='')
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> &le; 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,174
s006734539
p00006
u027634846
1503098575
Python
Python3
py
Accepted
30
7328
28
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> &le; 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,175
s683558823
p00006
u193453446
1503472208
Python
Python3
py
Accepted
20
7400
85
def main(): s = input() print(s[::-1]) 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> &le; 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,176
s628421559
p00006
u264972437
1503652746
Python
Python3
py
Accepted
30
7388
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> &le; 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,177
s981265820
p00006
u508732591
1503816855
Python
Python3
py
Accepted
20
7464
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> &le; 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,178
s626164660
p00006
u428982301
1503886454
Python
Python3
py
Accepted
30
7380
28
v = input() print(v[::-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> &le; 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,179
s011093049
p00006
u234052535
1504020413
Python
Python3
py
Accepted
20
7304
114
# coding: utf-8 line = input() for k in range(0, len(line)): print(line[len(line) - k - 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> &le; 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,180
s355708318
p00006
u855694108
1504103489
Python
Python3
py
Accepted
20
7284
154
def main(): s = list(input()) for x in range(len(s) - 1, -1, -1): print(s[x], end = "") print() 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> &le; 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,181
s669739941
p00006
u299798926
1504508551
Python
Python3
py
Accepted
20
7396
94
a=[ i for i in input()] for i in reversed(range(1,len(a))): print(a[i],end="") print(a[0])
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> &le; 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,182
s281380709
p00006
u957021183
1504683950
Python
Python3
py
Accepted
30
7484
203
# 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])
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> &le; 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,183
s674608568
p00006
u741801763
1505743408
Python
Python3
py
Accepted
30
7348
80
if __name__ == "__main__": a = input().strip().split()[0] 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> &le; 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,184
s932505002
p00006
u933096856
1505799704
Python
Python3
py
Accepted
20
7420
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> &le; 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,185
s498118603
p00006
u933096856
1505799727
Python
Python
py
Accepted
10
6396
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> &le; 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,186
s522722325
p00006
u197615397
1506156477
Python
Python3
py
Accepted
30
7336
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> &le; 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,187
s586348361
p00006
u531482846
1506204830
Python
Python3
py
Accepted
20
7428
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> &le; 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,188
s075690183
p00006
u506705885
1506438063
Python
Python3
py
Accepted
20
7340
28
ans=input() print(ans[::-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> &le; 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,189
s111349618
p00006
u336055029
1507043688
Python
Python
py
Accepted
10
6284
38
s = raw_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> &le; 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,190
s416598460
p00006
u742505495
1507705297
Python
Python3
py
Accepted
30
7396
58
import math import sys lines = input() print(lines[::-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> &le; 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,191
s449337119
p00006
u197670577
1508421732
Python
Python
py
Accepted
10
6344
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> &le; 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,192
s179007378
p00006
u422087503
1508811418
Python
Python3
py
Accepted
30
7288
90
import sys s = input() for i in range(len(s)): sys.stdout.write(s[len(s)-i-1]) 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> &le; 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,193
s549197951
p00006
u926657458
1508958876
Python
Python3
py
Accepted
20
7428
29
print(input().rstrip()[::-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> &le; 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,194
s127093588
p00006
u424041287
1509112666
Python
Python3
py
Accepted
20
7344
49
alpha = input() alpha = alpha[::-1] print (alpha)
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> &le; 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,195
s265429640
p00006
u914007790
1509346788
Python
Python3
py
Accepted
30
7356
64
a = list(input()) for i in a[::-1]: print(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> &le; 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,196
s912364006
p00006
u914007790
1509347042
Python
Python3
py
Accepted
20
7348
47
a = list(input()) a.reverse() print(''.join(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> &le; 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,197
s799046508
p00006
u086896364
1509809183
Python
Python3
py
Accepted
20
7360
146
input_line1 = input() length = len(input_line1) result = '' for i in range(length): result += input_line1[(i * -1)-1] print(result)
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> &le; 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,198
s193625518
p00006
u776758454
1510676042
Python
Python3
py
Accepted
20
7428
39
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> &le; 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,199
s401238891
p00006
u917432951
1510723189
Python
Python3
py
Accepted
20
7452
63
if __name__ == '__main__': 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> &le; 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,200
s185604218
p00006
u488038316
1510919464
Python
Python3
py
Accepted
20
7416
142
# -*-coding:utf-8 #????????????????????§??¨??? def main(): line = input() print(line[::-1]) 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> &le; 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,201