记录详情

Wrong Answer

foo.cc: In function 'int main()':
foo.cc:62:16: warning: format '%s' expects argument of type 'char*', but argument 2 has type 'char (*)[64]' [-Wformat=]
  scanf("%s",&ru);
             ~~~^
foo.cc: In function 'int c2ib(char)':
foo.cc:54:1: warning: control reaches end of non-void function [-Wreturn-type]
 }
 ^
foo.cc: In function 'int main()':
foo.cc:61:7: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
  scanf("%d",&jz);
  ~~~~~^~~~~~~~~~
foo.cc:62:7: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
  scanf("%s",&ru);
  ~~~~~^~~~~~~~~~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Wrong Answer Read STEP=5, expect STEP=4. 2ms 384.0 KiB
#2 Wrong Answer Read STEP=7, expect STEP=6. 1ms 384.0 KiB
#3 Wrong Answer Read STEP=25, expect STEP=24. 2ms 384.0 KiB
#4 Accepted 1ms 384.0 KiB

信息

递交者
类型
递交
题目
P1024 回文数
语言
C++
递交时间
2021-09-03 20:06:24
评测时间
2021-09-03 20:06:24
评测机
分数
25
总耗时
8ms
峰值内存
384.0 KiB