             return "started"
         else
             return "none"
-            
+
 TotalResult = (props) ->
     style = globalStyles.mainTable_td
     title = ""

            style += " " + styles[s]
        if props.result.problemName
            title = props.user.name + ": " + props.result.problemName
    return 
        <td className={style} title={title}>
            {if props.header
                "="
            else
                ("" + props.result.solved + 
                 (if props.result.ok then " + " + props.result.ok else "") +
                " / " + props.result.total)
            }
        </td>
        
Result = (props) ->
    if props.result.total > 1
        `<TotalResult {...props}/>`

            "-" + r.attempts
        else
            " "
    className =
        if r.solved > 0
            "ac"
        else if r.ignored > 0
