记录详情

Compile Error

/in/foo.c: In function 'main':
/in/foo.c:8:24: error: lvalue required as left operand of assignment
    8 |          else if(n=2||n=3){
      |                        ^
/in/foo.c:16:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
   16 |      if(flog=1){
      |         ^~~~
/in/foo.c:18:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
   18 |          if(flog=0){
      |             ^~~~
/in/foo.c: At top level:
/in/foo.c:23:5: error: expected identifier or '(' before 'return'
   23 |     return 0;
      |     ^~~~~~

信息

递交者
类型
自测
语言
C
递交时间
2025-12-06 15:15:48
评测时间
2025-12-06 15:15:49
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes