Accepted
/in/foo.cc: In function 'int main()':
/in/foo.cc:12:10: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
   if(a==2&&b==1||a==1&&b==2)
      ~~~~^~~~~~
/in/foo.cc:16:38: warning: 'ans' may be used uninitialized in this function [-Wmaybe-uninitialized]
   cout<<x<<' '<<d1<<" = "<<ans<<' '<<d2<<endl;
                                      ^~
  信息
- 递交者
 - 类型
 - 递交
 - 题目
 - P2558 单位转换3级T2 2023.12
 - 比赛
 - GESP3级 考前练习
 - 语言
 - C++
 - 递交时间
 - 2024-06-06 22:07:43
 - 评测时间
 - 2024-06-06 22:07:43
 - 评测机
 
- 分数
 - 100
 - 总耗时
 - 7ms
 - 峰值内存
 - 380.0 KiB