记录详情

Wrong Answer

foo.cc: In function 'int main()':
foo.cc:16:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
     for(int i=0;i<m;i++)
     ^~~
foo.cc:18:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for'
  n=n-1;
  ^
foo.cc:23:11: warning: 'two' may be used uninitialized in this function [-Wmaybe-uninitialized]
      hanoi(m-1,one,three,two);
      ~~~~~^~~~~~~~~~~~~~~~~~~
foo.cc:23:11: warning: 'three' may be used uninitialized in this function [-Wmaybe-uninitialized]
foo.cc:23:11: warning: 'one' may be used uninitialized in this function [-Wmaybe-uninitialized]
自豪的采用HydroJudge(https://github.com/hydro-dev/Hydro)进行评测。
# 状态 耗时 内存占用
#1 Wrong Answer Read 6, expect 4. 1ms 384.0 KiB
#2 Wrong Answer Read 14, expect 12. 1ms 384.0 KiB
#3 Wrong Answer Read 6, expect 0. 1ms 384.0 KiB
#4 Wrong Answer Read 62, expect 2. 2ms 384.0 KiB
#5 Wrong Answer Read 1048574, expect 1048472. 4ms 384.0 KiB

信息

递交者
类型
递交
题目
2-3 Hanoi游戏的状态
比赛
2020苏青奥赛集训营(2021-3-21课后作业)
语言
C++
递交时间
2021-03-21 17:06:14
评测时间
2021-03-21 17:06:14
评测机
分数
0
总耗时
12ms
峰值内存
384.0 KiB