/ Vijos /

记录详情

Accepted

/in/foo.cc: In function 'void fang(int, int, int, int)':
/in/foo.cc:11:9: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else]
  else if(r!=1&&c!=n)if(!a[c+1][r-1]){rr=r-1;cc=c+1;}
         ^
/in/foo.cc:13:11: warning: 'cc' may be used uninitialized in this function [-Wmaybe-uninitialized]
  a[cc][rr]=cur;
  ~~~~~~~~~^~~~
/in/foo.cc:13:11: warning: 'rr' may be used uninitialized in this function [-Wmaybe-uninitialized]
# 状态 耗时 内存占用
#1 Accepted 3ms 316.0 KiB
#2 Accepted 2ms 308.0 KiB
#3 Accepted 1ms 316.0 KiB
#4 Accepted 1ms 324.0 KiB
#5 Accepted 1ms 308.0 KiB
#6 Accepted 1ms 308.0 KiB
#7 Accepted 1ms 324.0 KiB
#8 Accepted 1ms 312.0 KiB
#9 Accepted 1ms 312.0 KiB
#10 Accepted 1ms 324.0 KiB

信息

递交者
类型
递交
题目
P1978 神奇的幻方
语言
C++
递交时间
2017-10-05 10:23:54
评测时间
2017-10-05 10:23:54
评测机
分数
100
总耗时
20ms
峰值内存
324.0 KiB