F.A.Q
Hand In Hand
Online Acmers
Problem Archive
Realtime Judge Status
Authors Ranklist
 
     C/C++/Java Exams     
ACM Steps
Go to Job
Contest LiveCast
ICPC@China
Best Coder beta
VIP | STD Contests
    DIY | Web-DIY beta
Author ID 
Password 
 Register new ID

View Compilation Error

0_0_36164692_5439.cpp:4:9: error: macro names must be identifiers
 #define 11 long long
         ^
0_0_36164692_5439.cpp:38:21: error: missing terminating ' character
                     q[b[r];X].push(b[r].y)f'
                     ^
0_0_36164692_5439.cpp:73:2: error: stray '#' in program
 }#include<bits/stdc++.h>
  ^
0_0_36164692_5439.cpp:76:9: error: macro names must be identifiers
 #define 11 long long
         ^
0_0_36164692_5439.cpp:110:21: error: missing terminating ' character
                     q[b[r];X].push(b[r].y)f'
                     ^
0_0_36164692_5439.cpp: In function 'int main()':
0_0_36164692_5439.cpp:17:17: error: comparison between distinct pointer types 'const char*' and 'int*' lacks a cast [-fpermissive]
     scanf("%d">&T);int cas=0;
                 ^
0_0_36164692_5439.cpp:17:18: error: cannot convert 'bool' to 'const char*' for argument '1' to 'int scanf(const char*, ...)'
     scanf("%d">&T);int cas=0;
                  ^
0_0_36164692_5439.cpp:20:17: error: 'le9' was not declared in this scope
         int ans=le9;int tot=0;
                 ^
