解决了client不能运行

This commit is contained in:
sansan1307 2024-01-13 21:08:19 +08:00
parent 7b29344426
commit 5c5aa7e1da
7 changed files with 6 additions and 13 deletions

BIN
Judger/dist/Judger.jar vendored

Binary file not shown.

View File

@ -1,4 +1,4 @@
#Sat, 13 Jan 2024 20:25:29 +0800 #Sat, 13 Jan 2024 21:07:07 +0800
D\:\\SchoolStudy\\ojrepull\\DHUOJ\\client= D\:\\SchoolStudy\\ojrepull\\DHUOJ\\client=

View File

@ -1,5 +1,5 @@
#update config/config.properties #update Config.properties
#Sat Jan 13 20:25:41 CST 2024 #Sat Jan 13 09:47:55 CST 2024
isCppRelative=true isCppRelative=true
isJavaRelative=true isJavaRelative=true
Username=felix Username=felix
@ -8,7 +8,7 @@ URLip=106.15.36.190
relativeCCompilerDir=\\MinGW\\bin relativeCCompilerDir=\\MinGW\\bin
JavaRelative=-1 JavaRelative=-1
JavaCompileDir= JavaCompileDir=
Debug=1
MinGWRelative=1 MinGWRelative=1
relativeCppCompilerDir=\\MinGW\\bin Debug=1
URLport=80 URLport=80
relativeCppCompilerDir=\\MinGW\\bin

View File

@ -19,6 +19,3 @@
09:47:54 class java.io.FileNotFoundExceptionhttp://106.15.36.190:80/oj/SoftwareVersionMAction!DownLoad.action?versionId=null 09:47:54 class java.io.FileNotFoundExceptionhttp://106.15.36.190:80/oj/SoftwareVersionMAction!DownLoad.action?versionId=null
09:47:54 class java.io.FileNotFoundExceptionhttp://106.15.36.190:80/oj/SoftwareVersionMAction!DownLoad.action?versionId=null 09:47:54 class java.io.FileNotFoundExceptionhttp://106.15.36.190:80/oj/SoftwareVersionMAction!DownLoad.action?versionId=null
09:47:54 class java.io.FileNotFoundExceptionhttp://106.15.36.190:80/oj/SoftwareVersionMAction!DownLoad.action?versionId=null 09:47:54 class java.io.FileNotFoundExceptionhttp://106.15.36.190:80/oj/SoftwareVersionMAction!DownLoad.action?versionId=null
20:25:39 class java.io.FileNotFoundExceptionhttp://106.15.36.190:80/oj/SoftwareVersionMAction!DownLoad.action?versionId=null
20:25:39 class java.io.FileNotFoundExceptionhttp://106.15.36.190:80/oj/SoftwareVersionMAction!DownLoad.action?versionId=null
20:25:39 class java.io.FileNotFoundExceptionhttp://106.15.36.190:80/oj/SoftwareVersionMAction!DownLoad.action?versionId=null

View File

