codingtests/template.rt

15 lines
314 B
Plaintext
Raw Normal View History

2012-03-15 12:12:02 +00:00
<%= problem['title'] %>
<%= problem['url'] %>
Desc:
<%= problem['desc'] %>
<% if( problem['solution'] and problem['solutions'] ) %>
Solution:
<%= problem['solution'] %>
<% problem['solutions'].each do |sol| %>
<%= sol[0] %>
<%= sol[1]['desc'] %>
<%= sol[1]['language'] %>
<% end %>
<% end %>