/ Vijos /

记录详情

Runtime Error

/in/foo.c: In function 'main':
/in/foo.c:22:11: warning: format '%s' expects argument of type 'char *', but argument 2 has type 'char (*)[25]' [-Wformat=]
   scanf("%s", &a[i].name);
          ~^   ~~~~~~~~~~
/in/foo.c:25:11: warning: format '%c' expects argument of type 'char *', but argument 2 has type 'char (*)[2]' [-Wformat=]
   scanf("%c", &a[i].str1); 
          ~^   ~~~~~~~~~~
/in/foo.c:26:11: warning: format '%c' expects argument of type 'char *', but argument 2 has type 'char (*)[2]' [-Wformat=]
   scanf("%c", &a[i].str2);
          ~^   ~~~~~~~~~~
# 状态 耗时 内存占用
#1 Runtime Error 2ms 204.0 KiB
#2 Wrong Answer 1ms 196.0 KiB
#3 Runtime Error 1ms 196.0 KiB
#4 Runtime Error 1ms 212.0 KiB
#5 Runtime Error 1ms 196.0 KiB
#6 Runtime Error 1ms 200.0 KiB
#7 Runtime Error 1ms 204.0 KiB
#8 Wrong Answer 0ms 200.0 KiB
#9 Runtime Error 0ms 192.0 KiB
#10 Wrong Answer 1ms 208.0 KiB

信息

递交者
类型
递交
题目
P1001 谁拿了最多奖学金
语言
C
递交时间
2017-10-19 20:27:56
评测时间
2017-10-19 20:27:56
评测机
分数
0
总耗时
13ms
峰值内存
212.0 KiB