Wrong Answer

/in/foo.cc: In function 'int main()':
/in/foo.cc:7:8: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
  if(j=A)
        ^
/in/foo.cc:10:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
   if(j=P)
         ^
/in/foo.cc:7:6: warning: 'A' is used uninitialized in this function [-Wuninitialized]
  if(j=A)
     ~^~
/in/foo.cc:10:7: warning: 'P' may be used uninitialized in this function [-Wmaybe-uninitialized]
   if(j=P)
      ~^~
# 状态 耗时 内存占用
#1 Wrong Answer 1ms 356.0 KiB
#2 Wrong Answer 1ms 376.0 KiB
#3 Wrong Answer 1ms 328.0 KiB
#4 Wrong Answer 1ms 332.0 KiB

信息

递交者
类型
递交
题目
P2578 时间计数1级1 2023年模拟题
比赛
2025.1.1初级班结业测试
语言
C++
递交时间
2025-01-01 08:35:25
评测时间
2025-01-01 08:35:25
评测机
分数
0
总耗时
6ms
峰值内存
376.0 KiB