/ JoyAc /

记录详情

Wrong Answer

foo.c: In function 'main':
foo.c:15:9: warning: format '%s' expects argument of type 'char *', but argument 2 has type 'char (*)[50]' [-Wformat=]
   15 | scanf("%s%d%d %c %c %d",&a[i].name,&a[i].data,
      |        ~^               ~~~~~~~~~~
      |         |               |
      |         char *          char (*)[50]
foo.c:13:4: warning: ignoring return value of 'scanf', declared with attribute warn_unused_result [-Wunused-result]
   13 |    scanf("%d",&n);
      |    ^~~~~~~~~~~~~~
foo.c:15:1: warning: ignoring return value of 'scanf', declared with attribute warn_unused_result [-Wunused-result]
   15 | scanf("%s%d%d %c %c %d",&a[i].name,&a[i].data,
      | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   16 | &a[i].pin,&a[i].a1,&a[i].a2,&a[i].wen);
      | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Accepted 3ms 256.0 KiB
#2 Wrong Answer 3,4d2 < 315050XWWpW < 15850 3ms 384.0 KiB
#3 Accepted 2ms 256.0 KiB
#4 Accepted 2ms 256.0 KiB
#5 Accepted 2ms 256.0 KiB
#6 Accepted 2ms 256.0 KiB
#7 Accepted 2ms 256.0 KiB
#8 Accepted 8ms 256.0 KiB
#9 Wrong Answer 3,4d2 < 249600GqsbbvwAF < 1200 1ms 256.0 KiB
#10 Accepted 1ms 256.0 KiB

信息

递交者
类型
递交
题目
P1001 谁拿了最多奖学金
语言
C
递交时间
2021-12-18 12:07:01
评测时间
2021-12-18 13:00:53
评测机
分数
80
总耗时
31ms
峰值内存
384.0 KiB