Example #1
0
File: run.php Project: Zhi2014/cogs
    ?>
开始运行
<table class='table table-condensed'>
<tr>
<th>点</th>
<th>结果</th>
<th>得分</th>
<th>运行时间</th>
<th>内存使用</th>
<th>返回</th>
</tr>
<tr>
<?php 
    $nodata = false;
    for ($P = 1; $P <= $d['datacnt']; $P++) {
        $Cp->run($P);
        flush();
        ?>
	<td><?php 
        echo $P;
        ?>
</td>
	<td><?php 
        echo $Cp->getresult();
        ?>
</td>
	<td><?php 
        echo $Cp->getthisscore();
        ?>
</td>
	<td><?php 
Example #2
0
 /**
  * Compile entire collection
  * @return void
  */
 public function compile()
 {
     if ($this->dirty() and $this->shouldCompile()) {
         $compiler = new Compiler($this);
         $this->contents = $compiler->run();
     }
 }