记录详情

Wrong Answer

foo.cc: In function 'int main()':
foo.cc:33:33: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
   33 |                 for(int i = 1;i = 10;i++)
      |                               ~~^~~~
foo.cc:31:21: warning: unused variable 'ans' [-Wunused-variable]
   31 |                 int ans = 0;
      |                     ^~~
foo.cc:32:20: warning: unused variable 'x' [-Wunused-variable]
   32 |                 ll x = n;
      |                    ^
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Wrong Answer Read 10, expect 2. 4ms 332.0 KiB

信息

递交者
类型
自测
语言
C++
递交时间
2023-10-13 20:55:24
评测时间
2023-10-13 20:55:24
评测机
分数
0
总耗时
4ms
峰值内存
332.0 KiB