0_0_36164692_5439.cpp:21:19: error: 'l' was not declared in this scope
         for(int i=l;i<=n;i++) {
                   ^
0_0_36164692_5439.cpp:22:19: error: 'lq' was not declared in this scope
             while(lq[il.empty()) q[i].pop();
                   ^
0_0_36164692_5439.cpp:22:22: error: 'il' was not declared in this scope
             while(lq[il.empty()) q[i].pop();
                      ^
0_0_36164692_5439.cpp:22:32: error: expected ']' before ')' token
             while(lq[il.empty()) q[i].pop();
                                ^
0_0_36164692_5439.cpp:25:42: error: 'jJ' was not declared in this scope
                 b[++tot]=(Data){i,j,a[i][jJ};
                                          ^
0_0_36164692_5439.cpp:25:31: error: expected primary-expression before ')' token
                 b[++tot]=(Data){i,j,a[i][jJ};
                               ^
0_0_36164692_5439.cpp:29:16: error: 'mt' was not declared in this scope
         vector<mt>ttcol(m+l);
                ^
0_0_36164692_5439.cpp:29:18: error: template argument 1 is invalid
         vector<mt>ttcol(m+l);
                  ^
0_0_36164692_5439.cpp:29:18: error: template argument 2 is invalid
0_0_36164692_5439.cpp:29:24: error: invalid type in declaration before '(' token
         vector<mt>ttcol(m+l);
                        ^
0_0_36164692_5439.cpp:29:27: error: 'l' was not declared in this scope
         vector<mt>ttcol(m+l);
                           ^
0_0_36164692_5439.cpp:34:20: error: 'curball' was not declared in this scope
             while((curball<n||curcolor!=O||(n&l)&&ttcolnum<=2)&&r<=tot) {
                    ^
0_0_36164692_5439.cpp:34:41: error: 'O' was not declared in this scope
             while((curball<n||curcolor!=O||(n&l)&&ttcolnum<=2)&&r<=tot) {
                                         ^
0_0_36164692_5439.cpp:35:32: error: invalid types 'int[int]' for array subscript
                 ++ttcol[b[r] .y];if(ttcol[b[r] .y]=l)++ttcolnum;
                                ^
0_0_36164692_5439.cpp:35:50: error: invalid types 'int[int]' for array subscript
                 ++ttcol[b[r] .y];if(ttcol[b[r] .y]=l)++ttcolnum;
                                                  ^
0_0_36164692_5439.cpp:36:29: error: expected primary-expression before '.' token
                 if(q[b[r].x|.empty()) {
                             ^
0_0_36164692_5439.cpp:36:37: error: expected ']' before ')' token
                 if(q[b[r].x|.empty()) {
                                     ^
0_0_36164692_5439.cpp:38:27: error: expected ']' before ';' token
                     q[b[r];X].push(b[r].y)f'
                           ^
0_0_36164692_5439.cpp:38:22: error: no match for 'operator[]' (operand types are 'std::queue<int> [2020]' and 'Data')
                     q[b[r];X].push(b[r].y)f'
                      ^
0_0_36164692_5439.cpp:38:28: error: 'X' was not declared in this scope
                     q[b[r];X].push(b[r].y)f'
                            ^
0_0_36164692_5439.cpp:52:16: error: 'curball' was not declared in this scope
             if(curball=n&&curcolor=0&&! ((n&l)&&ttcolnum<=2)) {ans=min(ans,b[i] .w-b[r-l] .w);}
                ^
0_0_36164692_5439.cpp:54:27: error: invalid types 'int[int]' for array subscript
             --ttcol[b[i].y] ;if(ttcol[b[i] .y]=6)--ttcolnum;:
                           ^
0_0_36164692_5439.cpp:54:46: error: invalid types 'int[int]' for array subscript
             --ttcol[b[i].y] ;if(ttcol[b[i] .y]=6)--ttcolnum;:
                                              ^
0_0_36164692_5439.cpp:54:61: error: expected primary-expression before ':' token
             --ttcol[b[i].y] ;if(ttcol[b[i] .y]=6)--ttcolnum;:
                                                             ^
0_0_36164692_5439.cpp:60:13: error: 'else' without a previous 'if'
             else if(q[b[i].x].size()=l) {
             ^
0_0_36164692_5439.cpp:63:17: error: 'curball' was not declared in this scope
                 curball--;
                 ^
0_0_36164692_5439.cpp:64:47: error: 'O' was not declared in this scope
                 if(c[curcolor]<=n/2) curcolor=O;
                                               ^
0_0_36164692_5439.cpp: At global scope:
0_0_36164692_5439.cpp:73:3: error: 'include' does not name a type
 }#include<bits/stdc++.h>
   ^
0_0_36164692_5439.cpp:77:5: error: redefinition of 'int T'
 int T;
     ^
0_0_36164692_5439.cpp:5:5: note: 'int T' previously declared here
 int T;
     ^
0_0_36164692_5439.cpp:78:5: error: redefinition of 'int n'
 int n,m;
     ^
0_0_36164692_5439.cpp:6:5: note: 'int n' previously declared here
 int n,m;
     ^
0_0_36164692_5439.cpp:78:7: error: redefinition of 'int m'
 int n,m;
       ^
0_0_36164692_5439.cpp:6:7: note: 'int m' previously declared here
 int n,m;
       ^
0_0_36164692_5439.cpp:79:17: error: redefinition of 'int a [2020][2020]'
 int a[maxn][maxn];
                 ^
0_0_36164692_5439.cpp:7:5: note: 'int a [2020][2020]' previously declared here
 int a[maxn][maxn];
     ^
0_0_36164692_5439.cpp:80:8: error: redefinition of 'struct Data'
 struct Data {
        ^
0_0_36164692_5439.cpp:8:8: error: previous definition of 'struct Data'
 struct Data {
        ^
0_0_36164692_5439.cpp:85:14: error: invalid type in declaration before ';' token
 }b[maxn*maxn];
              ^
0_0_36164692_5439.cpp:85:14: error: conflicting declaration 'int b [4080400]'
0_0_36164692_5439.cpp:13:2: note: previous declaration as 'Data b [4080400]'
 }b[maxn*maxn];
  ^
0_0_36164692_5439.cpp:86:18: error: redefinition of 'std::queue<int> q [2020]'
 queue<int> q[maxn];
                  ^
0_0_36164692_5439.cpp:14:12: note: 'std::queue<int> q [2020]' previously declared here
 queue<int> q[maxn];
            ^
0_0_36164692_5439.cpp:87:11: error: redefinition of 'int c [2020]'
 int c[maxn];
           ^
0_0_36164692_5439.cpp:15:5: note: 'int c [2020]' previously declared here
 int c[maxn];
     ^
0_0_36164692_5439.cpp: In function 'int main()':
0_0_36164692_5439.cpp:88:5: error: redefinition of 'int main()'
 int main() {
     ^
0_0_36164692_5439.cpp:16:5: note: 'int main()' previously defined here
 int main() {
     ^
0_0_36164692_5439.cpp:89:17: error: comparison between distinct pointer types 'const char*' and 'int*' lacks a cast [-fpermissive]
     scanf("%d">&T);int cas=0;
                 ^
0_0_36164692_5439.cpp:89:18: error: cannot convert 'bool' to 'const char*' for argument '1' to 'int scanf(const char*, ...)'
     scanf("%d">&T);int cas=0;
                  ^
0_0_36164692_5439.cpp:92:17: error: 'le9' was not declared in this scope
         int ans=le9;int tot=0;
                 ^
0_0_36164692_5439.cpp:93:19: error: 'l' was not declared in this scope
         for(int i=l;i<=n;i++) {
                   ^
0_0_36164692_5439.cpp:94:19: error: 'lq' was not declared in this scope
             while(lq[il.empty()) q[i].pop();
                   ^
0_0_36164692_5439.cpp:94:22: error: 'il' was not declared in this scope
             while(lq[il.empty()) q[i].pop();
                      ^
0_0_36164692_5439.cpp:94:32: error: expected ']' before ')' token
             while(lq[il.empty()) q[i].pop();
                                ^
0_0_36164692_5439.cpp:97:42: error: 'jJ' was not declared in this scope
                 b[++tot]=(Data){i,j,a[i][jJ};
                                          ^
0_0_36164692_5439.cpp:97:31: error: expected primary-expression before ')' token
                 b[++tot]=(Data){i,j,a[i][jJ};
                               ^
0_0_36164692_5439.cpp:101:16: error: 'mt' was not declared in this scope
         vector<mt>ttcol(m+l);
                ^
0_0_36164692_5439.cpp:101:18: error: template argument 1 is invalid
         vector<mt>ttcol(m+l);
                  ^
0_0_36164692_5439.cpp:101:18: error: template argument 2 is invalid
0_0_36164692_5439.cpp:101:24: error: invalid type in declaration before '(' token
         vector<mt>ttcol(m+l);
                        ^
0_0_36164692_5439.cpp:101:27: error: 'l' was not declared in this scope
         vector<mt>ttcol(m+l);
                           ^
0_0_36164692_5439.cpp:106:20: error: 'curball' was not declared in this scope
             while((curball<n||curcolor!=O||(n&l)&&ttcolnum<=2)&&r<=tot) {
                    ^
0_0_36164692_5439.cpp:106:41: error: 'O' was not declared in this scope
             while((curball<n||curcolor!=O||(n&l)&&


Hangzhou Dianzi University Online Judge 3.0
Copyright © 2005-2024 HDU ACM Team. All Rights Reserved.
Designer & Developer : Wang Rongtao LinLe GaoJie GanLu
Total 0.000000(s) query 1, Server time : 2024-11-26 04:57:01, Gzip enabled