/ Vijos /

记录详情

Runtime Error

/in/foo.cc: In function 'int main()':
/in/foo.cc:26:97: warning: format '%s' expects argument of type 'char*', but argument 2 has type 'char (*)[10000]' [-Wformat=]
   scanf("%s %d %d %c %c %d",&bj[i].xm,&bj[i].pjcj,&bj[i].pycj,&bj[i].xsgb,&bj[i].xbxs,&bj[i].lws);
                             ~~~~~~~~~                                                           ^
# 状态 耗时 内存占用
#1 Runtime Error 23ms 2.469 MiB
#2 Runtime Error 22ms 1016.0 KiB
#3 Runtime Error 21ms 1.094 MiB
#4 Runtime Error 22ms 2.969 MiB
#5 Runtime Error 21ms 2.582 MiB
#6 Runtime Error 23ms 2.609 MiB
#7 Runtime Error 22ms 1012.0 KiB
#8 Runtime Error 19ms 2.363 MiB
#9 Runtime Error 21ms 1020.0 KiB
#10 Runtime Error 18ms 768.0 KiB

信息

递交者
类型
递交
题目
P1001 谁拿了最多奖学金
语言
C++
递交时间
2017-10-29 15:30:58
评测时间
2017-10-29 15:30:58
评测机
分数
0
总耗时
216ms
峰值内存
2.969 MiB