codingtests/template.rt
2012-03-15 13:12:02 +01:00

15 lines
314 B
Plaintext

<%= 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 %>