/ Vijos /

记录详情

Compile Error

/in/foo.cc:7:20: error: 'VI' does not name a type
 string expr, name; VI I;
                    ^~
/in/foo.cc: In function 'void out(int)':
/in/foo.cc:11:17: error: 'I' was not declared in this scope
     if (k == SZ(I)) cout << name;
                 ^
/in/foo.cc:11:18: error: 'SZ' was not declared in this scope
     if (k == SZ(I)) cout << name;
                  ^
/in/foo.cc: In function 'void gao(int, int, int)':
/in/foo.cc:26:17: error: 'I' was not declared in this scope
     if (k == SZ(I)){
                 ^
/in/foo.cc:26:18: error: 'SZ' was not declared in this scope
     if (k == SZ(I)){
                  ^
/in/foo.cc:27:13: error: 'i' was not declared in this scope
         FOR(i,l,r)putchar(expr[i]);puts("");
             ^
/in/foo.cc:27:18: error: 'FOR' was not declared in this scope
         FOR(i,l,r)putchar(expr[i]);puts("");
                  ^
/in/foo.cc:31:36: error: 'VII' was not declared in this scope
         int c=0;char op='(';int ll;VII cut;
                                    ^~~
/in/foo.cc:32:13: error: 'i' was not declared in this scope
         FOR(i,l,r) if(expr[i]=='('){if (!c++)ll=i+1;}
             ^
/in/foo.cc:32:18: error: 'FOR' was not declared in this scope
         FOR(i,l,r) if(expr[i]=='('){if (!c++)ll=i+1;}
                  ^
/in/foo.cc:33:9: error: 'else' without a previous 'if'
         else if (expr[i]==')'){if (!--c)cut.PB(MP(ll,i));}
         ^~~~
/in/foo.cc:33:41: error: 'cut' was not declared in this scope
         else if (expr[i]==')'){if (!--c)cut.PB(MP(ll,i));}
                                         ^~~
/in/foo.cc:33:55: error: 'MP' was not declared in this scope
         else if (expr[i]==')'){if (!--c)cut.PB(MP(ll,i));}
                                                       ^
/in/foo.cc:38:39: error: 'cut' was not declared in this scope
             if (expr[l]=='(') gao(k+1,cut[I[k]].fi,cut[I[k]].se);
                                       ^~~
/in/foo.cc:42:17: error: expected ';' before 'cut'
             VII cut; FOR(i,l,r) if(expr[i]=='(')++c;
                 ^~~
/in/foo.cc:43:13: error: 'else' without a previous 'if'
             else if (expr[i]==')')--c;
             ^~~~
/in/foo.cc:45:39: error: 'cut' was not declared in this scope
                 if (f(expr[i])==f(op))cut.PB(MP(l,i)),l=i+1;
                                       ^~~
/in/foo.cc:45:52: error: 'MP' was not declared in this scope
                 if (f(expr[i])==f(op))cut.PB(MP(l,i)),l=i+1;
                                                    ^
/in/foo.cc:47:13: error: 'cut' was not declared in this scope
             cut.PB(MP(l,r));
             ^~~
/in/foo.cc:47:26: error: 'MP' was not declared in this scope
             cut.PB(MP(l,r));
                          ^
/in/foo.cc:48:53: error: return-statement with a value, in function returning 'void' [-fpermissive]
             return gao(k+1,cut[I[k]].fi,cut[I[k]].se);
                                                     ^
/in/foo.cc: In function 'int main()':
/in/foo.cc:63:9: error: 'Rush' was not declared in this scope
         Rush{
         ^~~~

信息

递交者
类型
递交
题目
P1017 划分
语言
C++
递交时间
2024-06-20 18:50:48
评测时间
2024-06-20 18:50:48
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes