/ Vijos /

记录详情

Wrong Answer

/in/foo.cc: In function 'int main()':
/in/foo.cc:17:56: warning: format '%s' expects argument of type 'char*', but argument 2 has type 'char (*)[22]' [-Wformat=]
   scanf("%s %d %d %c %c %d",&name,&s,&s2,&yn1,&yn2,&num);
                                                        ^
/in/foo.cc:30:21: warning: 'maxs' may be used uninitialized in this function [-Wmaybe-uninitialized]
  printf("%d\n",maxs);
                     ^
# 状态 耗时 内存占用
#1 Accepted 1ms 312.0 KiB
#2 Accepted 1ms 320.0 KiB
#3 Wrong Answer 2ms 332.0 KiB
#4 Accepted 1ms 312.0 KiB
#5 Accepted 1ms 332.0 KiB
#6 Wrong Answer 2ms 316.0 KiB
#7 Accepted 1ms 320.0 KiB
#8 Wrong Answer 1ms 316.0 KiB
#9 Wrong Answer 1ms 320.0 KiB
#10 Wrong Answer 1ms 316.0 KiB

信息

递交者
类型
递交
题目
P1001 谁拿了最多奖学金
语言
C++
递交时间
2017-06-06 18:12:09
评测时间
2017-06-06 18:12:09
评测机
分数
50
总耗时
18ms
峰值内存
332.0 KiB