/ Vijos /

记录详情

Wrong Answer

/in/foo.cc: In function 'int main()':
/in/foo.cc:6:17: warning: unused variable 'mid' [-Wunused-variable]
  int n, a[101], mid, all, ans;
                 ^~~
/in/foo.cc:19:19: warning: 'ans' may be used uninitialized in this function [-Wmaybe-uninitialized]
  printf("%d", ans);
                   ^
/in/foo.cc:10:27: warning: 'all' may be used uninitialized in this function [-Wmaybe-uninitialized]
   scanf("%d", &a[i]), all += a[i];
                       ~~~~^~~~~~~
# 状态 耗时 内存占用
#1 Wrong Answer 1ms 416.0 KiB
#2 Wrong Answer 1ms 392.0 KiB
#3 Wrong Answer 2ms 372.0 KiB
#4 Wrong Answer 1ms 372.0 KiB
#5 Wrong Answer 1ms 340.0 KiB

信息

递交者
类型
递交
题目
P1123 均分纸牌
语言
C++
递交时间
2024-01-22 16:21:09
评测时间
2024-01-22 16:21:09
评测机
分数
0
总耗时
9ms
峰值内存
416.0 KiB