/ Vijos /

记录详情

Wrong Answer

foo.cc: In function 'void rd(T&)':
foo.cc:16:3: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
   16 |   for(x=numb;isdigit(ch=getchar());x=x*10+numb);(fl==true)&&(x=-x);}
      |   ^~~
foo.cc:16:49: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for'
   16 |   for(x=numb;isdigit(ch=getchar());x=x*10+numb);(fl==true)&&(x=-x);}
      |                                                 ^
foo.cc: In function 'int Miracle::main()':
foo.cc:53:14: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
   53 |         scanf("%d%d",&l,&r);
      |         ~~~~~^~~~~~~~~~~~~~
foo.cc:54:14: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
   54 |         scanf("%s",s);
      |         ~~~~~^~~~~~~~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Accepted 3ms 384.0 KiB
#2 Accepted 3ms 384.0 KiB
#3 Accepted 2ms 384.0 KiB
#4 Wrong Answer Read 10, expect 9. 2ms 384.0 KiB
#5 Accepted 4ms 384.0 KiB
#6 Wrong Answer Read 100, expect 4950. 2ms 384.0 KiB
#7 Accepted 6ms 1.0 MiB
#8 Accepted 2ms 384.0 KiB
#9 Accepted 4ms 640.0 KiB
#10 Wrong Answer Read 605, expect 4501. 4ms 512.0 KiB

信息

递交者
类型
递交
题目
P1112 小胖的奇偶
语言
C++
递交时间
2022-06-05 16:59:44
评测时间
2022-06-05 16:59:44
评测机
分数
70
总耗时
38ms
峰值内存
1.0 MiB