记录详情

Compile Error

/in/foo.c: In function 'main':
/in/foo.c:6:4: warning: left-hand operand of comma expression has no effect [-Wunused-value]
  (a,b)==n;
    ^
/in/foo.c:6:7: warning: statement with no effect [-Wunused-value]
  (a,b)==n;
  ~~~~~^~~
/in/foo.c:7:6: warning: comparison of constant '100000' with boolean expression is always true [-Wbool-compare]
  1<=n<=100000;
      ^~
/in/foo.c:7:3: warning: comparisons like 'X<=Y<=Z' do not have their mathematical meaning [-Wparentheses]
  1<=n<=100000;
  ~^~~
/in/foo.c:7:2: warning: statement with no effect [-Wunused-value]
  1<=n<=100000;
  ^
/in/foo.c:8:2: error: 'cout' undeclared (first use in this function)
  cout<<n<<endl;
  ^~~~
/in/foo.c:8:2: note: each undeclared identifier is reported only once for each function it appears in
/in/foo.c:8:11: error: 'endl' undeclared (first use in this function)
  cout<<n<<endl;
           ^~~~

信息

递交者
类型
递交
题目
P1002 硕哥的最短路
语言
C
递交时间
2024-08-13 21:24:23
评测时间
2024-08-13 21:24:23
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes