/ DIO /

记录详情

Compile Error

/in/foo.cc: In function 'int main()':
/in/foo.cc:5:6: error: expected unqualified-id before numeric constant
  int 5,4
      ^
/in/foo.cc:7:6: error: expected ';' before numeric constant
  cin 5 4;
      ^
/in/foo.cc:7:9: warning: statement has no effect [-Wunused-value]
  cin 5 4;
         ^
/in/foo.cc:8:1: error: 'cin5' was not declared in this scope
 cin5 3;
 ^~~~
/in/foo.cc:8:1: note: suggested alternative: 'uint'
 cin5 3;
 ^~~~
 uint
/in/foo.cc:9:1: error: 'cin4' was not declared in this scope
 cin4 2;
 ^~~~
/in/foo.cc:9:1: note: suggested alternative: 'uint'
 cin4 2;
 ^~~~
 uint
/in/foo.cc:10:1: error: 'cin3' was not declared in this scope
 cin3 2;
 ^~~~
/in/foo.cc:10:1: note: suggested alternative: 'uint'
 cin3 2;
 ^~~~
 uint
/in/foo.cc:11:11: warning: right operand of comma operator has no effect [-Wunused-value]
 cout<<1,5,3,4,2;
           ^
/in/foo.cc:11:13: warning: right operand of comma operator has no effect [-Wunused-value]
 cout<<1,5,3,4,2;
             ^
/in/foo.cc:11:15: warning: right operand of comma operator has no effect [-Wunused-value]
 cout<<1,5,3,4,2;
               ^
/in/foo.cc:11:16: warning: right operand of comma operator has no effect [-Wunused-value]
 cout<<1,5,3,4,2;
                ^

信息

递交者
类型
递交
题目
P1001 拓扑(top)排序基础题
语言
C++
递交时间
2018-12-02 17:38:52
评测时间
2018-12-02 17:38:52
评测机
分数
0
总耗时
1184ms
峰值内存
132.562 MiB