/ Vijos /

记录详情

Accepted

/in/foo.c: In function 'main':
/in/foo.c:50:14: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long int' [-Wformat=]
     printf("%d",sum);
              ^
/in/foo.c:49:5: warning: 'flag' may be used uninitialized in this function [-Wmaybe-uninitialized]
     printf("%d\n",student[flag].money);
     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# 状态 耗时 内存占用
#1 Accepted 0ms 228.0 KiB
#2 Accepted 0ms 224.0 KiB
#3 Accepted 0ms 224.0 KiB
#4 Accepted 0ms 128.0 KiB
#5 Accepted 0ms 224.0 KiB
#6 Accepted 0ms 228.0 KiB
#7 Accepted 0ms 220.0 KiB
#8 Accepted 0ms 228.0 KiB
#9 Accepted 0ms 224.0 KiB
#10 Accepted 0ms 128.0 KiB

信息

递交者
类型
递交
题目
P1001 谁拿了最多奖学金
语言
C
递交时间
2019-07-15 20:11:47
评测时间
2019-07-15 20:11:47
评测机
分数
100
总耗时
6ms
峰值内存
228.0 KiB