- 输出Hello,World!
铁锅炖大鹅
- @ 2025-6-30 14:44:11
闲的
6 条评论
-
-
@ 2025-7-1 9:47:15
李秉卓我不欢迎你
-
@ 2025-7-1 9:38:32
#include<bits/stdc++.h>
using namespace std;
struct student{
string name; int score;};
int main(){
struct student stu; stu={"福七喜",100}; cout << stu.name << " "<<stu.score<<endl; student stu1; cin>>stu1.name >>stu1.score; cout << stu1.name << " "<<stu1.score<<endl; student stu2[3]; for(int i=0;i<3;i++) { cin>>stu2[i].name >>stu2[i].score; } for(int i=0;i<3;i++) { cout << stu2[i].name << " "<<stu2[i].score<<endl;
} return 0;}
- 1
信息
- ID
- 3
- 时间
- 1000ms
- 内存
- 256MiB
- 难度
- 7
- 标签
- (无)
- 递交数
- 3107
- 已通过
- 809
- 上传者