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 372.0 KiB
#2 Accepted 1ms 340.0 KiB
#3 Accepted 1ms 368.0 KiB
#4 Accepted 1ms 376.0 KiB

信息

递交者
类型
递交
比赛
春季中级班GESP二三级编程比赛
语言
C++
递交时间
2024-03-09 10:22:09
评测时间
2024-03-09 10:22:09
评测机
分数
100
总耗时
6ms
峰值内存
376.0 KiB