@ -1,8 +1,4 @@
<center><h1 style="font-family:verdana;color:blue">1.a/b 结果为AC示例</h1></center><center><p>&nbsp&nbsp时间限制1.0&nbsp&nbsp章节:分支结构</p></center><center><p>晚于2029-11-30 23:55:00.0&nbsp&nbsp后提交分数乘系数40.0%</p></center><center><p>截止时间2040-12-30 23:55:00</p></center><h2 style="font-family:verdana;color:blue">问题描述</h2><p>输入两个实数a和b计算a/b的值并输出。<br/>如果b为0则输出error否则输出结果保留两位小数。</p><p>&nbsp;</p><p>C语言代码如下<br/>#include &lt;stdio.h&gt;<br/>int main()<br/>{<br/>&nbsp;&nbsp;&nbsp; double <center><h1 style="font-family:verdana;color:blue">2.a/b 结果错误的示例</h1></center><center><p>&nbsp&nbsp时间限制1.0&nbsp&nbsp章节:分支结构</p></center><center><p>晚于2029-11-30 23:55:00.0&nbsp&nbsp后提交分数乘系数40.0%</p></center><center><p>截止时间2040-12-30 23:55:00</p></center><h2 style="font-family:verdana;color:blue">问题描述</h2><p style="white-space: normal;">输入两个实数a和b计算a/b的值并输出。<br/>如果b为0则输出error否则输出结果保留两位小数。</p><p style="white-space: normal;">&nbsp;</p><p style="white-space: normal;">如输入以下C语言代码<br/></p><p>#include &lt;stdio.h&gt;</p><p>int main()</p><p>{</p><p>&nbsp; &nbsp; double a,b,c;</p><p>&nbsp; &nbsp; while(scanf(&quot;%lf%lf&quot;, &amp;a, &amp;b) != EOF)</p><p>&nbsp; &nbsp; {</p><p>&nbsp; &nbsp; &nbsp; &nbsp; c=a/b;</p><p>&nbsp; &nbsp; &nbsp; &nbsp; printf(&quot;%.2f\n&quot;, c);</p><p>&nbsp; &nbsp; }</p><p>&nbsp; &nbsp; return 0;</p><p>}</p><p style="white-space: normal;">运行结果将为WA如下</p><p><img src="./image/20160308/1457408473277086998.png" style="" title="1457408473277086998.png"/></p><p>从这里可看到本题共有4个测试用例其中3个已经运行正确ID为3021的测试用例运行错误错误的详细信息可从下面的 “详细信息”中了解到。</p><p>对于某些考试(练习),点图中的问号可查看测试用例的提示,这样可知道测试用例的输入、正确的输出以及本程序的输出。</p><p>对于某些考试不是AC的代码也可提交给教师评分则点“提交本题”即可。比如本题的分数为47.5分则“提交本题”后本场考试总分增加47.5分。但注意,一旦“提交本题”,对于本题不可再修改代码然后提交。</p><p><br/></p><p>如输入以下C语言代码</p><p>#include &lt;stdio.h&gt;</p><p>int main()</p><p>{</p><p>&nbsp; &nbsp; double a,b,c;</p><p>&nbsp; &nbsp; while(scanf(&quot;%lf%lf&quot;, &amp;a, &amp;b) != EOF)</p><p>&nbsp; &nbsp; {</p><p>&nbsp; &nbsp; &nbsp; &nbsp; c=a/b;</p><p>&nbsp; &nbsp; &nbsp; &nbsp; printf(&quot;%.2f\n&quot;, c);</p><p>&nbsp; &nbsp; }</p><p>}</p><p>由于程序没return 0所以结果将为RE运行结果如下</p><p><img src="./image/20160308/1457408473314071490.png" style="" title="1457408473314071490.png"/></p><p>本程序由于所有测试用例均不正确,则系统无法给分。如果“提交本题”,将由教师人工评分。</p><p><br/></p><h2 style="font-family:verdana;color:blue">输入说明</h2><h2 style="font-family:verdana;color:blue">输出说明</h2><h2 style="font-family:verdana;color:blue">输入范例</h2><textarea wrap="off" style="font-family:'宋体';width:100%" rows="4">1 0
a,b,c;<br/>&nbsp;&nbsp;&nbsp; while(scanf(&quot;%lf%lf&quot;, &amp;a, &amp;b) != EOF)<br/>&nbsp;&nbsp;&nbsp; {<br/>&nbsp;&nbsp;&nbsp; if
(b!=0)<br/>&nbsp;&nbsp;&nbsp; {<br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; c=a/b;<br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; printf(&quot;%.2f\n&quot;, c);<br/>&nbsp;&nbsp;&nbsp;
}<br/>&nbsp;&nbsp;&nbsp; else<br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; printf(&quot;error\n&quot;);<br/>&nbsp;&nbsp;&nbsp; }</p><p>&nbsp; &nbsp; return 0;<br/>}</p><p>将以上代码复制到提交框中运行结果将为AC正确可看到所有测试用例运行都正确。<br/></p><p>此时,系统将自动提交本题,在左侧的题目列表中,本题将变灰。</p><h2 style="font-family:verdana;color:blue">输入说明</h2><p>你写的程序要求从标准输入设备中读入测试数据作为你所写程序的输入数据。标准输入设备中有多组测试数据每组测试数据仅占一行每行有两个实数a和b。每组测试数据与其后一组测试数据之间没有任何空行第一组测试数据前面以及最后一组测试数据后面也都没有任何空行。<br/></p><p><br/></p><h2 style="font-family:verdana;color:blue">输出说明</h2><p>对于每一组测试数据你写的程序要求计算并输出运算结果。如果b为0则输出error否则输出结果保留两位小数。<br/>每组运算结果单独占一行,其行首和行尾都没有任何空格或其他任何字符,每组运算结果与其后一组运算结果之间没有任何空行或其他任何字符,第一组运算结果前面以及最后一组运算结果后面也都没有任何空行或其他任何字符。
注:通常,显示屏为标准输出设备。</p><p><br/></p><h2 style="font-family:verdana;color:blue">输入范例</h2><textarea wrap="off" style="font-family:'宋体';width:100%" rows="4">1 0
1 2 1 2
</textarea><h2 style="font-family:verdana;color:blue">输出范例</h2><textarea wrap="off" style="font-family:'宋体';width:100%" rows="4">error </textarea><h2 style="font-family:verdana;color:blue">输出范例</h2><textarea wrap="off" style="font-family:'宋体';width:100%" rows="4">error
0.50 0.50

Binary file not shown.