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;
                                      ^~
# 状态 耗时 内存占用
#1 Accepted 1ms 364.0 KiB
#2 Accepted 1ms 380.0 KiB
#3 Accepted 1ms 376.0 KiB
#4 Accepted 1ms 340.0 KiB

信息

递交者
类型
递交
题目
P2558 单位转换3级T2 2023.12
比赛
GESP3级 考前练习
语言
C++
递交时间
2024-06-06 22:07:43
评测时间
2024-06-06 22:07:43
评测机
分数
100
总耗时
7ms
峰值内存
380.0 KiB