Please Login First!"; exit(1); } ?> find('img') as $element) // $element->src=$baseurl.$element->src; $element=$html->find('h1',2); $title=trim($element->plaintext); $element=$html->find('article',0); $mlimit=$element->plaintext; $mlimit=mb_substr($mlimit, mb_strpos($mlimit, "空间限制")+6); $mlimit=mb_substr($mlimit,0,mb_strpos($mlimit, 'MB')-8); $mlimit=intval($mlimit); if($mlimit==0)$mlimit=256; $tlimit=$element->plaintext; $tlimit=mb_substr($tlimit, mb_strpos($tlimit, "时间限制")+6); $tlimit=mb_substr($tlimit,0,mb_strpos($tlimit, 's')-8); $tlimit=intval($tlimit); if($tlimit==0)$tlimit=1; //$mlimit/=1000; //echo "mlimit:$mlimit
"; //echo "tlimit:".$tlimit; $element=$html->find('article',0); $descriptionHTML=$element->outertext; $descriptionHTML=pregReplaceImg2($descriptionHTML,"https://darkbzoj.tk/"); $element=$html->find('div[class=ui bottom attached segment font-content]',1); $inputHTML=$element->outertext; $element=$html->find('div[class=ui bottom attached segment font-content]',2); $outputHTML=$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=$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:

Input:

Output:

Sample Input:

Sample Output:

Test Input:

Test Output:

Hint:

SpecialJudge: NY

Source:

contest: