0_0_20375054_5191.cpp:1:9: error: #include expects "FILENAME" or <FILENAME>
#include <iostream>
^
0_0_20375054_5191.cpp:2:9: error: #include expects "FILENAME" or <FILENAME>
#include <algorithm>
^
0_0_20375054_5191.cpp:3:9: error: #include expects "FILENAME" or <FILENAME>
#include <cstring>
^
0_0_20375054_5191.cpp:4:6: error: expected nested-name-specifier before '&' token
using namespace std;
^
0_0_20375054_5191.cpp:4:21: error: expected identifier before '&' token
using namespace std;
^
0_0_20375054_5191.cpp:4:26: error: expected constructor, destructor, or type conversion before ';' token
using namespace std;
^
0_0_20375054_5191.cpp:4:27: error: 'std' does not name a type
using namespace std;
^
0_0_20375054_5191.cpp:4:36: error: expected constructor, destructor, or type conversion before ';' token
using namespace std;
^
0_0_20375054_5191.cpp:4:42: error: expected constructor, destructor, or type conversion before ';' token
using namespace std;
^
0_0_20375054_5191.cpp:5:6: error: expected constructor, destructor, or type conversion before ';' token
^
0_0_20375054_5191.cpp:5:12: error: expected constructor, destructor, or type conversion before ';' token
^
0_0_20375054_5191.cpp:6:6: error: expected identifier before '&' token
class Data
^
0_0_20375054_5191.cpp:6:11: error: invalid type in declaration before ';' token
class Data
^
0_0_20375054_5191.cpp:6:11: error: 'nbsp' declared as reference but not initialized
0_0_20375054_5191.cpp:6:12: error: 'Data' does not name a type
class Data
^
0_0_20375054_5191.cpp:6:27: error: expected constructor, destructor, or type conversion before ';' token
class Data
^
0_0_20375054_5191.cpp:7:1: error: expected unqualified-id before '{' token
{
^
0_0_20375054_5191.cpp:11:8: error: expected constructor, destructor, or type conversion before ';' token
};
^
0_0_20375054_5191.cpp:11:14: error: expected constructor, destructor, or type conversion before ';' token
};
^
0_0_20375054_5191.cpp:12:6: error: expected constructor, destructor, or type conversion before ';' token
^
0_0_20375054_5191.cpp:12:12: error: expected constructor, destructor, or type conversion before ';' token
^
0_0_20375054_5191.cpp:13:1: error: 'Data' does not name a type
Data Da[100];
^
0_0_20375054_5191.cpp:13:11: error: 'Da' does not name a type
Data Da[100];
^
0_0_20375054_5191.cpp:13:24: error: expected constructor, destructor, or type conversion before ';' token
Data Da[100];
^
0_0_20375054_5191.cpp:13:30: error: expected constructor, destructor, or type conversion before ';' token
Data Da[100];
^
0_0_20375054_5191.cpp:14:5: error: redefinition of 'int& nbsp'
int n;
^
0_0_20375054_5191.cpp:6:7: note: 'int& nbsp' previously declared here
class Data
^
0_0_20375054_5191.cpp:14:10: error: 'n' does not name a type
int n;
^
0_0_20375054_5191.cpp:14:17: error: expected constructor, destructor, or type conversion before ';' token
int n;
^
0_0_20375054_5191.cpp:14:23: error: expected constructor, destructor, or type conversion before ';' token
int n;
^
0_0_20375054_5191.cpp:15:5: error: redefinition of 'int& nbsp'
int dp[100];
^
0_0_20375054_5191.cpp:6:7: note: 'int& nbsp' previously declared here
class Data
^
0_0_20375054_5191.cpp:15:10: error: 'dp' does not name a type
int dp[100];
^
0_0_20375054_5191.cpp:15:23: error: expected constructor, destructor, or type conversion before ';' token
int dp[100];
^
0_0_20375054_5191.cpp:15:29: error: expected constructor, destructor, or type conversion before ';' token
int dp[100];
^
0_0_20375054_5191.cpp:16:6: error: expected constructor, destructor, or type conversion before ';' token
^
0_0_20375054_5191.cpp:16:12: error: expected constructor, destructor, or type conversion before ';' token
^
0_0_20375054_5191.cpp:17:5: error: redefinition of 'int& nbsp'
int cmp(const Data &a, const Data &b) //按照面积最大或高度最高排序
^
0_0_20375054_5191.cpp:6:7: note: 'int& nbsp' previously declared here
class Data
^
0_0_20375054_5191.cpp:17:24: error: expected ')' before ';' token
int cmp(const Data &a, const Data &b) //按照面积最大或高度最高排序
^
0_0_20375054_5191.cpp:17:24: error: expected constructor, destructor, or type conversion before ';' token
0_0_20375054_5191.cpp:17:25: error: 'Data' does not name a type
int cmp(const Data &a, const Data &b) //按照面积最大或高度最高排序
^
0_0_20375054_5191.cpp:17:37: error: expected constructor, destructor, or type conversion before ',' token
int cmp(const Data &a, const Data &b) //按照面积最大或高度最高排序
^
0_0_20375054_5191.cpp:17:43: error: expected constructor, destructor, or type conversion before ';' token
int cmp(const Data &a, const Data &b) //按照面积最大或高度最高排序
^
0_0_20375054_5191.cpp:17:50: error: conflicting declaration 'const int& nbsp'
int cmp(const Data &a, const Data &b) //按照面积最大或高度最高排序
^
0_0_20375054_5191.cpp:6:7: note: previous declaration as 'int& nbsp'
class Data
^
0_0_20375054_5191.cpp:17:55: error: 'Data' does not name a type
int cmp(const Data &a, const Data &b) //按照面积最大或高度最高排序
^
0_0_20375054_5191.cpp:17:67: error: expected constructor, destructor, or type conversion before ')' token
int cmp(const Data &a, const Data &b) //按照面积最大或高度最高排序
^
0_0_20375054_5191.cpp:17:79: error: expected constructor, destructor, or type conversion before ';' token
int cmp(const Data &a, const Data &b) //按照面积最大或高度最高排序
^
0_0_20375054_5191.cpp:17:85: error: expected constructor, destructor, or type conversion before ';' token
int cmp(const Data &a, const Data &b) //按照面积最大或高度最高排序
^
0_0_20375054_5191.cpp:17:91: error: expected constructor, destructor, or type conversion before ';' token
int cmp(const Data &a, const Data &b) //按照面积最大或高度最高排序
^
0_0_20375054_5191.cpp:17:97: error: expected constructor, destructor, or type conversion before ';' token
int cmp(const Data &a, const Data &b) //按照面积最大或高度最高排序
^
0_0_20375054_5191.cpp:17:103: error: expected constructor, destructor, or type conversion before ';' token
int cmp(const Data &a, const Data &b) //按照面积最大或高度最高排序
^
0_0_20375054_5191.cpp:17:109: error: expected constructor, destructor, or type conversion before ';' token
int cmp(const Data &a, const Data &b)
|