记录详情

Wrong Answer

foo.cc: In function 'void cal(int, int)':
foo.cc:27:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
   27 |     if(a>=b)
      |     ^~
foo.cc:29:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
   29 |         con=a*10/b;
      |         ^~~
foo.cc:19:11: warning: unused variable 'j' [-Wunused-variable]
   19 |     int i,j;
      |           ^
foo.cc: In function 'int main()':
foo.cc:61:14: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
   61 |         scanf("%d%d",&a,&b);
      |         ~~~~~^~~~~~~~~~~~~~
foo.cc:62:14: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
   62 |         scanf("%d%d",&a1,&b1);
      |         ~~~~~^~~~~~~~~~~~~~~~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Wrong Answer Read 1.(142857), expect 0.(142857). 2ms 384.0 KiB
#2 Accepted 1ms 384.0 KiB
#3 Wrong Answer Read 6.(923076), expect 0.(923076). 2ms 384.0 KiB
#4 Accepted 2ms 384.0 KiB
#5 Accepted 2ms 384.0 KiB

信息

递交者
类型
递交
题目
A11-5 小数的循环节
比赛
2022暑期青少年社团(训练赛)
语言
C++
递交时间
2022-08-07 18:18:45
评测时间
2022-08-07 18:18:45
评测机
分数
60
总耗时
12ms
峰值内存
384.0 KiB