0_0_30305438_11877.cpp:19:5: error: 'string' does not name a type
string a,b;
^
0_0_30305438_11877.cpp:21:26: error: 'tem' does not name a type
bool operator<(const tem& a)
^
0_0_30305438_11877.cpp:25:13: error: 'string' has not been declared
void fu(string f,string g,int k)
^
0_0_30305438_11877.cpp:25:22: error: 'string' has not been declared
void fu(string f,string g,int k)
^
0_0_30305438_11877.cpp: In member function 'bool one::operator<(const int&)':
0_0_30305438_11877.cpp:23:22: error: request for member 'now' in 'a', which is of non-class type 'const int'
return now<a.now;
^
0_0_30305438_11877.cpp: In member function 'void one::fu(int, int, int)':
0_0_30305438_11877.cpp:27:9: error: 'a' was not declared in this scope
a=f;
^
0_0_30305438_11877.cpp:28:9: error: 'b' was not declared in this scope
b=g;
^
0_0_30305438_11877.cpp: At global scope:
0_0_30305438_11877.cpp:32:1: error: 'map' does not name a type
map<string,int>xuhao;
^
0_0_30305438_11877.cpp:33:1: error: 'set' does not name a type
set<int>team[8];
^
0_0_30305438_11877.cpp:35:17: error: 'fun1' declared as an 'inline' variable
inline int fun1(string a)
^
0_0_30305438_11877.cpp:35:17: error: 'string' was not declared in this scope
0_0_30305438_11877.cpp:36:1: error: expected ',' or ';' before '{' token
{
^
0_0_30305438_11877.cpp: In function 'void solve()':
0_0_30305438_11877.cpp:45:8: error: 'team' was not declared in this scope
if(team[0].size()<1||team[1].size()<4||team[2].size()<4||team[3].size()<2){fau=1;return;}
^
0_0_30305438_11877.cpp:46:11: error: 'tem' was not declared in this scope
while(tem[0].size()>1)team[0].pop();
^
0_0_30305438_11877.cpp:46:27: error: 'team' was not declared in this scope
while(tem[0].size()>1)team[0].pop();
^
0_0_30305438_11877.cpp:47:11: error: 'tem' was not declared in this scope
while(tem[1].size()>4)team[0].pop();
^
0_0_30305438_11877.cpp:47:27: error: 'team' was not declared in this scope
while(tem[1].size()>4)team[0].pop();
^
0_0_30305438_11877.cpp:48:11: error: 'tem' was not declared in this scope
while(tem[2].size()>4)team[0].pop();
^
0_0_30305438_11877.cpp:48:27: error: 'team' was not declared in this scope
while(tem[2].size()>4)team[0].pop();
^
0_0_30305438_11877.cpp:49:11: error: 'tem' was not declared in this scope
while(tem[3].size()>2)team[0].pop();
^
0_0_30305438_11877.cpp:49:27: error: 'team' was not declared in this scope
while(tem[3].size()>2)team[0].pop();
^
0_0_30305438_11877.cpp: In function 'int check(int, int)':
0_0_30305438_11877.cpp:56:5: error: 'set' was not declared in this scope
set<int> iterator::it=team[shuyu].begin();
^
0_0_30305438_11877.cpp:56:9: error: expected primary-expression before 'int'
set<int> iterator::it=team[shuyu].begin();
^
0_0_30305438_11877.cpp:57:10: error: 'it' was not declared in this scope
for(;it!=team[shuyu].end();it++)
^
0_0_30305438_11877.cpp:57:14: error: 'team' was not declared in this scope
for(;it!=team[shuyu].end();it++)
^
0_0_30305438_11877.cpp:60:12: error: 'add' was not declared in this scope
if(add[get]+imformation[get].score<)
^
0_0_30305438_11877.cpp:60:44: error: expected primary-expression before ')' token
if(add[get]+imformation[get].score<)
^
0_0_30305438_11877.cpp:62:5: error: expected primary-expression before '}' token
}
^
0_0_30305438_11877.cpp: In function 'void solve1(int, int, int)':
0_0_30305438_11877.cpp:69:8: error: 'tem' was not declared in this scope
if(tem[belong1].count(a)&&tem[belong2],count(b)){totadd+=add;special[a]+=add;special[b]+=add;zhu[a][b]=add;}
^
0_0_30305438_11877.cpp:69:51: error: 'count' was not declared in this scope
if(tem[belong1].count(a)&&tem[belong2],count(b)){totadd+=add;special[a]+=add;special[b]+=add;zhu[a][b]=add;}
^
0_0_30305438_11877.cpp:69:106: error: invalid types 'int[int]' for array subscript
if(tem[belong1].count(a)&&tem[belong2],count(b)){totadd+=add;special[a]+=add;special[b]+=add;zhu[a][b]=add;}
^
0_0_30305438_11877.cpp:70:8: error: 'tem' was not declared in this scope
if(tem[belong1].count(a)&&tem[belong2])
^
0_0_30305438_11877.cpp: In function 'int main()':
0_0_30305438_11877.cpp:78:5: error: 'string' was not declared in this scope
string name,posi;
^
0_0_30305438_11877.cpp:79:31: error: 'memset' was not declared in this scope
memset(kind,0,sizeof(kind));
^
0_0_30305438_11877.cpp:85:9: error: 'cin' was not declared in this scope
cin>>name>>score>>posi;
^
0_0_30305438_11877.cpp:85:14: error: 'name' was not declared in this scope
cin>>name>>score>>posi;
^
0_0_30305438_11877.cpp:85:27: error: 'posi' was not declared in this scope
cin>>name>>score>>posi;
^
0_0_30305438_11877.cpp:86:9: error: 'xuhao' was not declared in this scope
xuhao[name]=i;
^
0_0_30305438_11877.cpp:87:29: error: 'fun1' cannot be used as a function
int belong=fun1(posi);
^
0_0_30305438_11877.cpp:89:9: error: 'set' was not declared in this scope
set[belong].insert(i);
^
0_0_30305438_11877.cpp:99:16: error: expected ';' before 'man1'
string man1,man2;
^
0_0_30305438_11877.cpp:101:9: error: 'cin' was not declared in this scope
cin>>man1>>man2>>addscore;
^
0_0_30305438_11877.cpp:101:14: error: 'man1' was not declared in this scope
cin>>man1>>man2>>addscore;
^
0_0_30305438_11877.cpp:101:20: error: 'man2' was not declared in this scope
cin>>man1>>man2>>addscore;
^
0_0_30305438_11877.cpp:105:25: error: 'sort' was not declared in this scope
sort(wait+1,wait+n+1);
^
0_0_30305438_11877.cpp:108:41: error: 'struct one' has no member named 'a'
if(wait[i].now>=0)solve1(wait[i].a,wait[i].b,wait[i].now);
^
0_0_30305438_11877.cpp:108:51: error: 'struct one' has no member named 'b'
if(wait[i].now>=0)solve1(wait[i].a,wait[i].b,wait[i].now);
^
0_0_30305438_11877.cpp:109:40: error: 'struct one' has no member named 'a'
if(wait[i].now<0)solve2(wait[i].a,wait[i].b,wait[i].now);
^
0_0_30305438_11877.cpp:109:50: error: 'struct one' has no member named 'b'
if(wait[i].now<0)solve2(wait[i].a,wait[i].b,wait[i].now);
^
0_0_30305438_11877.cpp:109:63: error: 'solve2' was not declared in this scope
if(wait[i].now<0)solve2(wait[i].a,wait[i].b,wait[i].now);
^
0_0_30305438_11877.cpp:112:20: error: 'finalcout' was not declared in this scope
else finalcout();
^
|