随笔分类 - 基本算法---模拟
摘要:题目 https://pintia.cn/problem-sets/994805342720868352/problems/994805387268571136 题意 模拟高校投档流程 Sample Input: 11 6 3 2 1 2 2 2 3 100 100 0 1 2 60 60 2 3
阅读全文
摘要:题目 https://pintia.cn/problem-sets/994805342720868352/problems/994805480801550336 题意 模拟图书馆,查找 Sample Input: 3 1111111 The Testing Book Yue Chen test co
阅读全文
摘要:题目 https://pintia.cn/problem-sets/994805342720868352/problems/994805491530579968 题意 银行M个窗口,N个人来办事,几点到,每个人需要的处理时间 问平均等待时间(17点后到不处理~) Sample Input: 7 3
阅读全文
摘要:题目 https://pintia.cn/problem-sets/994805342720868352/problems/994805498207911936 题意 N个窗口,K个人去办事,每个窗口黄线内可容纳M个人,黄线外排一对,问每个人的完成时间 Sample Input: 2 2 7 5 1
阅读全文
摘要:招生 #include <iostream> #include <cstdio> #include <algorithm> #include <cstring> #include <string> #include <vector> #include <stack> #include <map> #
阅读全文