From 5c5aa7e1da491f3aad573f26e070f9141fbdb3a3 Mon Sep 17 00:00:00 2001 From: sansan1307 <121425928+sansan1307@users.noreply.github.com> Date: Sat, 13 Jan 2024 21:08:19 +0800 Subject: [PATCH] =?UTF-8?q?=E8=A7=A3=E5=86=B3=E4=BA=86client=E4=B8=8D?= =?UTF-8?q?=E8=83=BD=E8=BF=90=E8=A1=8C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Judger/dist/Judger.jar | Bin 106661 -> 106661 bytes client/build/built-jar.properties | 2 +- client/config/Config.properties | 8 ++++---- client/log/exception/20240113.log | 3 --- client/problem.html | 6 +----- client/xml/1000000000/examlist.dat | Bin 824 -> 824 bytes .../xml/1000000000/studentExamDetail_26.dat | Bin 648 -> 648 bytes 7 files changed, 6 insertions(+), 13 deletions(-) diff --git a/Judger/dist/Judger.jar b/Judger/dist/Judger.jar index e322e92ef6c72f690073df3193926d77fbb63684..0353106cf0a9fade9e118f1d8a40a883f3977519 100644 GIT binary patch delta 153 zcmZ2_kZtKfHl6@)W)?061`Y;>%PS`GXfj<|vC&+bk;!t&=TBlR14%re#K;L!I{njR kMl%pCGnr9lyW14T3a|kOrZVzyfrQV^XY>WpvI`hH0N6z{ZU6uP delta 153 zcmZ2_kZtKfHl6@)W)?061`Y;>Hw!27XfnNCxY1mik?GFD$svq8K@>le8j#v-&h$YH zNH=RrZr7A#oDNd4{g4!6Z!(AxSjYHKnCZ>J=_ZpHErCW%&!5Ct29kI_iIEeebo!^s ljAkHOW-_D9cDE^v6<`AnOl9QZ0tug+&*%%HWfw4Z008QvJ2n6S 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,否则输出结果,保留两位小数。
每组运算结果单独占一行,其行首和行尾都没有任何空格或其他任何字符,每组运算结果与其后一组运算结果之间没有任何空行或其他任何字符,第一组运算结果前面以及最后一组运算结果后面也都没有任何空行或其他任何字符。 -注:通常,显示屏为标准输出设备。


输入范例

输出范例