![](https://img-blog.csdnimg.cn/20201014180756916.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
CSP
迷麟Milin
There isn't time, so brief is life, for bickerings, apologies, heartburnings, callings to account. There is only time for loving, and but an instant, so to speak, for that. The good life is built with good relationships.
——Mark Twain
展开
-
CSP 201609-2 火车购票
模拟利用list维护100个座位的删除操作c++ 代码如下:#include <iostream>#include <cstdlib>#include <cstring>#include <algorithm>#include <cstdio>#include <cmath>#include &...原创 2019-12-11 22:17:10 · 131 阅读 · 0 评论 -
CSP 2016-12-2 工资计算
思路:分段函数+遍历即:用分段函数计算原有工资加税后的工资,并与题目给定的工资比较。暴力枚举范围为t~2tc++代码如下:#include <iostream>#include <algorithm>#include <cmath>#include <cstdio>using namespace std;d...原创 2019-12-03 00:56:52 · 169 阅读 · 0 评论