/ Vijos /

记录详情

Accepted

foo.c: In function 'main':
foo.c:8:10: warning: format '%s' expects argument of type 'char *', but argument 2 has type 'char (*)[20]' [-Wformat=]
  scanf("%s",&s);
         ~^  ~~
foo.c:7:2: warning: ignoring return value of 'scanf', declared with attribute warn_unused_result [-Wunused-result]
  scanf("%d",&n);
  ^~~~~~~~~~~~~~
foo.c:8:2: warning: ignoring return value of 'scanf', declared with attribute warn_unused_result [-Wunused-result]
  scanf("%s",&s);
  ^~~~~~~~~~~~~~
# 状态 耗时 内存占用
#1 Accepted 0ms 256.0 KiB
#2 Accepted 0ms 284.0 KiB
#3 Accepted 0ms 284.0 KiB
#4 Accepted 1ms 288.0 KiB

信息

递交者
类型
递交
题目
P1304 回文数
语言
C
递交时间
2021-02-03 13:36:48
评测时间
2021-02-03 13:36:48
评测机
分数
100
总耗时
3ms
峰值内存
288.0 KiB