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