/ Vijos /

记录详情

Accepted

/in/foo.cc: In function 'int main()':
/in/foo.cc:20:67: warning: format '%s' expects argument of type 'char*', but argument 2 has type 'char (*)[30]' [-Wformat=]
 scanf("%s%d%d %c %c%d",&name,&grade1,&grade2,&cadres,&west,&number);
                                                                   ^
/in/foo.cc:43:36: warning: 'max' may be used uninitialized in this function [-Wmaybe-uninitialized]
 printf("%s\n%d\n%d\n",temp,max,sum);
                                    ^
# 状态 耗时 内存占用
#1 Accepted 4ms 360.0 KiB
#2 Accepted 4ms 376.0 KiB
#3 Accepted 3ms 384.0 KiB
#4 Accepted 3ms 256.0 KiB
#5 Accepted 3ms 344.0 KiB
#6 Accepted 3ms 384.0 KiB
#7 Accepted 3ms 360.0 KiB
#8 Accepted 4ms 256.0 KiB
#9 Accepted 4ms 360.0 KiB
#10 Accepted 3ms 380.0 KiB

信息

递交者
类型
递交
题目
P1001 谁拿了最多奖学金
语言
C++
递交时间
2017-12-04 21:43:56
评测时间
2017-12-04 21:43:56
评测机
分数
100
总耗时
39ms
峰值内存
384.0 KiB