diff --git a/Judger/dist/Judger.jar b/Judger/dist/Judger.jar index e322e92..0353106 100644 Binary files a/Judger/dist/Judger.jar and b/Judger/dist/Judger.jar differ diff --git a/client/build/built-jar.properties b/client/build/built-jar.properties index 970722c..8e42bdc 100644 --- a/client/build/built-jar.properties +++ b/client/build/built-jar.properties @@ -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= diff --git a/client/config/Config.properties b/client/config/Config.properties index ed4d6b9..dfc4c7a 100644 --- a/client/config/Config.properties +++ b/client/config/Config.properties @@ -1,5 +1,5 @@ -#update config/config.properties -#Sat Jan 13 20:25:41 CST 2024 +#update Config.properties +#Sat Jan 13 09:47:55 CST 2024 isCppRelative=true isJavaRelative=true Username=felix @@ -8,7 +8,7 @@ URLip=106.15.36.190 relativeCCompilerDir=\\MinGW\\bin JavaRelative=-1 JavaCompileDir= -Debug=1 MinGWRelative=1 -relativeCppCompilerDir=\\MinGW\\bin +Debug=1 URLport=80 +relativeCppCompilerDir=\\MinGW\\bin diff --git a/client/log/exception/20240113.log b/client/log/exception/20240113.log index d2a4a5f..3cf02a7 100644 --- a/client/log/exception/20240113.log +++ b/client/log/exception/20240113.log @@ -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 -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 diff --git a/client/problem.html b/client/problem.html index 94258e6..ff07aad 100644 --- a/client/problem.html +++ b/client/problem.html @@ -1,8 +1,4 @@ -

1.a/b 结果为AC示例

  时间限制:1.0  章节:分支结构

晚于:2029-11-30 23:55:00.0  后提交分数乘系数40.0%

截止时间:2040-12-30 23:55:00

问题描述

输入两个实数a和b,计算a/b的值,并输出。
如果b为0,则输出error,否则输出结果,保留两位小数。

 

C语言代码如下:
#include <stdio.h>
int main()
{
    double -a,b,c;
    while(scanf("%lf%lf", &a, &b) != EOF)
    {
    if -(b!=0)
    {
        c=a/b;
        printf("%.2f\n", c);
    -}
    else
        printf("error\n");
    }

    return 0;
}

将以上代码复制到提交框中,运行结果将为AC(正确),可看到所有测试用例运行都正确。

此时,系统将自动提交本题,在左侧的题目列表中,本题将变灰。

输入说明

你写的程序要求从标准输入设备中读入测试数据作为你所写程序的输入数据。标准输入设备中有多组测试数据,每组测试数据仅占一行,每行有两个实数a和b。每组测试数据与其后一组测试数据之间没有任何空行,第一组测试数据前面以及最后一组测试数据后面也都没有任何空行。


输出说明

对于每一组测试数据,你写的程序要求计算并输出运算结果。如果b为0,则输出error,否则输出结果,保留两位小数。
每组运算结果单独占一行,其行首和行尾都没有任何空格或其他任何字符,每组运算结果与其后一组运算结果之间没有任何空行或其他任何字符,第一组运算结果前面以及最后一组运算结果后面也都没有任何空行或其他任何字符。 -注:通常,显示屏为标准输出设备。


输入范例

输出范例