/ Vijos /

记录详情

Accepted

/in/foo.cc: In function 'int main()':
/in/foo.cc:142:51: warning: operation on 'xs[5][i]' may be undefined [-Wsequence-point]
  for (int i=5;i<=5;i++) xs[i][5]=xs[i][5]=xs[5][i]=xs[5][i]=10;
                                           ~~~~~~~~^~~~~~~~~~~~
/in/foo.cc:142:33: warning: operation on 'xs[i][5]' may be undefined [-Wsequence-point]
  for (int i=5;i<=5;i++) xs[i][5]=xs[i][5]=xs[5][i]=xs[5][i]=10;
                         ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/in/foo.cc: In function 'void sol(int)':
/in/foo.cc:14:8: warning: 'y' may be used uninitialized in this function [-Wmaybe-uninitialized]
  int x,y;
        ^
/in/foo.cc:74:43: warning: 'x' may be used uninitialized in this function [-Wmaybe-uninitialized]
   for (int k=a[x][y].gs[0];k<=a[x][y].gs[1];k++) for (int l=a[x][y].gs[2];l<=a[x][y].gs[3];l++) if (a[k][l].kn[ans[x][y]])
                               ~~~~~~~~~~~~^
# 状态 耗时 内存占用
#1 Accepted 1ms 224.0 KiB
#2 Accepted 2ms 348.0 KiB
#3 Accepted 1ms 356.0 KiB
#4 Accepted 1ms 352.0 KiB
#5 Accepted 3ms 356.0 KiB
#6 Accepted 1ms 224.0 KiB
#7 Accepted 1ms 232.0 KiB
#8 Accepted 1ms 348.0 KiB
#9 Accepted 7ms 376.0 KiB
#10 Accepted 3ms 340.0 KiB
#11 Accepted 19ms 372.0 KiB
#12 Accepted 2ms 344.0 KiB
#13 Accepted 47ms 372.0 KiB
#14 Accepted 58ms 392.0 KiB
#15 Accepted 44ms 376.0 KiB
#16 Accepted 68ms 388.0 KiB
#17 Accepted 167ms 392.0 KiB
#18 Accepted 101ms 344.0 KiB
#19 Accepted 106ms 388.0 KiB
#20 Accepted 153ms 388.0 KiB

信息

递交者
类型
递交
题目
P1755 靶形数独
语言
C++
递交时间
2019-07-31 01:50:37
评测时间
2019-07-31 01:50:37
评测机
分数
100
总耗时
796ms
峰值内存
392.0 KiB