摘要: 传送门 A - ∴ (Therefore) #include <bits/stdc++.h> #define ll long long using namespace std; int main() { int n; scanf("%d", &n), n %= 10; if(n == 2 || n 阅读全文
posted @ 2020-05-18 13:09 zdragon 阅读(394) 评论(0) 推荐(2) 编辑
摘要: 传送门 A - Registration #include <bits/stdc++.h> #define ll long long using namespace std; char s[15], t[15]; int main() { scanf("%s%s", s, t); bool flag 阅读全文
posted @ 2020-05-10 22:33 zdragon 阅读(285) 评论(4) 推荐(0) 编辑
摘要: 传送门 A - A?C #include <bits/stdc++.h> #define ll long long using namespace std; char s[5]; int main() { scanf("%s",s); if(s[1] == 'B') s[1] = 'R'; else 阅读全文
posted @ 2020-05-03 21:41 zdragon 阅读(287) 评论(1) 推荐(1) 编辑
摘要: 传送门 A - We Love Golf #include <bits/stdc++.h> #define ll long long using namespace std; int main() { int k, a, b; scanf("%d%d%d", &k, &a, &b); bool fl 阅读全文
posted @ 2020-05-03 12:37 zdragon 阅读(177) 评论(0) 推荐(1) 编辑
摘要: 传送门 A - Sheep and Wolves #include <bits/stdc++.h> #define ll long long using namespace std; int main() { int a, b; scanf("%d%d", &a, &b); printf("%s\n 阅读全文
posted @ 2020-04-27 11:16 zdragon 阅读(435) 评论(3) 推荐(2) 编辑
摘要: 传送门 A - Circle Pond #include <bits/stdc++.h> #define ll long long using namespace std; int main() { int n; scanf("%d", &n); printf("%.6f\n", 2.0 * aco 阅读全文
posted @ 2020-04-20 12:17 zdragon 阅读(437) 评论(5) 推荐(1) 编辑
摘要: 传送门 A - Lucky 7 #include <bits/stdc++.h> #define ll long long using namespace std; int main() { int n; scanf("%d",&n); bool f=false; while(n) { if(n%1 阅读全文
posted @ 2020-04-12 23:24 zdragon 阅读(617) 评论(0) 推荐(3) 编辑
摘要: 传送门 A - ABC Swap #include <bits/stdc++.h> #define ll long long using namespace std; int main() { //freopen("in.txt","r",stdin); int a,b,c; scanf("%d%d 阅读全文
posted @ 2020-04-05 12:05 zdragon 阅读(281) 评论(0) 推荐(1) 编辑
摘要: 传送门 A - Coffee #include <bits/stdc++.h> #define ll long long using namespace std; char s[10]; int main() { //freopen("in.txt","r",stdin); scanf("%s",s 阅读全文
posted @ 2020-03-28 22:42 zdragon 阅读(387) 评论(2) 推荐(1) 编辑
摘要: 传送门 A - The Number of Even Pairs #include <bits/stdc++.h> #define ll long long using namespace std; int main() { //freopen("in.txt","r",stdin); int n, 阅读全文
posted @ 2020-03-23 12:27 zdragon 阅读(299) 评论(0) 推荐(0) 编辑