记录详情

Wrong Answer

/in/foo.cc: In function 'int main()':
/in/foo.cc:9:13: warning: 'curr' may be used uninitialized in this function [-Wmaybe-uninitialized]
     cout << result << endl;
             ^~~~~~
/in/foo.cc: In function 'int countWays(int)':
/in/foo.cc:19:31: warning: 'curr' may be used uninitialized in this function [-Wmaybe-uninitialized]
     int prev1 = 1, prev2 = 1, curr;
                               ^~~~
# 状态 耗时 内存占用
#1 Accepted 1ms 344.0 KiB
#2 Wrong Answer 1ms 356.0 KiB
#3 Wrong Answer 1ms 324.0 KiB
#4 Wrong Answer 1ms 364.0 KiB
#5 Wrong Answer 1ms 356.0 KiB

信息

递交者
类型
递交
题目
2-4 攀登华山
比赛
2024程序设计与竞赛作业赛第五场(Idealism)
语言
C++
递交时间
2024-11-03 12:47:50
评测时间
2024-11-03 12:47:50
评测机
分数
20
总耗时
8ms
峰值内存
364.0 KiB