记录详情

Wrong Answer

foo.cc: In function ‘int main()’:
foo.cc:15:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
   15 |         if(x=y)
      |            ~^~
foo.cc:12:20: warning: ‘y’ may be used uninitialized [-Wmaybe-uninitialized]
   12 |                 y=y*10+r;
      |                   ~^~~
foo.cc:8:18: note: ‘y’ was declared here
    8 |         int xx=x,y;
      |                  ^
# 状态 耗时 内存占用
#1 Accepted 2ms 376.0 KiB
#2 Accepted 2ms 504.0 KiB
#3 Accepted 2ms 504.0 KiB
#4 Accepted 2ms 504.0 KiB
#5 Wrong Answer On line 1: Read Yes, expect No. 3ms 508.0 KiB

信息

递交者
类型
递交
语言
C++
递交时间
2025-08-11 17:20:32
评测时间
2025-08-12 11:33:14
评测机
分数
80
总耗时
13ms
峰值内存
508.0 KiB