/ Vijos /

记录详情

Wrong Answer

/in/foo.cc: In function 'int main()':
/in/foo.cc:16:91: warning: format '%s' expects argument of type 'char*', but argument 2 has type 'char (*)[20]' [-Wformat=]
             scanf("%s %d %d %c %c %d\n",&q[i].name,&q[i].a,&q[i].b,&q[i].s,&q[i].w,&q[i].d);
                                                                                           ^
/in/foo.cc:19:20: warning: 'maxs' may be used uninitialized in this function [-Wmaybe-uninitialized]
         int maxn=0,maxs,ans=0;
                    ^~~~
# 状态 耗时 内存占用
#1 Wrong Answer 3ms 256.0 KiB
#2 Wrong Answer 2ms 332.0 KiB
#3 Wrong Answer 1ms 372.0 KiB
#4 Wrong Answer 1ms 372.0 KiB
#5 Wrong Answer 3ms 260.0 KiB
#6 Wrong Answer 1ms 256.0 KiB
#7 Wrong Answer 3ms 384.0 KiB
#8 Wrong Answer 2ms 372.0 KiB
#9 Wrong Answer 1ms 328.0 KiB
#10 Wrong Answer 2ms 344.0 KiB

信息

递交者
类型
递交
题目
P1001 谁拿了最多奖学金
语言
C++
递交时间
2017-06-16 11:59:07
评测时间
2017-06-16 11:59:07
评测机
分数
0
总耗时
24ms
峰值内存
384.0 KiB