[algospot-judge] r212 committed - Length is shown in submission info

3 views
Skip to first unread message

codesite...@google.com

unread,
Jul 11, 2010, 3:19:56 AM7/11/10
to algospo...@googlegroups.com
Revision: 212
Author: jongman
Date: Sat Jul 10 22:17:49 2010
Log: Length is shown in submission info
http://code.google.com/p/algospot-judge/source/detail?r=212

Modified:
/trunk/vanillaapp/views/problems/submission.php

=======================================
--- /trunk/vanillaapp/views/problems/submission.php Sat Jul 10 22:16:57 2010
+++ /trunk/vanillaapp/views/problems/submission.php Sat Jul 10 22:17:49 2010
@@ -6,6 +6,7 @@
<th><?=T("Problem")?></th>
<th><?=T("Author")?></th>
<th><?=T("Submitted")?></th>
+ <th><?=T("Length")?></th>
<th><?=T("Verdict")?></th>
<th><?=T("Memory")?></th>
<th><?=T("Time")?></th>
@@ -16,6 +17,7 @@
<td><a
href="<?=Url("/problems/read")?>/<?=$this->Problem->ID?>"><?=$this->Problem->Name?></a></td>
<td><a
href="<?=Url("/profile")?>/<?=$this->Submission->Author?>/<?=$this->Submission->AuthorInfo->Name?>"><?=$this->Submission->AuthorInfo->Name?></a></td>

<td><?=Gdn_Format::Date($this->Submission->Submitted, "%Y-%m-%d %H:%M:%S")?></td>
+ <td><?=$this->Submission->Length?> bytes</td>
<td><span
class="Submission<?=$this->Submission->StateText?>"><?=str_replace("_", " ",
$this->Submission->StateText)?></span></td>
<td><?=$this->Submission->Memory?> kb</td>
<td><?=$this->Submission->Time?> ms</td>

Reply all
Reply to author
Forward
0 new messages