Description:
fix full score
Commit status:
[Not Reviewed]
References:
Comments:
0 Commit comments 0 Inline Comments
Unresolved TODOs:
There are no unresolved TODOs
Add another comment

r444:bbb2dd914404 - - 1 file changed: 1 inserted, 1 deleted

@@ -19,28 +19,28
19 19
20 20
21 21 %h2 Problem Stat
22 22
23 23 %h2 Submissions
24 24
25 25 %table.tablesorter-cafe#submission_table
26 26 %thead
27 27 %tr
28 28 %th ID
29 29 %th Problem code
30 30 %th Problem name
31 31 %th Language
32 32 %th Result
33 33 %th Score
34 34 %tbody
35 35 - @submission.each do |s|
36 36 - next unless s.problem
37 37 %tr
38 38 %td= link_to "#{s.id}", controller: "graders", action: "submission", id: s.id
39 39 %td= s.problem.name
40 40 %td= s.problem.full_name
41 41 %td= s.language.pretty_name
42 42 %td.fix-width= s.grader_comment
43 - %td= s.points/s.problem.full_score * 100
43 + %td= (s.points*100)/s.problem.full_score
44 44
45 45
46 46
You need to be logged in to leave comments. Login now