{"lang": "PHP", "source_code": "", "lang_cluster": "PHP", "compilation_error": true, "code_uid": "dd4575bb684586ba0efb14966060fab8", "src_uid": "023b169765e81d896cdc1184e5a82b22", "difficulty": 1100}
{"lang": "PHP", "source_code": " $k) $total++;\n\t\telse break;\n\t}\n\techo $total;\n?>", "lang_cluster": "PHP", "compilation_error": true, "code_uid": "eb0460f03c6a3635740659d7b69d6994", "src_uid": "193ec1226ffe07522caf63e84a7d007f", "difficulty": 800}
{"lang": "PHP", "source_code": "\n", "lang_cluster": "PHP", "compilation_error": true, "code_uid": "382c3e273b71366357f906c6c4c7cf68", "src_uid": "193ec1226ffe07522caf63e84a7d007f", "difficulty": 800}
{"lang": "PHP", "source_code": " 0)\n\t{\n\t\tfor($i=0;$i<=$x;$i++)\n\t\t{\n\t\t\tif($a[$i] >= $score)\n\t\t\t{\n\t\t\t\t$jlh=$jlh+1;\n\t\t\t}\n\t\t}\n\t}\n\t\n\techo $jlh;\n\t\n\t\n\t\n\t\n?>", "lang_cluster": "PHP", "compilation_error": true, "code_uid": "0ec7a16a3f6f47017afb60f727844c5d", "src_uid": "193ec1226ffe07522caf63e84a7d007f", "difficulty": 800}
{"lang": "PHP", "source_code": " 0)\n\t{\n\t\tfor($i=0;$i<=count($a);$i++)\n\t\t{\n\t\t\tif($a[$i]>=$score)\n\t\t\t{\n\t\t\t\t$jlh=$jlh+1;\n\t\t\t}\n\t\t}\n\t}\n\t\n\techo $jlh;\n\t\n\t\n\t\n\t\n?>", "lang_cluster": "PHP", "compilation_error": true, "code_uid": "a9fbb65c886bb3bd2fea4e179c92e4f7", "src_uid": "193ec1226ffe07522caf63e84a7d007f", "difficulty": 800}
{"lang": "PHP", "source_code": " $bal) {\n\tif ($bal == 0) break;\n\tif ($result >= $k) {\n\t\tif ($data2[$key-1] == $bal) $result++;\n\t\telse break;\n\t} else {$result++;\n}\n\nfile_put_contents('php://stderr', $result);", "lang_cluster": "PHP", "compilation_error": true, "code_uid": "91c1f1619357166fb8e3ae4f22d1202d", "src_uid": "193ec1226ffe07522caf63e84a7d007f", "difficulty": 800}
{"lang": "PHP", "source_code": "\ufeff", "lang_cluster": "PHP", "compilation_error": true, "code_uid": "17184646a663e1ede5e96e9cd16c6a41", "src_uid": "ef971874d8c4da37581336284b688517", "difficulty": 1000}
{"lang": "PHP", "source_code": "", "lang_cluster": "PHP", "compilation_error": true, "code_uid": "98d691c40b4137d183a56bf081d2857d", "src_uid": "ef971874d8c4da37581336284b688517", "difficulty": 1000}
{"lang": "PHP", "source_code": "", "lang_cluster": "PHP", "compilation_error": true, "code_uid": "12d155cd1b7e4f81ba54cdaed2fdf890", "src_uid": "ef971874d8c4da37581336284b688517", "difficulty": 1000}
{"lang": "PHP", "source_code": "", "lang_cluster": "PHP", "compilation_error": true, "code_uid": "d496cfa2d252f654362d2ca1929fc1d0", "src_uid": "ef971874d8c4da37581336284b688517", "difficulty": 1000}
{"lang": "PHP", "source_code": "0) {\n $x = $x+1;\n}\nif ($m % $a>0) {\n $y = $y+1;\n}\nfprintf($x*$y);\n?>", "lang_cluster": "PHP", "compilation_error": true, "code_uid": "fec35525fd9578e84fafaf1cb3c0f1dc", "src_uid": "ef971874d8c4da37581336284b688517", "difficulty": 1000}
{"lang": "PHP", "source_code": "\n", "lang_cluster": "PHP", "compilation_error": true, "code_uid": "401e0276413a72968e7a3c2b5f8b8948", "src_uid": "230a3c4d7090401e5fa3c6b9d994cdf2", "difficulty": 800}
{"lang": "PHP", "source_code": "", "lang_cluster": "PHP", "compilation_error": true, "code_uid": "e4ed2f212b5422ce675d231dbc324f96", "src_uid": "230a3c4d7090401e5fa3c6b9d994cdf2", "difficulty": 800}
{"lang": "PHP", "source_code": "\";\n else\n echo \"YES
;\n?>", "lang_cluster": "PHP", "compilation_error": true, "code_uid": "17e23fd18aa0fd12de41b95c2462a308", "src_uid": "230a3c4d7090401e5fa3c6b9d994cdf2", "difficulty": 800}
{"lang": "PHP", "source_code": "", "lang_cluster": "PHP", "compilation_error": true, "code_uid": "9ed06fa3c45d17331eea33a6918f9546", "src_uid": "230a3c4d7090401e5fa3c6b9d994cdf2", "difficulty": 800}
{"lang": "PHP", "source_code": "", "lang_cluster": "PHP", "compilation_error": true, "code_uid": "95188d2f7959c637331c5497f4f8d86a", "src_uid": "230a3c4d7090401e5fa3c6b9d994cdf2", "difficulty": 800}
{"lang": "PHP", "source_code": " preg_match_all(\"/[a-z]/\", $str)?strtoupper($str):strtolower($str);\n?>", "lang_cluster": "PHP", "compilation_error": true, "code_uid": "113befad4e87e6207bfc551388ae06ce", "src_uid": "b432dfa66bae2b542342f0b42c0a2598", "difficulty": 800}
{"lang": "PHP", "source_code": "\n", "lang_cluster": "PHP", "compilation_error": true, "code_uid": "b186042a81e3140e06960109b702a725", "src_uid": "db9520e85b3e9186dd3a09ff8d1e8c1b", "difficulty": 1000}
{"lang": "PHP", "source_code": "", "lang_cluster": "PHP", "compilation_error": true, "code_uid": "f6e834ce52b92237c4adc379b8d6e04a", "src_uid": "78cf8bc7660dbd0602bf6e499bc6bb0d", "difficulty": 1000}
{"lang": "PHP", "source_code": "", "lang_cluster": "PHP", "compilation_error": true, "code_uid": "97554c5e39efba58af206c9e1ee44da7", "src_uid": "db0eb44d8cd8f293da407ba3adee10cf", "difficulty": 1000}
{"lang": "PHP", "source_code": "", "lang_cluster": "PHP", "compilation_error": true, "code_uid": "2db835a97ee390f3aea5ea7636a67641", "src_uid": "a8c14667b94b40da087501fd4bdd7818", "difficulty": 800}
{"lang": "PHP", "source_code": "", "lang_cluster": "PHP", "compilation_error": true, "code_uid": "034805926d3166136e849006ad11adab", "src_uid": "a8c14667b94b40da087501fd4bdd7818", "difficulty": 800}
{"lang": "PHP", "source_code": "", "lang_cluster": "PHP", "compilation_error": true, "code_uid": "8f89279b4bed7207c8696d76f7b452a6", "src_uid": "a8c14667b94b40da087501fd4bdd7818", "difficulty": 800}
{"lang": "PHP", "source_code": "", "lang_cluster": "PHP", "compilation_error": true, "code_uid": "822999f433534bdf7281f34e36486f29", "src_uid": "03caf4ddf07c1783e42e9f9085cc6efd", "difficulty": 800}
{"lang": "PHP", "source_code": "($s[1]*2))){\n break;\n }\n $s[0]=$s[0]*3;\n $s[1]=$s[1]*2;\n $years++;\n}\necho $years;\n?>", "lang_cluster": "PHP", "compilation_error": true, "code_uid": "507c2d08200c8df109df592654319465", "src_uid": "a1583b07a9d093e887f73cc5c29e444a", "difficulty": 800}
{"lang": "PHP", "source_code": "\n$a=fgets(STDIN);\n$h=strpos($a,h);\n$e=strpos($a,e,$h);\n$l=strpos($a,l,$e);\n$l2=strpos($a,l,$l);\n$o=strpos($a,l,$l2);\nif($h<$e<$l<$l2<$o)echo \"YES\";\nelse echo \"NO\";\n?>", "lang_cluster": "PHP", "compilation_error": true, "code_uid": "3597c68dd50a27f250be4cddcff3457f", "src_uid": "c5d19dc8f2478ee8d9cba8cc2e4cd838", "difficulty": 1000}
{"lang": "PHP", "source_code": "", "lang_cluster": "PHP", "compilation_error": true, "code_uid": "cb8baf6faddb62ee66721bea3fdadada", "src_uid": "ffeae332696a901813677bd1033cf01e", "difficulty": 800}
{"lang": "PHP", "source_code": "\nstream_set_blocking(STDIN, 0);\n\nfscanf(STDIN, \"%d \\n\", $k);\nfscanf(STDIN, \"%d \\n\", $l);\nfscanf(STDIN, \"%d \\n\", $m);\nfscanf(STDIN, \"%d \\n\", $n);\nfscanf(STDIN, \"%d \\n\", $d);\nfor($i=1;$i<=$d;$i++)\n {\n\n //print $i;\n if (($i%$k==0)||($i%$l==0)||($i%$m==0)||($i%$n==0)) \n {\n //print \" kraten \";\n /*if ($i%$k==0) print \" \".$k;\n if ($i%$l==0) print \" \".$l;\n if ($i%$m==0) print \" \".$m;\n if ($i%$n==0) print \" \".$n;*/\n $kol++;\n }\n// print \"\\n\";\n \n }\nprint \"$kol;\n?>", "lang_cluster": "PHP", "compilation_error": true, "code_uid": "3de7f2778203478a2135134503203a4b", "src_uid": "46bfdec9bfc1e91bd2f5022f3d3c8ce7", "difficulty": 800}
{"lang": "PHP", "source_code": "= 'A' && $in[$x] <= 'Z') {\n\t\t\t$flag = false;\n\t\t\tbreak;\n\t\t}\n\t}\n\tif ($flag) {\n\t\techo strtoupper(substr($in,0,1)).substr($in,1,$len-1);\n\t} else echo $in;", "lang_cluster": "PHP", "compilation_error": true, "code_uid": "edba83d0889edb82d1630a6624aa78ae", "src_uid": "29e0fc0c5c0e136ac8e58011c91397e4", "difficulty": 800}
{"lang": "PHP", "source_code": "", "lang_cluster": "PHP", "compilation_error": true, "code_uid": "f99479616bbda215e483604c86198496", "src_uid": "76c7312733ef9d8278521cf09d3ccbc8", "difficulty": 800}
{"lang": "PHP", "source_code": "", "lang_cluster": "PHP", "compilation_error": true, "code_uid": "a514703eb4f737255c100e919f7ba44a", "src_uid": "76c7312733ef9d8278521cf09d3ccbc8", "difficulty": 800}
{"lang": "PHP", "source_code": "\n$a=explode(\"+\",fgets(STDIN));\nsort($a);\nforeach($a as $v)\n {\n if(isset($c))echo \"+$v\";\n $c++;\n else echo $v;\n }\n?>", "lang_cluster": "PHP", "compilation_error": true, "code_uid": "20480b4d6d730b35e1ab9b960a88c84f", "src_uid": "76c7312733ef9d8278521cf09d3ccbc8", "difficulty": 800}
{"lang": "PHP", "source_code": "= $T ? 1 : 0);\n\t}\n\techo $ans;\n?>\n", "lang_cluster": "PHP", "compilation_error": true, "code_uid": "621819317020997d6964b727863c5c17", "src_uid": "4c978130187e8ae6ca013d3f781b064e", "difficulty": 1900}
{"lang": "PHP", "source_code": "1,'.'=>-1);\nfor($i=0;$i<3;$i++)\n for($j=0;$j<3;$j++)\n if(abs($m[$s[$i][$j]]+$m[$s[$i][$j+1]]+$m[$s[$i+1][$j]]+$m[$s[$i+1][$j+1]])==2){\n echo \"YES\";\n return;\n }\necho \"NO\";\nreturn;\n?>", "lang_cluster": "PHP", "compilation_error": true, "code_uid": "7cb85d0af046ad24477dee26e8ac65b6", "src_uid": "01b145e798bbdf0ca2ecc383676d79f3", "difficulty": 1100}
{"lang": "PHP", "source_code": "1,'.'=>-1);\n$a = \"NO\";\nfor($i=0;$i<3;$i++)\n\tfor($j=0;$j<3;$j++)\n\t\tif(abs($m[$s[$i*4+$j]]+$m[$s[$i*4+$j+1]]+$m[$s[($i+1)*4+$j]]+$m[$s[($i+1)*4+$j+1]])==2&&$a = \"YES\")\n\t\t\tbreak 2;\n\necho $a;\nreturn;\n?>", "lang_cluster": "PHP", "compilation_error": true, "code_uid": "8c4aff0bb3f3b7851693cdd8e5f608f6", "src_uid": "01b145e798bbdf0ca2ecc383676d79f3", "difficulty": 1100}
{"lang": "PHP", "source_code": "", "lang_cluster": "PHP", "compilation_error": true, "code_uid": "3429184f5c0207962922d46313bb834e", "src_uid": "3ad3b8b700f6f34b3a53fdb63af351a5", "difficulty": 1000}
{"lang": "PHP", "source_code": "", "lang_cluster": "PHP", "compilation_error": true, "code_uid": "e3a45b8701e6c1ef4f915ef0656588ef", "src_uid": "5b969b6f564df6f71e23d4adfb2ded74", "difficulty": 800}
{"lang": "PHP", "source_code": "bmit\nMy submissions\nStatus\nHacks\nRoom\nStandings\nCustom test\n \n \n \n \n My submissions \n \n #\tWhen\tWho\tProblem\tLang\tVerdict\tTime\tMemory\n2388517 \t Oct 19, 2012 11:01:12 PM \ttaka_taka \t B - Non-square Equation \t PHP \tTime limit exceeded on test 5 \t 1000 ms \t 0 KB \n\n\n \n \n \n \n My contest submissions \n \n #\tWhen\tWho\tProblem\tLang\tVerdict\tTime\tMemory\nNo items\n\n\nCodeforces (c) Copyright 2010-2012 Mike Mirzayanov\nThe only programming contests Web 2.0 platform\nServer time: 10/19/2012 11:26PM.By taka_taka, contest: Codeforces Round #144 (Div. 2), problem: (B) Non-square Equation, Time limit exceeded on test 5, # \nin();\n\t$N = $Input->in();\n\n\tfor ($i = max(1, (int)sqrt($N) - 1000000; $i <= (int)sqrt($N); $i++)\n\t{\n\t\tif ($N % $i !== 0) continue;\n\t\telse\n\t\t{\n\t\t\t$temp = $i;\n\t\t\t$ans = $temp;\n\t\t\t$sum = 0;\n\t\t\twhile ($temp > 0) \n\t\t\t{\n\t\t\t\t$sum += (int)($temp % 10);\n\t\t\t\t$temp = (int)($temp / 10);\n\t\t\t}\n\n\t\t\tif ($sum + $ans === intval($N / $i)) \n\t\t\t{\n\t\t\t\tprint($i);\n\t\t\t\texit;\n\t\t\t}\n\t\t}\n\t}\n\n\tprint(-1);\n\n\t$Input->close();\n}\n\nclass Input{\n\tprivate $handle = \"\";\n\tprivate $values = array();\n\tprivate $index = 0;\n\n\tpublic function __construct($localfile){\n\n\t\tif (is_file($localfile)) {\n\t\t\t\n\t\t\t$this->handle = fopen($localfile, \"r\");\n\t\t\t$contents = stream_get_contents($this->handle);\n\t\t\n\t\t} else {\n\t\t\n\t\t\t$contents = stream_get_contents(STDIN);\n\t\t\n\t\t}\n\t\t\n\t\t$no_newlines = str_replace(array(\"\\r\\n\", \"\\r\", \"\\n\"), \" \", $contents);\n\t\t$this->values = explode(\" \", $no_newlines);\n\t}\n\t\n\tpublic function in(){\n\t\n\t\treturn $this->values[$this->index++];\n\t\n\t}\n\t\n\tpublic function close(){\n\t\t\n\t\tif (is_file($localfile) && feof($this->handle)) fclose($this->handle);\n\t\t\n\t}\n}\n\n?>", "lang_cluster": "PHP", "compilation_error": true, "code_uid": "1ebd34b27a505b447eee5b6505cd10b6", "src_uid": "e1070ad4383f27399d31b8d0e87def59", "difficulty": 1400}
{"lang": "PHP", "source_code": "", "lang_cluster": "PHP", "compilation_error": true, "code_uid": "cafec04bdc6b755c863a3218e28a9433", "src_uid": "980f4094b3cfc647d6f74e840b1bfb62", "difficulty": 2100}
{"lang": "PHP", "source_code": "\n