Loading

摘要: A - Something on It #include <bits/stdc++.h> using namespace std; const int N = 1e6 + 5; typedef long long LL; int sum = 700; int main() { string s; c 阅读全文
posted @ 2021-02-04 23:43 WinterFa1L 阅读(96) 评论(0) 推荐(0)
摘要: A - Day of Takahashi 输入a b,问从1月1号到a月b号有几天是月份和日期相同的 #include<bits/stdc++.h> using namespace std; const int N = 1e6 + 5; typedef long long LL; int a, b; 阅读全文
posted @ 2021-02-04 19:33 WinterFa1L 阅读(120) 评论(0) 推荐(0)
摘要: A - Colorful Transceivers 给出abcd四个数,abc都是一维坐标,问a能否和c直接或间接联通,坐标差值在d以内的可以直接联通 直接模拟即可 #include<bits/stdc++.h> using namespace std; const int N = 1e6 + 5; 阅读全文
posted @ 2021-02-04 08:27 WinterFa1L 阅读(112) 评论(0) 推荐(0)