记录详情

Compile Error

/in/foo.cc: In function 'int findnum(std::vector<int>&)':
/in/foo.cc:25:12: error: 'sec' was not declared in this scope
  int fir=0;sec=0;
            ^~~
/in/foo.cc:27:2: error: expected ',' or ';' before 'while'
  while(sec<a.size()-1){
  ^~~~~
/in/foo.cc:25:6: warning: unused variable 'fir' [-Wunused-variable]
  int fir=0;sec=0;
      ^~~
/in/foo.cc:26:6: warning: unused variable 'num' [-Wunused-variable]
  int num=0
      ^~~
/in/foo.cc:53:1: error: expected '}' at end of input
 }
 ^
/in/foo.cc:53:1: warning: no return statement in function returning non-void [-Wreturn-type]

信息

递交者
类型
递交
题目
A10-2 有序子序列的合并
比赛
数据结构课堂练习9-16
语言
C++
递交时间
2019-09-16 11:14:55
评测时间
2019-09-16 11:14:55
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes