记录详情

Compile Error

foo.c: In function 'main':
foo.c:9:3: warning: statement with no effect [-Wunused-value]
  1<=a;0<=b<=2147483647;
  ~^~~
foo.c:9:11: warning: comparison of constant '2147483647' with boolean expression is always true [-Wbool-compare]
  1<=a;0<=b<=2147483647;
           ^~
foo.c:9:8: warning: comparisons like 'X<=Y<=Z' do not have their mathematical meaning [-Wparentheses]
  1<=a;0<=b<=2147483647;
       ~^~~
foo.c:9:7: warning: statement with no effect [-Wunused-value]
  1<=a;0<=b<=2147483647;
       ^
foo.c:10:7: warning: statement with no effect [-Wunused-value]
  for(b!=0)
      ~^~~
foo.c:10:10: error: expected ';' before ')' token
  for(b!=0)
          ^
foo.c:10:10: error: expected expression before ')' token
foo.c:6:2: warning: ignoring return value of 'scanf', declared with attribute warn_unused_result [-Wunused-result]
  scanf("%d %d",&a,&b);
  ^~~~~~~~~~~~~~~~~~~~
[Hydro](https://hydro.ac)提供评测服务

信息

递交者
类型
递交
语言
C
递交时间
2021-08-12 21:38:31
评测时间
2021-08-12 21:39:46
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes