Saturday, June 4, 2016
C++ Solution to UVA 118 - Mutant Flatworld Explorers Learning Based on Experience of Past Robots
June 04, 2016
118
,
2d array using pointers
,
algorithm
,
beginner
,
bound checking
,
character mapping to index
,
commented code
,
cpp
,
easy
,
explanation
,
graph
,
learning from experience
,
Mutant Flatworld Explorers
,
solution
,
uva
Problem Link:
https://uva.onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&page=show_problem&problem=54Problem Explanation & Visalization:
TODOInput & Output Explanation:
TODOInput & Output:
Input:5 3 1 1 E RFRFRFRF 3 2 N FRRFLLFFRRFLL 0 3 W LLFFFLFLFL
Output:1 1 E 3 3 N LOST 2 3 S
More input and output in udebug:
https://www.udebug.com/UVa/352Code:
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment