摘要: 1.查找问题: 二分查找: 例题:使用map解决查找问题 代码: #include <bits/stdc++.h> using namespace std; //查找学生信息 struct Student{ string name; string sex; int age; string id; } 阅读全文
posted @ 2020-03-01 13:42 Kimishima-Kana 阅读(252) 评论(0) 推荐(0) 编辑
摘要: 1.日期问题: 输入: 例题: 代码: #include <stdio.h> #include <bits/stdc++.h> struct node{ int year, mouth, day; }p; int f[13] = {0, 31, 28, 31, 30, 31, 30, 31, 31, 阅读全文
posted @ 2020-03-01 13:25 Kimishima-Kana 阅读(262) 评论(0) 推荐(0) 编辑