摘要: A - Calandar 题意: 规定一个星球上的一年有12个月,一个月30天,输入第一行是一个日期和当天是星期几,第二行是另一个日期,要求输出这个日期是星期几。 因为30能整除5,因此每个月都是一样的,不用考虑两个日期的大小和年月。 1、求两个日期的差值:如d2>d1直接d2-d1,否则d2+30 阅读全文
posted @ 2020-09-29 11:48 SyrupWRLD 阅读(155) 评论(0) 推荐(0)
摘要: 这次比赛有三道题是比较简单可以做出来的,但是我写代码不够熟练,做的比较慢,还是要多打比赛,多敲代码,比赛之后及时补题看题解,还有很多算法要学的。这样的成绩并不是很好的名次,和其他队伍差的太远了,是因为在平时的用功程度我也远不及其他那些比较优秀的学生。我最大的问题是遇到难题就容易退缩,没信心也不敢做, 阅读全文
posted @ 2020-09-26 15:51 SyrupWRLD 阅读(1615) 评论(0) 推荐(0)
摘要: #include<bits/stdc++.h>#define ll long long#define speed_up ios::sync_with_stdio(false);cin.tie(0);cout.tie(0);using namespace std;/*Input24 6 132 3 1 阅读全文
posted @ 2020-07-28 09:30 SyrupWRLD 阅读(158) 评论(0) 推荐(0)
摘要: #include<bits/stdc++.h>#define ll long long#define speed_up ios::sync_with_stdio(false);cin.tie(0);cout.tie(0);using namespace std;const ll nl=1e5+5;/ 阅读全文
posted @ 2020-07-26 23:39 SyrupWRLD 阅读(103) 评论(0) 推荐(0)
摘要: #include<bits/stdc++.h>#define ll long long#define speed_up ios::sync_with_stdio(false);cin.tie(0);cout.tie(0);using namespace std;const ll nl=1e5+5;/ 阅读全文
posted @ 2020-07-26 19:54 SyrupWRLD 阅读(128) 评论(0) 推荐(0)
摘要: #include<bits/stdc++.h>#define ll long long#define speed_up ios::sync_with_stdio(false);cin.tie(0);cout.tie(0);using namespace std;/*给了两个字符串a和b,它们都可以无 阅读全文
posted @ 2020-07-12 22:47 SyrupWRLD 阅读(137) 评论(0) 推荐(0)
摘要: #include<bits/stdc++.h>#define ll long long#define speed_up ios::sync_with_stdio(false);cin.tie(0);cout.tie(0);using namespace std;const ll nl=1e18;/* 阅读全文
posted @ 2020-06-19 13:45 SyrupWRLD 阅读(176) 评论(0) 推荐(0)
摘要: #include<bits/stdc++.h>#define ll long long#define speed_up ios::sync_with_stdio(false);cin.tie(0);cout.tie(0);using namespace std;/*用一个数组标记王子,0表示单身,1 阅读全文
posted @ 2020-06-14 16:41 SyrupWRLD 阅读(221) 评论(0) 推荐(0)
摘要: #include<bits/stdc++.h>#define ll long long#define speed_up ios::sync_with_stdio(false);cin.tie(0);cout.tie(0);using namespace std;const ll nl=1e18;/* 阅读全文
posted @ 2020-06-10 21:17 SyrupWRLD 阅读(197) 评论(0) 推荐(0)
摘要: #include<bits/stdc++.h>#define ll long long#define speed_up ios::sync_with_stdio(false);cin.tie(0);cout.tie(0);using namespace std;const ll nl=1e18;/* 阅读全文
posted @ 2020-06-10 09:45 SyrupWRLD 阅读(227) 评论(0) 推荐(0)