/ Vijos /

记录详情

Wrong Answer

/in/foo.c: In function 'main':
/in/foo.c:16:11: warning: format '%c' expects argument of type 'char *', but argument 2 has type 'int' [-Wformat=]
   scanf("%c %d %d %c %c %d\n",name,&fscore,&cscore,&isvip,&iswest,&sciNum);
           ^
/in/foo.c:6:6: warning: unused variable 'sumBUD' [-Wunused-variable]
  int sumBUD,sumAll=0;
      ^~~~~~
/in/foo.c:16:3: warning: 'name' may be used uninitialized in this function [-Wmaybe-uninitialized]
   scanf("%c %d %d %c %c %d\n",name,&fscore,&cscore,&isvip,&iswest,&sciNum);
   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# 状态 耗时 内存占用
#1 Wrong Answer 1ms 228.0 KiB
#2 Wrong Answer 0ms 200.0 KiB
#3 Wrong Answer 0ms 208.0 KiB
#4 Wrong Answer 0ms 196.0 KiB
#5 Wrong Answer 0ms 244.0 KiB
#6 Wrong Answer 0ms 248.0 KiB
#7 Wrong Answer 0ms 208.0 KiB
#8 Wrong Answer 0ms 328.0 KiB
#9 Wrong Answer 1ms 224.0 KiB
#10 Wrong Answer 0ms 196.0 KiB

信息

递交者
类型
递交
题目
P1001 谁拿了最多奖学金
语言
C
递交时间
2024-11-03 23:16:40
评测时间
2024-11-03 23:16:40
评测机
分数
0
总耗时
8ms
峰值内存
328.0 KiB