/ Vijos /

记录详情

Accepted

foo.cc: In function 'int read()':
foo.cc:18:5: warning: this 'while' clause does not guard... [-Wmisleading-indentation]
     while(ch=getchar(),!isdigit(ch)) if(ch=='-') f=-1;x=(ch^48);
     ^~~~~
foo.cc:18:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'while'
     while(ch=getchar(),!isdigit(ch)) if(ch=='-') f=-1;x=(ch^48);
                                                       ^
foo.cc: In function 'int main()':
foo.cc:53:7: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
  scanf("%lf",&s);
  ~~~~~^~~~~~~~~~
foo.cc:58:8: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
   scanf("%lf",&z);
   ~~~~~^~~~~~~~~~

自豪的采用 HydroJudge 进行评测(github.com/hydro-dev/HydroJudge)
正在同步测试数据,请稍后
{"receive":"2020-07-16T00:27:09.535Z","handle":"2020-07-16T00:27:09.535Z","cache_start":"2020-07-16T00:27:09.541Z","read_cases":"2020-07-16T00:27:15.099Z","judge":"2020-07-16T00:27:15.099Z","done":"2020-07-16T00:27:16.714Z"}
# 状态 耗时 内存占用
#1 Accepted 24ms 1.039 MiB
#2 Accepted 11ms 588.0 KiB
#3 Accepted 48ms 1.785 MiB
#4 Accepted 35ms 1.258 MiB
#5 Accepted 55ms 2.207 MiB
#6 Accepted 54ms 2.207 MiB
#7 Accepted 54ms 2.211 MiB
#8 Accepted 51ms 1.801 MiB
#9 Accepted 51ms 1.848 MiB
#10 Accepted 1ms 256.0 KiB

信息

递交者
类型
递交
题目
P1045 Kerry 的电缆网络
语言
C++
递交时间
2020-07-16 08:27:09
评测时间
2020-07-16 08:27:09
评测机
分数
100
总耗时
387ms
峰值内存
2.211 MiB