Wrong Answer
/in/foo.cc: In function 'int main()':
/in/foo.cc:6:14: warning: comparisons like 'X<=Y<=Z' do not have their mathematical meaning [-Wparentheses]
int x,n,k;(1<=x<=n);//x为小明心中选定的整数
~^~~
/in/foo.cc:14:10: warning: 'bigger' may be used uninitialized in this function [-Wmaybe-uninitialized]
cout<<bigger<<endl;
^~~~~~
/in/foo.cc:16:10: warning: 'smaller' may be used uninitialized in this function [-Wmaybe-uninitialized]
cout<<smaller<<endl;
^~~~~~~
信息
- 递交者
- 类型
- 递交
- 题目
- 1 猜数游戏的最少次数
- 比赛
- 2020苏青奥赛集训营(2021-2-3课堂小练)
- 语言
- C++
- 递交时间
- 2021-02-03 12:45:47
- 评测时间
- 2021-02-03 12:45:47
- 评测机
- 分数
- 0
- 总耗时
- 7ms
- 峰值内存
- 228.0 KiB