Please Login First!"; exit(1); } ?> find('img') as $element) // $element->src=$baseurl.$element->src; $element=$html->find('h1',0); $title=trim($element->plaintext); $element=$html->find('span',0); $mlimit=$element->plaintext; $mlimit=substr($mlimit, strpos($mlimit, ":")+3); $mlimit=substr($mlimit,0,strpos($mlimit, 'MiB')-1); $element=$html->find('span',1); $tlimit=$element->plaintext; $tlimit=substr($tlimit, strpos($tlimit, ":")+3); $tlimit=substr($tlimit,0,strpos($mlimit, ' ms')-3); $tlimit/=1000; //$mlimit/=1000; //echo "mlimit:$mlimit
"; //echo "tlimit:".$tlimit; function mjpage($raw){ $ret=str_replace('','\(',$raw); $ret=str_replace('','\)',$ret); return $ret; } $element=$html->find('div[class=ui bottom attached segment font-content]',0); $descriptionHTML=mjpage($element->outertext); $element=$html->find('div[class=ui bottom attached segment font-content]',1); $inputHTML=mjpage($element->outertext); $element=$html->find('div[class=ui bottom attached segment font-content]',2); $outputHTML=mjpage($element->outertext); $element=$html->find('code[class=lang-plain]',0); $sample_input=$element->innertext; $element=$html->find('code[class=lang-plain]',1); $sample_output=$element->innertext; $element=$html->find('div[class=ui bottom attached segment font-content]',4); $hintHTML=mjpage($element->outertext); $element=$html->find('div[class=ui bottom attached segment]',1); $sourceHTML=$element->outertext; ?>

Add a Problem

Problem Id:  New Problem

Title:

Time Limit:S

Memory Limit:MByte

Description:

Description:

Input:

Output:

Sample Input:

Sample Output:

Test Input:

Test Output:

Hint:

SpecialJudge: NY

Source:

contest: