Pages
Home
Sitemap
Thursday, September 17, 2009
UVA Problem#11185
Question:
http://uva.onlinejudge.org/external/111/11185.html
Solution Techniques:
1. take input.
2. use the following formula to get the ternary of the number
ternary[i] = decimal%3;
decimal = decimal/3;
i++;
3. Show the output.
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment