首页
DreamJudge
院校信息
考研初试
考研复试
保研专区
讨论区
兑换中心
登录
注册
上岸
以下题解仅供学习参考使用。
抄袭、复制题解,以达到刷AC率/AC数量或其他目的的行为,在N诺是严格禁止的。
N诺非常重视学术诚信。此类行为将会导致您成为作弊者。具体细则请查看N诺社区规则。
阔赛英
2023年2月3日 19:18
map
P1476
回复 0
|
赞 1
|
浏览 4.1k
#include <iostream> #include <map> #include <string.h> using namespace std; struct Student { string id; string name; string sex; int age; }; int main() { int n; int m; while (cin >> n) { map<string, Student> M...
术小白
2022年4月24日 13:34
c
P1476
回复 0
|
赞 2
|
浏览 5.5k
#include <stdio.h> #include <stdlib.h> #include <string.h> //学生信息结构体 struct stu{ char num[50]; char name[50]; char sex[50]; int yea...
1
2
3
4
题目
查找学生信息2
题解数量
32
发布题解
在线答疑
热门题解
1
查找学生信息2 题解:解释id只能用string类型的原因(超清晰,丁真看了都要抽一根瑞克五代)
2
需要注意!有中英文的区别不然只有33.3%通过率
3
查找学生信息2 题解:
4
查找学生信息2 题解:运行超时通过率33%
5
查找学生信息2 题解:正确率只有33%,id不要用int类型改用string过了。我也不知道为什么。
6
查找学生信息2 题解:map的基本用法
7
查找学生信息2 题解:c
8
查找学生信息2 题解:
9
查找学生信息2 题解:只对了33%,求教
10
查找学生信息2 题解: