记录详情

Wrong Answer

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

信息

递交者
类型
递交
题目
2-1 单个数的3N+1猜想
语言
C++
递交时间
2021-01-28 22:30:07
评测时间
2021-01-28 22:30:10
评测机
分数
0
总耗时
9ms
峰值内存
228.0 KiB