评测服务器有问题时得提示

yuanke_1
yuanke 10 years ago
parent dea947e9ce
commit 3af257eb77

@ -92,7 +92,14 @@ $(function(){
test_post(i+1);
}
);
).fail(function(xhr, status){
if(status == 'timeout'){
alert("您的答案超时了, 请检查代码是否存在死循环的错误.");
} else {
alert("测试失败,服务器出错.");
return;
}
});
};
test_post(1);

Loading…
Cancel
Save