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
s929532127
p00006
u630911389
1576653286
Python
Python3
py
Accepted
20
5544
78
while 1: try: str = input() except:break 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,402
s235250477
p00006
u697145890
1575722143
Python
Python3
py
Accepted
30
6332
294
import heapq from collections import deque from enum import Enum import sys import math from _heapq import heappush, heappop import copy BIG_NUM = 2000000000 HUGE_NUM = 99999999999999999 MOD = 1000000007 EPS = 0.000000001 sys.setrecursionlimit(100000) 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> &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,403
s263959882
p00006
u297517978
1573380460
Python
Python3
py
Accepted
20
5548
43
A=[print(input()[::-1]) for i in range(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,404
s078155834
p00006
u933957884
1572688844
Python
Python3
py
Accepted
20
5540
36
print("".join(list(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,405
s981988646
p00006
u803862921
1570542458
Python
Python3
py
Accepted
20
5540
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,406
s024162319
p00006
u629170852
1568301583
Python
Python3
py
Accepted
20
5548
64
import sys s=input() out='' for i in s: out=i+out print(out)
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,407
s649730075
p00006
u824708460
1566136860
Python
Python3
py
Accepted
20
5540
28
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,408
s144027386
p00006
u074302614
1565046939
Python
Python3
py
Accepted
20
5532
50
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,409
s369321362
p00006
u586792237
1564929076
Python
Python3
py
Accepted
20
5544
30
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> &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,410
s828005006
p00006
u455877373
1564926220
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> &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,411
s115273171
p00006
u939401108
1564925053
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> &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,412
s000197479
p00006
u821561321
1564922266
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> &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,413
s306294489
p00006
u433250944
1564907677
Python
Python3
py
Accepted
20
5544
37
l = str(input()) m= l[::-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> &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,414
s954411045
p00006
u800408401
1564848690
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> &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,415
s867357996
p00006
u312033355
1564726586
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> &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,416
s042725503
p00006
u525395303
1564626288
Python
Python3
py
Accepted
20
5540
82
# AOJ 0006 Reverse Sequence # Python3 2018.6.7 bal4u 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,417
s243253271
p00006
u212392281
1564581836
Python
Python3
py
Accepted
20
5544
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,418
s076848668
p00006
u529337794
1564578480
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> &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,419
s072894149
p00006
u678843586
1563940732
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> &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,420
s465843491
p00006
u013648252
1563673390
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> &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,421
s803920591
p00006
u001166815
1563505189
Python
Python3
py
Accepted
20
5540
35
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,422
s803202157
p00006
u480501638
1562565436
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> &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,423
s225566215
p00006
u607723579
1562565393
Python
Python3
py
Accepted
20
5548
27
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> &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,424
s316661019
p00006
u427219397
1562565393
Python
Python3
py
Accepted
20
5540
23
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,425
s151517833
p00006
u997476941
1562565316
Python
Python3
py
Accepted
20
5560
167
def reverseString(s): return s[::-1] while True: try: s = str(input()) s = reverseString(s) print(s) except: break
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,426
s722229837
p00006
u313600138
1562562968
Python
Python3
py
Accepted
20
5548
26
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> &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,427
s896547843
p00006
u051789695
1562042556
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> &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,428
s695483637
p00006
u264450287
1560750132
Python
Python3
py
Accepted
20
5548
29
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> &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,429
s545179657
p00006
u614095715
1560528307
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> &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,430
s364606946
p00006
u108130680
1560358799
Python
Python3
py
Accepted
20
5536
40
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,431
s218401781
p00006
u548252256
1560103011
Python
Python3
py
Accepted
20
5548
51
if __name__ == '__main__': 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,432
s142240942
p00006
u506537276
1559975253
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> &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,433
s226164374
p00006
u923573620
1559887184
Python
Python3
py
Accepted
20
5548
60
str = input() str_reverse = str[::-1] print(str_reverse)
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,434
s364079198
p00006
u030516605
1557887159
Python
Python3
py
Accepted
20
5552
75
import sys str = "" for l in sys.stdin: str = l print(str[-2::-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,435
s534287306
p00006
u904226154
1557214275
Python
Python3
py
Accepted
20
5560
119
chars = list(input()) outLen = "" for i in range(1, len(chars) + 1): outLen = outLen + chars[i * -1] print(outLen)
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,436
s525167816
p00006
u406093358
1555462742
Python
Python
py
Accepted
0
4620
83
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,437
s418919047
p00006
u761923615
1554783315
Python
Python3
py
Accepted
20
5544
31
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> &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,438
s198555438
p00006
u647694976
1554692771
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> &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,439
s869719449
p00006
u888548672
1554520437
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> &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,440
s042304513
p00006
u625806423
1552922610
Python
Python3
py
Accepted
20
5540
40
strings = input() print(strings[::-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,441
s896330259
p00006
u990228206
1551163614
Python
Python3
py
Accepted
20
5544
30
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> &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,442
s135985276
p00006
u195186080
1550730601
Python
Python3
py
Accepted
20
5540
37
string = input() print(string[::-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,443
s591399247
p00006
u733798831
1550493340
Python
Python3
py
Accepted
20
5544
43
S="" for i in input(): S=i+S 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,444
s398185107
p00006
u350155409
1547290533
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> &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,445
s467378391
p00006
u689047545
1547015231
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> &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,446
s514331580
p00006
u921810101
1544868129
Python
Python3
py
Accepted
20
5536
40
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,447
s942153080
p00006
u291570764
1543881465
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> &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,448
s951682221
p00006
u080014366
1543846131
Python
Python3
py
Accepted
20
5544
43
s=input() new_str = s[::-1] print(new_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,449
s502657321
p00006
u606639970
1543834455
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> &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,450
s087042208
p00006
u573115711
1543329173
Python
Python3
py
Accepted
20
5544
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,451
s587584462
p00006
u205574338
1542524243
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> &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,452
s811327603
p00006
u563075864
1542093700
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> &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,453
s161947124
p00006
u221424603
1542040587
Python
Python3
py
Accepted
20
5560
153
moji=str(input()) mojiretu=[] for i in moji: mojiretu.append(i) for j in reversed(range(0,len(mojiretu))): print(mojiretu[j],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,454
s143210949
p00006
u067299340
1542017993
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> &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,455
s630452178
p00006
u717526540
1541579516
Python
Python3
py
Accepted
20
5544
29
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,456
s853781728
p00006
u317583692
1539618236
Python
Python3
py
Accepted
20
5548
33
S = str(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,457
s082707492
p00006
u219940997
1537191644
Python
Python3
py
Accepted
20
5548
27
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> &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,458
s361776944
p00006
u319725914
1533910862
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> &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,459
s577496975
p00006
u248155947
1533568982
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> &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,460
s410011280
p00006
u938878704
1533104764
Python
Python3
py
Accepted
20
5552
98
S = input() s_len = len(S) for i in range(s_len) : print(S[s_len - 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,461
s785395474
p00006
u841567836
1532779538
Python
Python3
py
Accepted
20
5548
75
def run(): print(input()[::-1]) if __name__ == '__main__': run()
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,462
s817204633
p00006
u252700163
1532673863
Python
Python3
py
Accepted
20
5540
35
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> &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,463
s458493085
p00006
u930302179
1532260039
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> &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,464
s063845920
p00006
u454636644
1524737417
Python
Python3
py
Accepted
20
5548
28
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,465
s945518269
p00006
u853158149
1521964036
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> &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,466
s557060130
p00006
u281836941
1514712140
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> &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,467
s005962645
p00006
u079141094
1467250536
Python
Python3
py
Accepted
30
7396
30
print(*input()[::-1], 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> &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,468
s996034886
p00006
u822200871
1447520475
Python
Python3
py
Accepted
30
7368
57
data = [] data = input() print(data[-1:-1-len(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,469
s830948534
p00006
u197615660
1373697538
Python
Python
py
Accepted
20
4204
112
old = raw_input() list = list(old) list.reverse() new = '' for i in range(len(list)): new += list[i] print 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> &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,470
s467772394
p00007
u539753516
1531570158
Python
Python3
py
Accepted
20
5664
92
import math x=100 for i in range(int(input())): x=math.ceil(x*1.05) print(str(x)+"000")
p00007
<H1>Debt Hell</H1> <p> Your friend who lives in undisclosed country is involved in debt. He is borrowing 100,000-yen from a loan shark. The loan shark adds 5% interest of the debt and rounds it to the nearest 1,000 above week by week. </p> <p> Write a program which computes the amount of the debt in <var>n</var> weeks. </p> <H2>Input</H2> <p> An integer <var>n</var> (0 &le; <var>n</var> &le; 100) is given in a line. </p> <H2>Output</H2> <p> Print the amout of the debt in a line. </p> <H2>Sample Input</H2> <pre> 5 </pre> <H2>Output for the Sample Input</H2> <pre> 130000 </pre>
5
130000
4,471
s498456168
p00007
u525366883
1535421782
Python
Python
py
Accepted
10
4708
138
import math price = 100000.0 n = int(raw_input()) for i in range(n): price = math.ceil((price * 1.05) / 1000) * 1000 print int(price)
p00007
<H1>Debt Hell</H1> <p> Your friend who lives in undisclosed country is involved in debt. He is borrowing 100,000-yen from a loan shark. The loan shark adds 5% interest of the debt and rounds it to the nearest 1,000 above week by week. </p> <p> Write a program which computes the amount of the debt in <var>n</var> weeks. </p> <H2>Input</H2> <p> An integer <var>n</var> (0 &le; <var>n</var> &le; 100) is given in a line. </p> <H2>Output</H2> <p> Print the amout of the debt in a line. </p> <H2>Sample Input</H2> <pre> 5 </pre> <H2>Output for the Sample Input</H2> <pre> 130000 </pre>
5
130000
4,472
s404793168
p00007
u153455779
1556065243
Python
Python3
py
Accepted
20
5592
99
n = int(input()) s = 100000 for i in range(n): s = int((s*1.05)/1000+0.9999)*1000 print(s)
p00007
<H1>Debt Hell</H1> <p> Your friend who lives in undisclosed country is involved in debt. He is borrowing 100,000-yen from a loan shark. The loan shark adds 5% interest of the debt and rounds it to the nearest 1,000 above week by week. </p> <p> Write a program which computes the amount of the debt in <var>n</var> weeks. </p> <H2>Input</H2> <p> An integer <var>n</var> (0 &le; <var>n</var> &le; 100) is given in a line. </p> <H2>Output</H2> <p> Print the amout of the debt in a line. </p> <H2>Sample Input</H2> <pre> 5 </pre> <H2>Output for the Sample Input</H2> <pre> 130000 </pre>
5
130000
4,473
s059598400
p00007
u179046735
1559292420
Python
Python3
py
Accepted
20
5668
119
from math import ceil n=int(input()) money=100000 for i in range(n): money=ceil(money*1.05/1000)*1000 print(money)
p00007
<H1>Debt Hell</H1> <p> Your friend who lives in undisclosed country is involved in debt. He is borrowing 100,000-yen from a loan shark. The loan shark adds 5% interest of the debt and rounds it to the nearest 1,000 above week by week. </p> <p> Write a program which computes the amount of the debt in <var>n</var> weeks. </p> <H2>Input</H2> <p> An integer <var>n</var> (0 &le; <var>n</var> &le; 100) is given in a line. </p> <H2>Output</H2> <p> Print the amout of the debt in a line. </p> <H2>Sample Input</H2> <pre> 5 </pre> <H2>Output for the Sample Input</H2> <pre> 130000 </pre>
5
130000
4,474
s936913684
p00007
u063179562
1406814702
Python
Python3
py
Accepted
30
6824
109
import math as m yen = 100000 for i in range(int(input())): yen = m.ceil((yen*1.05)/1000)*1000 print(yen)
p00007
<H1>Debt Hell</H1> <p> Your friend who lives in undisclosed country is involved in debt. He is borrowing 100,000-yen from a loan shark. The loan shark adds 5% interest of the debt and rounds it to the nearest 1,000 above week by week. </p> <p> Write a program which computes the amount of the debt in <var>n</var> weeks. </p> <H2>Input</H2> <p> An integer <var>n</var> (0 &le; <var>n</var> &le; 100) is given in a line. </p> <H2>Output</H2> <p> Print the amout of the debt in a line. </p> <H2>Sample Input</H2> <pre> 5 </pre> <H2>Output for the Sample Input</H2> <pre> 130000 </pre>
5
130000
4,475
s727758267
p00007
u696166817
1409416515
Python
Python3
py
Accepted
30
6752
553
# 累積計算 if __name__ == "__main__": n = int(input()) # print(n) y = 100000 # 10万 100,000 y2 = y / 1000 for i in range(0, n): y4 = y2 * 1.05 # y3 = round(y2 * 1.05 -0.5, 0) y3 = float(int(y2 * 1.05)) #print(" {} {}".format(y4, y3)) if y4 - y3 > 0: y4 += 1 y2 = int(y4) #print("{} {}".format(i, y2 * 1000)) print(y2 * 1000) # 0 105,000 # 1 110,250 -> 111,000 # 2 116,550 -> 117,000 # 3 122,850 -> 123,000 #4 129,150 -> 130,000
p00007
<H1>Debt Hell</H1> <p> Your friend who lives in undisclosed country is involved in debt. He is borrowing 100,000-yen from a loan shark. The loan shark adds 5% interest of the debt and rounds it to the nearest 1,000 above week by week. </p> <p> Write a program which computes the amount of the debt in <var>n</var> weeks. </p> <H2>Input</H2> <p> An integer <var>n</var> (0 &le; <var>n</var> &le; 100) is given in a line. </p> <H2>Output</H2> <p> Print the amout of the debt in a line. </p> <H2>Sample Input</H2> <pre> 5 </pre> <H2>Output for the Sample Input</H2> <pre> 130000 </pre>
5
130000
4,476
s223143196
p00007
u579833671
1410765202
Python
Python
py
Accepted
20
4216
148
n = input() debt = 100000 for i in range(n): debt *= 1.05 if(debt % 1000): debt -= debt % 1000 debt += 1000 print(int(debt))
p00007
<H1>Debt Hell</H1> <p> Your friend who lives in undisclosed country is involved in debt. He is borrowing 100,000-yen from a loan shark. The loan shark adds 5% interest of the debt and rounds it to the nearest 1,000 above week by week. </p> <p> Write a program which computes the amount of the debt in <var>n</var> weeks. </p> <H2>Input</H2> <p> An integer <var>n</var> (0 &le; <var>n</var> &le; 100) is given in a line. </p> <H2>Output</H2> <p> Print the amout of the debt in a line. </p> <H2>Sample Input</H2> <pre> 5 </pre> <H2>Output for the Sample Input</H2> <pre> 130000 </pre>
5
130000
4,477
s935601057
p00007
u703446356
1410973349
Python
Python
py
Accepted
10
4216
116
a = input() ret = 100000 while 0<a: ret *= 1.05 if(ret%1000): ret = int((ret//1000+1)*1000) a -= 1 print ret
p00007
<H1>Debt Hell</H1> <p> Your friend who lives in undisclosed country is involved in debt. He is borrowing 100,000-yen from a loan shark. The loan shark adds 5% interest of the debt and rounds it to the nearest 1,000 above week by week. </p> <p> Write a program which computes the amount of the debt in <var>n</var> weeks. </p> <H2>Input</H2> <p> An integer <var>n</var> (0 &le; <var>n</var> &le; 100) is given in a line. </p> <H2>Output</H2> <p> Print the amout of the debt in a line. </p> <H2>Sample Input</H2> <pre> 5 </pre> <H2>Output for the Sample Input</H2> <pre> 130000 </pre>
5
130000
4,478
s295778573
p00007
u855866586
1412156993
Python
Python
py
Accepted
20
4360
186
import math while True: try: n=input() x=100000 for i in xrange(n): x=math.ceil(x*1.05/1000)*1000 print(int(x)) except EOFError: break
p00007
<H1>Debt Hell</H1> <p> Your friend who lives in undisclosed country is involved in debt. He is borrowing 100,000-yen from a loan shark. The loan shark adds 5% interest of the debt and rounds it to the nearest 1,000 above week by week. </p> <p> Write a program which computes the amount of the debt in <var>n</var> weeks. </p> <H2>Input</H2> <p> An integer <var>n</var> (0 &le; <var>n</var> &le; 100) is given in a line. </p> <H2>Output</H2> <p> Print the amout of the debt in a line. </p> <H2>Sample Input</H2> <pre> 5 </pre> <H2>Output for the Sample Input</H2> <pre> 130000 </pre>
5
130000
4,479
s078544681
p00007
u607831289
1416065259
Python
Python
py
Accepted
20
4348
132
import math n = int(raw_input()) debt = 100000 for i in range(n): debt = int(math.ceil(debt * 1.05 / 1000)) * 1000 print debt
p00007
<H1>Debt Hell</H1> <p> Your friend who lives in undisclosed country is involved in debt. He is borrowing 100,000-yen from a loan shark. The loan shark adds 5% interest of the debt and rounds it to the nearest 1,000 above week by week. </p> <p> Write a program which computes the amount of the debt in <var>n</var> weeks. </p> <H2>Input</H2> <p> An integer <var>n</var> (0 &le; <var>n</var> &le; 100) is given in a line. </p> <H2>Output</H2> <p> Print the amout of the debt in a line. </p> <H2>Sample Input</H2> <pre> 5 </pre> <H2>Output for the Sample Input</H2> <pre> 130000 </pre>
5
130000
4,480
s279472882
p00007
u506132575
1416104922
Python
Python
py
Accepted
20
4224
216
#!/usr/bin/env python # -*- coding: utf-8 -*- import sys money = 100000 d = int(sys.stdin.read()) for i in range(d): money *= 1.05 if money%1000 != 0: money -= money%1000 money += 1000 print int(money)
p00007
<H1>Debt Hell</H1> <p> Your friend who lives in undisclosed country is involved in debt. He is borrowing 100,000-yen from a loan shark. The loan shark adds 5% interest of the debt and rounds it to the nearest 1,000 above week by week. </p> <p> Write a program which computes the amount of the debt in <var>n</var> weeks. </p> <H2>Input</H2> <p> An integer <var>n</var> (0 &le; <var>n</var> &le; 100) is given in a line. </p> <H2>Output</H2> <p> Print the amout of the debt in a line. </p> <H2>Sample Input</H2> <pre> 5 </pre> <H2>Output for the Sample Input</H2> <pre> 130000 </pre>
5
130000
4,481
s020010685
p00007
u672822075
1418975519
Python
Python3
py
Accepted
30
6752
108
a=100000 for _ in range(int(input())): a=((a*1.05)//1000+1)*1000 if (a*1.05)%1000 else a*1.05 print(int(a))
p00007
<H1>Debt Hell</H1> <p> Your friend who lives in undisclosed country is involved in debt. He is borrowing 100,000-yen from a loan shark. The loan shark adds 5% interest of the debt and rounds it to the nearest 1,000 above week by week. </p> <p> Write a program which computes the amount of the debt in <var>n</var> weeks. </p> <H2>Input</H2> <p> An integer <var>n</var> (0 &le; <var>n</var> &le; 100) is given in a line. </p> <H2>Output</H2> <p> Print the amout of the debt in a line. </p> <H2>Sample Input</H2> <pre> 5 </pre> <H2>Output for the Sample Input</H2> <pre> 130000 </pre>
5
130000
4,482
s834300373
p00007
u585391547
1419093854
Python
Python3
py
Accepted
30
6828
116
from math import ceil n=int(input()) d=int(1e5) for x in range(n): d=(1.05*d) d=int(int(ceil(d/1e3))*1e3) print(d)
p00007
<H1>Debt Hell</H1> <p> Your friend who lives in undisclosed country is involved in debt. He is borrowing 100,000-yen from a loan shark. The loan shark adds 5% interest of the debt and rounds it to the nearest 1,000 above week by week. </p> <p> Write a program which computes the amount of the debt in <var>n</var> weeks. </p> <H2>Input</H2> <p> An integer <var>n</var> (0 &le; <var>n</var> &le; 100) is given in a line. </p> <H2>Output</H2> <p> Print the amout of the debt in a line. </p> <H2>Sample Input</H2> <pre> 5 </pre> <H2>Output for the Sample Input</H2> <pre> 130000 </pre>
5
130000
4,483
s880507028
p00007
u342537066
1420701466
Python
Python3
py
Accepted
30
6732
161
n=int(input()) value=int(100000) for i in range(n): value=value/100*105 if value%1000>0: value-=value%1000 value+=1000 print(int(value))
p00007
<H1>Debt Hell</H1> <p> Your friend who lives in undisclosed country is involved in debt. He is borrowing 100,000-yen from a loan shark. The loan shark adds 5% interest of the debt and rounds it to the nearest 1,000 above week by week. </p> <p> Write a program which computes the amount of the debt in <var>n</var> weeks. </p> <H2>Input</H2> <p> An integer <var>n</var> (0 &le; <var>n</var> &le; 100) is given in a line. </p> <H2>Output</H2> <p> Print the amout of the debt in a line. </p> <H2>Sample Input</H2> <pre> 5 </pre> <H2>Output for the Sample Input</H2> <pre> 130000 </pre>
5
130000
4,484
s947434015
p00007
u846356981
1421117613
Python
Python3
py
Accepted
30
6824
176
import sys import math for line in sys.stdin: n = int(line) x = 100000 y = 0 for i in range(n): x += math.ceil(x*0.05/1000)*1000 print(x) break
p00007
<H1>Debt Hell</H1> <p> Your friend who lives in undisclosed country is involved in debt. He is borrowing 100,000-yen from a loan shark. The loan shark adds 5% interest of the debt and rounds it to the nearest 1,000 above week by week. </p> <p> Write a program which computes the amount of the debt in <var>n</var> weeks. </p> <H2>Input</H2> <p> An integer <var>n</var> (0 &le; <var>n</var> &le; 100) is given in a line. </p> <H2>Output</H2> <p> Print the amout of the debt in a line. </p> <H2>Sample Input</H2> <pre> 5 </pre> <H2>Output for the Sample Input</H2> <pre> 130000 </pre>
5
130000
4,485
s226075816
p00007
u336443042
1421716628
Python
Python
py
Accepted
20
4216
115
a = 100000 b = 1000 for i in range(input()): a *= 1.05 if a % b > 0: a = a - a % b + b print int(a)
p00007
<H1>Debt Hell</H1> <p> Your friend who lives in undisclosed country is involved in debt. He is borrowing 100,000-yen from a loan shark. The loan shark adds 5% interest of the debt and rounds it to the nearest 1,000 above week by week. </p> <p> Write a program which computes the amount of the debt in <var>n</var> weeks. </p> <H2>Input</H2> <p> An integer <var>n</var> (0 &le; <var>n</var> &le; 100) is given in a line. </p> <H2>Output</H2> <p> Print the amout of the debt in a line. </p> <H2>Sample Input</H2> <pre> 5 </pre> <H2>Output for the Sample Input</H2> <pre> 130000 </pre>
5
130000
4,486
s261182507
p00007
u567380442
1422532951
Python
Python3
py
Accepted
30
6824
168
import math def roundup1000(num): return math.ceil(num / 1000) * 1000 debt = 100000 for _ in range(int(input())): debt = roundup1000(debt * 1.05) print(debt)
p00007
<H1>Debt Hell</H1> <p> Your friend who lives in undisclosed country is involved in debt. He is borrowing 100,000-yen from a loan shark. The loan shark adds 5% interest of the debt and rounds it to the nearest 1,000 above week by week. </p> <p> Write a program which computes the amount of the debt in <var>n</var> weeks. </p> <H2>Input</H2> <p> An integer <var>n</var> (0 &le; <var>n</var> &le; 100) is given in a line. </p> <H2>Output</H2> <p> Print the amout of the debt in a line. </p> <H2>Sample Input</H2> <pre> 5 </pre> <H2>Output for the Sample Input</H2> <pre> 130000 </pre>
5
130000
4,487
s685412022
p00007
u879226672
1423291802
Python
Python
py
Accepted
20
4216
197
n = int(raw_input()) total = 100000 for i in range(1,n+1): total = total*1.05 if total%1000!=0: total = int(total-total%1000 + 1000) else: total = int(total) print total
p00007
<H1>Debt Hell</H1> <p> Your friend who lives in undisclosed country is involved in debt. He is borrowing 100,000-yen from a loan shark. The loan shark adds 5% interest of the debt and rounds it to the nearest 1,000 above week by week. </p> <p> Write a program which computes the amount of the debt in <var>n</var> weeks. </p> <H2>Input</H2> <p> An integer <var>n</var> (0 &le; <var>n</var> &le; 100) is given in a line. </p> <H2>Output</H2> <p> Print the amout of the debt in a line. </p> <H2>Sample Input</H2> <pre> 5 </pre> <H2>Output for the Sample Input</H2> <pre> 130000 </pre>
5
130000
4,488
s063965430
p00007
u744114948
1423639689
Python
Python3
py
Accepted
30
6748
96
#! /usr/bin/python3 m=100 for _ in range(int(input())): m = int(m*1.05+0.999) print(m*1000)
p00007
<H1>Debt Hell</H1> <p> Your friend who lives in undisclosed country is involved in debt. He is borrowing 100,000-yen from a loan shark. The loan shark adds 5% interest of the debt and rounds it to the nearest 1,000 above week by week. </p> <p> Write a program which computes the amount of the debt in <var>n</var> weeks. </p> <H2>Input</H2> <p> An integer <var>n</var> (0 &le; <var>n</var> &le; 100) is given in a line. </p> <H2>Output</H2> <p> Print the amout of the debt in a line. </p> <H2>Sample Input</H2> <pre> 5 </pre> <H2>Output for the Sample Input</H2> <pre> 130000 </pre>
5
130000
4,489
s980276340
p00007
u349293999
1423850559
Python
Python
py
Accepted
10
4360
109
import math n = input() m = 100 for i in xrange(n): m = m * 1.05 m = math.ceil(m) print "%i"%(m*1000)
p00007
<H1>Debt Hell</H1> <p> Your friend who lives in undisclosed country is involved in debt. He is borrowing 100,000-yen from a loan shark. The loan shark adds 5% interest of the debt and rounds it to the nearest 1,000 above week by week. </p> <p> Write a program which computes the amount of the debt in <var>n</var> weeks. </p> <H2>Input</H2> <p> An integer <var>n</var> (0 &le; <var>n</var> &le; 100) is given in a line. </p> <H2>Output</H2> <p> Print the amout of the debt in a line. </p> <H2>Sample Input</H2> <pre> 5 </pre> <H2>Output for the Sample Input</H2> <pre> 130000 </pre>
5
130000
4,490
s187889277
p00007
u839573768
1425088037
Python
Python
py
Accepted
10
4216
145
n = int(input()) x = 100000 for i in range(n): x = int(x * 1.05) if(x % 1000 != 0): x = x/1000 + 1 x = x * 1000 print x
p00007
<H1>Debt Hell</H1> <p> Your friend who lives in undisclosed country is involved in debt. He is borrowing 100,000-yen from a loan shark. The loan shark adds 5% interest of the debt and rounds it to the nearest 1,000 above week by week. </p> <p> Write a program which computes the amount of the debt in <var>n</var> weeks. </p> <H2>Input</H2> <p> An integer <var>n</var> (0 &le; <var>n</var> &le; 100) is given in a line. </p> <H2>Output</H2> <p> Print the amout of the debt in a line. </p> <H2>Sample Input</H2> <pre> 5 </pre> <H2>Output for the Sample Input</H2> <pre> 130000 </pre>
5
130000
4,491
s200799304
p00007
u379499530
1425399741
Python
Python
py
Accepted
10
4216
132
n = input() s = 100000 for i in range(n): s = s * 1.05 if s % 1000 != 0: s = ((s // 1000) + 1) * 1000 print "%d" % s
p00007
<H1>Debt Hell</H1> <p> Your friend who lives in undisclosed country is involved in debt. He is borrowing 100,000-yen from a loan shark. The loan shark adds 5% interest of the debt and rounds it to the nearest 1,000 above week by week. </p> <p> Write a program which computes the amount of the debt in <var>n</var> weeks. </p> <H2>Input</H2> <p> An integer <var>n</var> (0 &le; <var>n</var> &le; 100) is given in a line. </p> <H2>Output</H2> <p> Print the amout of the debt in a line. </p> <H2>Sample Input</H2> <pre> 5 </pre> <H2>Output for the Sample Input</H2> <pre> 130000 </pre>
5
130000
4,492
s289255241
p00007
u540744789
1425630459
Python
Python
py
Accepted
20
4220
161
debt = 100000 n=int(raw_input()) for i in range(1,n+1): debt = debt*1.05 if(debt % 1000) != 0: debt = (debt - (debt%1000)) + 1000 print int(debt)
p00007
<H1>Debt Hell</H1> <p> Your friend who lives in undisclosed country is involved in debt. He is borrowing 100,000-yen from a loan shark. The loan shark adds 5% interest of the debt and rounds it to the nearest 1,000 above week by week. </p> <p> Write a program which computes the amount of the debt in <var>n</var> weeks. </p> <H2>Input</H2> <p> An integer <var>n</var> (0 &le; <var>n</var> &le; 100) is given in a line. </p> <H2>Output</H2> <p> Print the amout of the debt in a line. </p> <H2>Sample Input</H2> <pre> 5 </pre> <H2>Output for the Sample Input</H2> <pre> 130000 </pre>
5
130000
4,493
s913399276
p00007
u040533857
1425978263
Python
Python3
py
Accepted
30
6824
111
import math n = int(input()) money = 100 for i in range(n): money = math.ceil(money*1.05) print(money*1000)
p00007
<H1>Debt Hell</H1> <p> Your friend who lives in undisclosed country is involved in debt. He is borrowing 100,000-yen from a loan shark. The loan shark adds 5% interest of the debt and rounds it to the nearest 1,000 above week by week. </p> <p> Write a program which computes the amount of the debt in <var>n</var> weeks. </p> <H2>Input</H2> <p> An integer <var>n</var> (0 &le; <var>n</var> &le; 100) is given in a line. </p> <H2>Output</H2> <p> Print the amout of the debt in a line. </p> <H2>Sample Input</H2> <pre> 5 </pre> <H2>Output for the Sample Input</H2> <pre> 130000 </pre>
5
130000
4,494
s415098725
p00007
u422939201
1427795319
Python
Python3
py
Accepted
30
6824
146
# -*- coding: utf-8 -*- from math import ceil n=int(input()) d=int(1e5) for x in range(n): d=(1.05*d) d=int(int(ceil(d/1e3))*1e3) print(d)
p00007
<H1>Debt Hell</H1> <p> Your friend who lives in undisclosed country is involved in debt. He is borrowing 100,000-yen from a loan shark. The loan shark adds 5% interest of the debt and rounds it to the nearest 1,000 above week by week. </p> <p> Write a program which computes the amount of the debt in <var>n</var> weeks. </p> <H2>Input</H2> <p> An integer <var>n</var> (0 &le; <var>n</var> &le; 100) is given in a line. </p> <H2>Output</H2> <p> Print the amout of the debt in a line. </p> <H2>Sample Input</H2> <pre> 5 </pre> <H2>Output for the Sample Input</H2> <pre> 130000 </pre>
5
130000
4,495
s547203063
p00007
u396642573
1429400907
Python
Python
py
Accepted
10
4216
153
N = int(raw_input()) res = 100000 for i in range(N): res *= 1.05 if res % 1000 > 0: res -= res % 1000 res += 1000 print int(res)
p00007
<H1>Debt Hell</H1> <p> Your friend who lives in undisclosed country is involved in debt. He is borrowing 100,000-yen from a loan shark. The loan shark adds 5% interest of the debt and rounds it to the nearest 1,000 above week by week. </p> <p> Write a program which computes the amount of the debt in <var>n</var> weeks. </p> <H2>Input</H2> <p> An integer <var>n</var> (0 &le; <var>n</var> &le; 100) is given in a line. </p> <H2>Output</H2> <p> Print the amout of the debt in a line. </p> <H2>Sample Input</H2> <pre> 5 </pre> <H2>Output for the Sample Input</H2> <pre> 130000 </pre>
5
130000
4,496
s727256125
p00007
u009961299
1431011939
Python
Python3
py
Accepted
30
6828
137
# -*- coding: utf-8 -*- import math r = 100 n = int ( input ( ) ) for i in range ( n ): r = math.ceil ( r * 1.05 ) print ( r * 1000 )
p00007
<H1>Debt Hell</H1> <p> Your friend who lives in undisclosed country is involved in debt. He is borrowing 100,000-yen from a loan shark. The loan shark adds 5% interest of the debt and rounds it to the nearest 1,000 above week by week. </p> <p> Write a program which computes the amount of the debt in <var>n</var> weeks. </p> <H2>Input</H2> <p> An integer <var>n</var> (0 &le; <var>n</var> &le; 100) is given in a line. </p> <H2>Output</H2> <p> Print the amout of the debt in a line. </p> <H2>Sample Input</H2> <pre> 5 </pre> <H2>Output for the Sample Input</H2> <pre> 130000 </pre>
5
130000
4,497
s951388262
p00007
u885889402
1431524603
Python
Python3
py
Accepted
30
6748
136
n = input() a = 100000 for i in range(1,int(n)+1): a = int(a*1.05) if(a%1000 > 0): a = 1000*int(a/1000) + 1000 print(a)
p00007
<H1>Debt Hell</H1> <p> Your friend who lives in undisclosed country is involved in debt. He is borrowing 100,000-yen from a loan shark. The loan shark adds 5% interest of the debt and rounds it to the nearest 1,000 above week by week. </p> <p> Write a program which computes the amount of the debt in <var>n</var> weeks. </p> <H2>Input</H2> <p> An integer <var>n</var> (0 &le; <var>n</var> &le; 100) is given in a line. </p> <H2>Output</H2> <p> Print the amout of the debt in a line. </p> <H2>Sample Input</H2> <pre> 5 </pre> <H2>Output for the Sample Input</H2> <pre> 130000 </pre>
5
130000
4,498
s461093628
p00007
u308369184
1431592192
Python
Python3
py
Accepted
30
6824
105
import math s=int(input()) m=100000 for i in range(s): m=math.ceil((m*1.05)/1000)*1000 print(m)
p00007
<H1>Debt Hell</H1> <p> Your friend who lives in undisclosed country is involved in debt. He is borrowing 100,000-yen from a loan shark. The loan shark adds 5% interest of the debt and rounds it to the nearest 1,000 above week by week. </p> <p> Write a program which computes the amount of the debt in <var>n</var> weeks. </p> <H2>Input</H2> <p> An integer <var>n</var> (0 &le; <var>n</var> &le; 100) is given in a line. </p> <H2>Output</H2> <p> Print the amout of the debt in a line. </p> <H2>Sample Input</H2> <pre> 5 </pre> <H2>Output for the Sample Input</H2> <pre> 130000 </pre>
5
130000
4,499
s433531636
p00007
u067299340
1432699681
Python
Python
py
Accepted
20
4364
79
import math m=100 for i in range(input()):m=math.ceil(m*1.05) print int(m)*1000
p00007
<H1>Debt Hell</H1> <p> Your friend who lives in undisclosed country is involved in debt. He is borrowing 100,000-yen from a loan shark. The loan shark adds 5% interest of the debt and rounds it to the nearest 1,000 above week by week. </p> <p> Write a program which computes the amount of the debt in <var>n</var> weeks. </p> <H2>Input</H2> <p> An integer <var>n</var> (0 &le; <var>n</var> &le; 100) is given in a line. </p> <H2>Output</H2> <p> Print the amout of the debt in a line. </p> <H2>Sample Input</H2> <pre> 5 </pre> <H2>Output for the Sample Input</H2> <pre> 130000 </pre>
5
130000
4,500
s253129323
p00007
u067299340
1432699694
Python
Python
py
Accepted
20
4364
79
import math m=100 for i in range(input()):m=math.ceil(m*1.05) print int(m)*1000
p00007
<H1>Debt Hell</H1> <p> Your friend who lives in undisclosed country is involved in debt. He is borrowing 100,000-yen from a loan shark. The loan shark adds 5% interest of the debt and rounds it to the nearest 1,000 above week by week. </p> <p> Write a program which computes the amount of the debt in <var>n</var> weeks. </p> <H2>Input</H2> <p> An integer <var>n</var> (0 &le; <var>n</var> &le; 100) is given in a line. </p> <H2>Output</H2> <p> Print the amout of the debt in a line. </p> <H2>Sample Input</H2> <pre> 5 </pre> <H2>Output for the Sample Input</H2> <pre> 130000 </pre>
5
130000
4,501