#include<iostream>
#include<vector>
#include<deque>
#include<algorithm>
using namespace std;
class Person {
public:
string name;
double score;
Person(string name1, double score1) {
name = name1;
score = score1;
}
};
int main() {
vector<Person>v1;
for (int i = 0; i < 5; i++) {
string name;
int score = 0;
cout << "请输入第" << i + 1 << "个学生的姓名:";
cout << endl;
cin >> name;
Person p(name, score);
v1.push_back(p);
}
deque<int>d1;
for (vector<Person> ::iterator it = v1.begin(); it != v1.end(); it++) {
int n;
cout << "请输入" << (*it).name << "学生的评委分数:" << endl;
for (int j = 0; j < 10; j++) {
cout << "请输入第&
07-30
01-09
368
10-12
285
10-05
235
“相关推荐”对你有帮助么?
-
非常没帮助
-
没帮助
-
一般
-
有帮助
-
非常有帮助
提交