$MSG_PROBLEM".$row['problem_id']."--". $row['title'].""; echo "

$id: ".$row['title']."

"; }else{ //$PID="ABCDEFGHIJKLMNOPQRSTUVWXYZ"; $id=$row['problem_id']; echo "$MSG_PROBLEM ".$PID[$pid].": ".$row['title']." "; echo "

$MSG_PROBLEM ".$PID[$pid].": ".$row['title']."

"; } echo "$MSG_Time_Limit: ".$row['time_limit']." Sec  "; echo "$MSG_Memory_Limit: ".$row['memory_limit']." MB"; if($row['spj']) echo "  Special Judge"; echo "
$MSG_SUBMIT: ".$row['submit']."  "; echo "$MSG_SOVLED: ".$row['accepted']."
"; if($pr_flag){ echo "[$MSG_SUBMIT] "; }else{ echo "[$MSG_SUBMIT] "; } echo "[$MSG_STATUS] "; echo "[$MSG_BBS] "; echo "[$MSG_Creator:]"; if(isset($_SESSION[$OJ_NAME.'_'.'administrator'])){ require_once("include/set_get_key.php"); ?> [Edit] [)'>TestData] "; echo ""; echo "

$MSG_Description

".$row['description']."

"; if($row['input'])echo "

$MSG_Input

".$row['input']."

"; if($row['output'])echo "

$MSG_Output

".$row['output']."

"; $sinput=str_replace("<","<",$row['sample_input']); $sinput=str_replace(">",">",$sinput); $soutput=str_replace("<","<",$row['sample_output']); $soutput=str_replace(">",">",$soutput); if(strlen($sinput)){ echo "

$MSG_Sample_Input

".($sinput)."

"; } if(strlen($soutput)){ echo "

$MSG_Sample_Output

".($soutput)."

"; } if($row['hint']){ echo "

$MSG_HINT

".$row['hint']."

"; } if($pr_flag){ echo "

$MSG_SOURCE

"; $cats=explode(" ",$row['source']); foreach($cats as $cat){ echo "".htmlentities($cat,ENT_QUOTES,'utf-8')." "; } echo "

"; } echo "
"; echo ""; if($pr_flag){ echo "[$MSG_SUBMIT] "; }else{ echo "[$MSG_SUBMIT]"; } echo "[$MSG_STATUS]"; //echo "[$MSG_BBS]"; if(isset($_SESSION[$OJ_NAME.'_'.'administrator'])){ require_once("include/set_get_key.php"); ?> [Edit] [)'>TestData] "; ?>