0_0_35350524_20658.cpp:5:25: error: expected ',' or '...' before 'using'
#define Re register int using namespace std;
^
0_0_35350524_20658.cpp:8:17: note: in expansion of macro 'Re'
inline void in(Re &x){
^
0_0_35350524_20658.cpp:5:44: error: expected ')' before ';' token
#define Re register int using namespace std;
^
0_0_35350524_20658.cpp:8:17: note: in expansion of macro 'Re'
inline void in(Re &x){
^
0_0_35350524_20658.cpp:8:22: error: expected constructor, destructor, or type conversion before ')' token
inline void in(Re &x){
^
0_0_35350524_20658.cpp: In function 'void sakura()':
0_0_35350524_20658.cpp:5:25: error: expected unqualified-id before 'using'
#define Re register int using namespace std;
^
0_0_35350524_20658.cpp:15:9: note: in expansion of macro 'Re'
for(Re i=1,j,tmp,flag;i<=n;++i){
^
0_0_35350524_20658.cpp:5:25: error: expected ';' before 'using'
#define Re register int using namespace std;
^
0_0_35350524_20658.cpp:15:9: note: in expansion of macro 'Re'
for(Re i=1,j,tmp,flag;i<=n;++i){
^
0_0_35350524_20658.cpp:5:25: error: expected primary-expression before 'using'
#define Re register int using namespace std;
^
0_0_35350524_20658.cpp:15:9: note: in expansion of macro 'Re'
for(Re i=1,j,tmp,flag;i<=n;++i){
^
0_0_35350524_20658.cpp:5:25: error: expected ';' before 'using'
#define Re register int using namespace std;
^
0_0_35350524_20658.cpp:15:9: note: in expansion of macro 'Re'
for(Re i=1,j,tmp,flag;i<=n;++i){
^
0_0_35350524_20658.cpp:5:25: error: expected primary-expression before 'using'
#define Re register int using namespace std;
^
0_0_35350524_20658.cpp:15:9: note: in expansion of macro 'Re'
for(Re i=1,j,tmp,flag;i<=n;++i){
^
0_0_35350524_20658.cpp:5:25: error: expected ')' before 'using'
#define Re register int using namespace std;
^
0_0_35350524_20658.cpp:15:9: note: in expansion of macro 'Re'
for(Re i=1,j,tmp,flag;i<=n;++i){
^
0_0_35350524_20658.cpp:15:12: error: 'i' was not declared in this scope
for(Re i=1,j,tmp,flag;i<=n;++i){
^
0_0_35350524_20658.cpp:15:16: error: 'j' was not declared in this scope
for(Re i=1,j,tmp,flag;i<=n;++i){
^
0_0_35350524_20658.cpp:15:18: error: 'tmp' was not declared in this scope
for(Re i=1,j,tmp,flag;i<=n;++i){
^
0_0_35350524_20658.cpp:15:22: error: 'flag' was not declared in this scope
for(Re i=1,j,tmp,flag;i<=n;++i){
^
0_0_35350524_20658.cpp:5:25: error: expected unqualified-id before 'using'
#define Re register int using namespace std;
^
0_0_35350524_20658.cpp:27:9: note: in expansion of macro 'Re'
for(Re j=1;j<=logN;++j)
^
0_0_35350524_20658.cpp:5:25: error: expected ';' before 'using'
#define Re register int using namespace std;
^
0_0_35350524_20658.cpp:27:9: note: in expansion of macro 'Re'
for(Re j=1;j<=logN;++j)
^
0_0_35350524_20658.cpp:5:25: error: expected primary-expression before 'using'
#define Re register int using namespace std;
^
0_0_35350524_20658.cpp:27:9: note: in expansion of macro 'Re'
for(Re j=1;j<=logN;++j)
^
0_0_35350524_20658.cpp:5:25: error: expected ';' before 'using'
#define Re register int using namespace std;
^
0_0_35350524_20658.cpp:27:9: note: in expansion of macro 'Re'
for(Re j=1;j<=logN;++j)
^
0_0_35350524_20658.cpp:5:25: error: expected primary-expression before 'using'
#define Re register int using namespace std;
^
0_0_35350524_20658.cpp:27:9: note: in expansion of macro 'Re'
for(Re j=1;j<=logN;++j)
^
0_0_35350524_20658.cpp:5:25: error: expected ')' before 'using'
#define Re register int using namespace std;
^
0_0_35350524_20658.cpp:27:9: note: in expansion of macro 'Re'
for(Re j=1;j<=logN;++j)
^
0_0_35350524_20658.cpp: At global scope:
0_0_35350524_20658.cpp:5:25: error: expected ',' or '...' before 'using'
#define Re register int using namespace std;
^
0_0_35350524_20658.cpp:33:18: note: in expansion of macro 'Re'
inline int find1(Re i,Re limit,Re dp[][20]){//从第i个单词开始(现在需要放的位置),使用limit行,条件为dp1/dp2,求无法放到第?个单词
^
0_0_35350524_20658.cpp:5:44: error: expected ')' before ';' token
#define Re register int using namespace std;
^
0_0_35350524_20658.cpp:33:18: note: in expansion of macro 'Re'
inline int find1(Re i,Re limit,Re dp[][20]){//从第i个单词开始(现在需要放的位置),使用limit行,条件为dp1/dp2,求无法放到第?个单词
^
0_0_35350524_20658.cpp:33:21: error: 'i' does not name a type
inline int find1(Re i,Re limit,Re dp[][20]){//从第i个单词开始(现在需要放的位置),使用limit行,条件为dp1/dp2,求无法放到第?个单词
^
0_0_35350524_20658.cpp:33:26: error: 'limit' does not name a type
inline int find1(Re i,Re limit,Re dp[][20]){//从第i个单词开始(现在需要放的位置),使用limit行,条件为dp1/dp2,求无法放到第?个单词
^
0_0_35350524_20658.cpp:33:35: error: 'dp' does not name a type
inline int find1(Re i,Re limit,Re dp[][20]){//从第i个单词开始(现在需要放的位置),使用limit行,条件为dp1/dp2,求无法放到第?个单词
^
0_0_35350524_20658.cpp:5:25: error: expected ',' or '...' before 'using'
#define Re register int using namespace std;
^
0_0_35350524_20658.cpp:40:18: note: in expansion of macro 'Re'
inline int find2(Re i){//在无图片的情况下,放第i~n个单词个单词需要多少行
^
0_0_35350524_20658.cpp:5:44: error: expected ')' before ';' token
#define Re register int using namespace std;
^
0_0_35350524_20658.cpp:40:18: note: in expansion of macro 'Re'
inline int find2(Re i){//在无图片的情况下,放第i~n个单词个单词需要多少行
^
0_0_35350524_20658.cpp:40:21: error: 'i' does not name a type
inline int find2(Re i){//在无图片的情况下,放第i~n个单词个单词需要多少行
^
0_0_35350524_20658.cpp: In function 'int main()':
0_0_35350524_20658.cpp:5:25: error: expected unqualified-id before 'using'
#define Re register int using namespace std;
^
0_0_35350524_20658.cpp:54:13: note: in expansion of macro 'Re'
for(Re i=1;i<=n;++i)in(a[i]);
^
0_0_35350524_20658.cpp:5:25: error: expected ';' before 'using'
#define Re register int using namespace std;
^
0_0_35350524_20658.cpp:54:13: note: in expansion of macro 'Re'
for(Re i=1;i<=n;++i)in(a[i]);
^
0_0_35350524_20658.cpp:5:25: error: expected primary-expression before 'using'
#define Re register int using namespace std;
^
0_0_35350524_20658.cpp:54:13: note: in expansion of macro 'Re'
for(Re i=1;i<=n;++i)in(a[i]);
^
0_0_35350524_20658.cpp:5:25: error: expected ';' before 'using'
#define Re register int using namespace std;
^
0_0_35350524_20658.cpp:54:13: note: in expansion of macro 'Re'
for(Re i=1;i<=n;++i)in(a[i]);
^
0_0_35350524_20658.cpp:5:25: error: expected primary-expression before 'using'
#define Re register int using namespace std;
^
0_0_35350524_20658.cpp:54:13: note: in expansion of macro 'Re'
for(Re i=1;i<=n;++i)in(a[i]);
^
0_0_35350524_20658.cpp:5:25: error: expected ')' before 'using'
#define Re register int using namespace std;
^
0_0_35350524_20658.cpp:54:13: note: in expansion of macro 'Re'
for(Re i=1;i<=n;++i)in(a[i]);
^
0_0_35350524_20658.cpp:54:16: error: 'i' was not declared in this scope
for(Re i=1;i<=n;++i)in(a[i]);
^
0_0_35350524_20658.cpp:5:25: error: expected unqualified-id before 'using'
#define Re register int using namespace std;
^
0_0_35350524_20658.cpp:61:13: note: in expansion of macro 'Re'
Re need=find2(1);
^
0_0_35350524_20658.cpp:61:16: error: 'need' was not declared in this scope
Re need=find2(1);
^
0_0_35350524_20658.cpp:5:25: error: expected unqualified-id before 'using'
#define Re register int using namespace std;
^
0_0_35350524_20658.cpp:63:13: note: in expansion of macro 'Re'
Re now=find1(1,x-1,dp1);//先跑前面无限制的x-1行
^
0_0_35350524_20658.cpp:63:16: error: 'now' was not declared in this scope
Re now=find1(1,x-1,dp1);//先跑前面无限制的x-1行
^
0_0_35350524_20658.cpp:63:35: error: too many arguments to function 'int find1(int)'
Re now=find1(1,x-1,dp1);//先跑前面无限制的x-1行
^
0_0_35350524_20658.cpp:33:12: note: declared here
inline int find1(Re i,Re limit,Re dp[][20]){//从第i个单词开始(现在需要放的位置),使用limit行,条件为dp1/dp2,求无法放到第?个单词
^
|