记录详情

Compile Error

foo.c: In function 'main':
foo.c:9:9: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
    9 |         if(x%2==1)
      |         ^~
foo.c:11:17: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
   11 |                 foot=foot+1;
      |                 ^~~~
foo.c:12:9: error: 'else' without a previous 'if'
   12 |         else
      |         ^~~~
foo.c:16:16: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
   16 |         while (x=1)
      |                ^
[Hydro](https://hydro.ac)提供评测服务

信息

递交者
类型
递交
题目
2-1 单个数的3N+1猜想
比赛
2023暑期青少年社团(训练赛)
语言
C
递交时间
2023-08-16 13:18:22
评测时间
2023-08-16 13:18:22
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes