记录详情

Wrong Answer

/in/foo.cc: In function 'int main()':
/in/foo.cc:7:9: warning: comparison of constant '100' with boolean expression is always true [-Wbool-compare]
  int(1<x<100);
      ~~~^~~~
/in/foo.cc:7:7: warning: comparisons like 'X<=Y<=Z' do not have their mathematical meaning [-Wparentheses]
  int(1<x<100);
      ~^~
/in/foo.cc:7:2: warning: statement has no effect [-Wunused-value]
  int(1<x<100);
  ^~~~~~~~~~~~
/in/foo.cc:12:3: warning: this 'else' clause does not guard... [-Wmisleading-indentation]
   else;
   ^~~~
/in/foo.cc:13:4: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'else'
    cout<<x/2<<endl;
    ^~~~
# 状态 耗时 内存占用
#1 Wrong Answer 1ms 224.0 KiB
#2 Wrong Answer 1ms 224.0 KiB
#3 Wrong Answer 1ms 224.0 KiB
#4 Wrong Answer 1ms 228.0 KiB
#5 Wrong Answer 1ms 224.0 KiB

信息

递交者
类型
递交
题目
2-1 单个数的3N+1猜想
比赛
2020苏青奥赛集训营(2021-2-4实验初中选拔赛)
语言
C++
递交时间
2021-02-04 13:16:38
评测时间
2021-02-04 13:16:38
评测机
分数
0
总耗时
7ms
峰值内存
228.0 KiB