<%= user_title_bar(@user) %>

Test Interface

Note: Test interface will be disabled in the last 30 minutes of the contest time on your site.

<% if @problems.length==0 %> There is no submission <% else %> <% if Configuration.show_submitbox_to?(@user) and Configuration.allow_test_request(@user) %>
<%= error_messages_for 'submitted_test_request' %> <% form_for :test_request, nil, :url => { :action => 'submit'}, :html => { :multipart => true } do |f| %>
Task: <%= select(:test_request, :problem_id, @problems.collect {|p| [p.name, p.id]}, {}, { :onclick => "updateSubmissionList();" }) %>
Submission: <%= select(:test_request, :submission_number, ((1..@submissions[0].number).collect {|n| [n,n]}).reverse) %>
Input data: <%= f.file_field :input_file %> (combined size should not exceed 2MB)
Additional file*: <%= f.file_field :additional_file %> * This option works only for task beads. You can use this to submit questions.txt.
The file shall be copied to the execution directory before your program runs.
<%= submit_tag 'submit' %>
<% end %>
<% end %>

Previous requests

<%= render :partial => 'test_request', :collection => @test_requests %>
at problem sub # status output (first 2kb) compiler message detail
<% end %>