
结构体
文章平均质量分 64
啊哈!我会啦
写博客,我好像没啥灵感
展开
-
POJ - 2376 Cleaning Shifts——贪心
题目:Cleaning ShiftsFarmer John is assigning some of his N (1 <= N <= 25,000) cows to do some cleaning chores around the barn. He always wants to have one cow working on cleaning things up and has divided the day into T shifts (1 <= T <= 1,000,0原创 2021-07-31 11:24:02 · 123 阅读 · 0 评论 -
PTA 第8章结构体与其他结构类型实验
PTA 第8章结构体与其他结构类型实验查找电话号码编写一个程序,输入若干人员的姓名及电话号码(11位),以字符’#’表示结束输入。然后输入姓名,查找该人的电话号码。不允许出现同名。输入样例1:在这里给出一组输入。例如:wanglin 18303721616zhaohaojie 18303721919zhangli 18303721010#zhaohaojie输出样例1:在这里给出相应的输出。例如:number is 18303721919输入样例2:在这里给出一组输入。例原创 2021-04-20 23:33:52 · 927 阅读 · 0 评论