0_0_19635882_26403.cpp:3:5: error: 'string' does not name a type
string name;
^
0_0_19635882_26403.cpp:6:4: error: 'maxn' was not declared in this scope
}s[maxn];
^
0_0_19635882_26403.cpp: In function 'int main()':
0_0_19635882_26403.cpp:17:24: error: 'scanf' was not declared in this scope
while(scanf("%d",&n)!=EOF)
^
0_0_19635882_26403.cpp:17:27: error: 'EOF' was not declared in this scope
while(scanf("%d",&n)!=EOF)
^
0_0_19635882_26403.cpp:21:13: error: 'string' was not declared in this scope
string a;
^
0_0_19635882_26403.cpp:22:13: error: 'cin' was not declared in this scope
cin>>a;
^
0_0_19635882_26403.cpp:22:18: error: 'a' was not declared in this scope
cin>>a;
^
0_0_19635882_26403.cpp:23:13: error: 's' was not declared in this scope
s[i].name=a;
^
0_0_19635882_26403.cpp:35:14: error: 's' was not declared in this scope
sort(s,s+n,cmp);
^
0_0_19635882_26403.cpp:35:23: error: 'sort' was not declared in this scope
sort(s,s+n,cmp);
^
0_0_19635882_26403.cpp:36:9: error: 'cout' was not declared in this scope
cout<<s[0].name<<" "<<s[0].num<<" "<<s[0].time<<endl;
^
0_0_19635882_26403.cpp:36:57: error: 'endl' was not declared in this scope
cout<<s[0].name<<" "<<s[0].num<<" "<<s[0].time<<endl;
^
|