Skip to content

Commit 9ecc015

Browse files
committed
[uva] Add Python3 solution for 483 - Word Scramble.
1 parent 0c68766 commit 9ecc015

File tree

4 files changed

+15
-0
lines changed

4 files changed

+15
-0
lines changed

uva/00483-1.ans

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
I evol .uoy
2+
uoY evol .em
3+
er'eW a yppah .ylimaf

uva/00483-1.in

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
I love you.
2+
You love me.
3+
We're a happy family.

uva/00483.py

+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
#!/usr/bin/env python3
2+
# https://uva.onlinejudge.org/external/4/483.pdf
3+
while True:
4+
try:
5+
l=input()
6+
print(' '.join([x[::-1] for x in l.split()]))
7+
except:break

uva/README.md

+2
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,8 @@ There are solutions for the following
2323
([problem site](https://uva.onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&page=show_problem&category=24&problem=399))
2424
* [459 - Graph Connectivity](00459.cc)
2525
([problem site](https://uva.onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&page=show_problem&category=6&problem=400))
26+
* [483 - Word Scramble](00483.py)
27+
([problem site](http://uva.onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&category=24&page=show_problem&problem=424))
2628
* [579 - Clock Hands](00579.cc)
2729
([problem site](http://uva.onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&category=24&page=show_problem&problem=520))
2830
* [623 - 500!](00623.py)

0 commit comments

Comments
 (0)