/ 程序猿 /

记录详情

Compile Error

/in/foo.cc:1:2: error: invalid preprocessing directive #inciude; did you mean #include?
 #inciude<iostream>
  ^~~~~~~
  include
/in/foo.cc: In function 'int main()':
/in/foo.cc:5:11: warning: comparison of constant '100' with boolean expression is always true [-Wbool-compare]
  int n(1<n<100);
        ~~~^~~~
/in/foo.cc:5:9: warning: comparisons like 'X<=Y<=Z' do not have their mathematical meaning [-Wparentheses]
  int n(1<n<100);
        ~^~
/in/foo.cc:6:6: error: redeclaration of 'int n'
  int n;
      ^
/in/foo.cc:5:6: note: 'int n' previously declared here
  int n(1<n<100);
      ^
/in/foo.cc:7:9: warning: comparison of constant '1' with boolean expression is always false [-Wbool-compare]
  n(100>n>1);
    ~~~~~^~
/in/foo.cc:7:7: warning: comparisons like 'X<=Y<=Z' do not have their mathematical meaning [-Wparentheses]
  n(100>n>1);
    ~~~^~
/in/foo.cc:7:11: error: 'n' cannot be used as a function
  n(100>n>1);
           ^
/in/foo.cc:8:2: error: 'relude' was not declared in this scope
  relude 0;
  ^~~~~~

信息

递交者
类型
递交
题目
数组逆序输出
语言
C++
递交时间
2018-10-28 16:56:39
评测时间
2018-10-28 16:56:39
评测机
分数
0
总耗时
11ms
峰值内存
2.793 MiB