/ Vijos /

记录详情

Accepted

foo.cc: In function 'int main()':
foo.cc:83:37: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
   83 |   for (int i = 2; i <= 9; i++) scanf("%d", &Matrix[i]);
      |                                ~~~~~^~~~~~~~~~~~~~~~~~
foo.cc: In function 'void bfs()':
foo.cc:27:13: warning: 'nowjz[1]' may be used uninitialized in this function [-Wmaybe-uninitialized]
   27 |  if (nowjz[1] + nowjz[5] + nowjz[9] != 15) return false;
      |      ~~~~~~~^
foo.cc:27:24: warning: 'nowjz[5]' may be used uninitialized in this function [-Wmaybe-uninitialized]
   27 |  if (nowjz[1] + nowjz[5] + nowjz[9] != 15) return false;
      |                 ~~~~~~~^
foo.cc:27:35: warning: 'nowjz[9]' may be used uninitialized in this function [-Wmaybe-uninitialized]
   27 |  if (nowjz[1] + nowjz[5] + nowjz[9] != 15) return false;
      |                            ~~~~~~~^
foo.cc:28:13: warning: 'nowjz[7]' may be used uninitialized in this function [-Wmaybe-uninitialized]
   28 |  if (nowjz[7] + nowjz[8] + nowjz[9] != 15) return false;
      |      ~~~~~~~^
foo.cc:28:24: warning: 'nowjz[8]' may be used uninitialized in this function [-Wmaybe-uninitialized]
   28 |  if (nowjz[7] + nowjz[8] + nowjz[9] != 15) return false;
      |                 ~~~~~~~^
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Accepted 350ms 2.492 MiB
#2 Accepted 298ms 2.504 MiB
#3 Accepted 596ms 2.539 MiB
#4 Accepted 347ms 2.559 MiB
#5 Accepted 515ms 2.691 MiB
#6 Accepted 555ms 2.543 MiB
#7 Accepted 377ms 2.492 MiB
#8 Accepted 406ms 2.492 MiB
#9 Accepted 372ms 2.488 MiB
#10 Accepted 340ms 2.492 MiB

信息

递交者
类型
递交
题目
P1029 晴天小猪历险记之Number
语言
C++
递交时间
2021-12-21 23:39:08
评测时间
2021-12-21 23:39:08
评测机
分数
100
总耗时
4161ms
峰值内存
2.691 MiB