引用 + https://training.play with docker.com/beginner linux/ 新手 Linux 克隆实验室仓库: 确保你有 "Docker Hub" 的账号 DockerID 任务1: 运行一些简单的docker容器 通过Alpine Linux容器运行单个任 ...
分类:
系统相关 时间:
2020-04-17 23:42:23
阅读次数:
106
AtCoder Beginner Contest 161 第一次打AtCoder的比赛,因为是日本的网站终于不用倒时差了233。 A - ABC Swap 可以直接按照交换后的顺序输出。 #include <bits/stdc++.h> using namespace std; int main() ...
分类:
其他好文 时间:
2020-04-05 15:24:18
阅读次数:
89
传送门 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 ...
分类:
其他好文 时间:
2020-04-05 13:25:36
阅读次数:
69
题目链接:AtCoder Beginner Contest 161 原版题解链接:传送门 A - ABC Swap 这题太水,直接模拟即可。 1 #include <iostream> 2 using namespace std; 3 int main() { 4 int a, b, c; 5 ci ...
分类:
其他好文 时间:
2020-04-04 22:54:54
阅读次数:
100
A. 水题 1 #include<bits/stdc++.h> 2 using namespace std; 3 char s[10]; 4 int main() 5 { 6 scanf("%s",s+1); 7 if(s[3]==s[4]&&s[5]==s[6])puts("Yes"); 8 el ...
分类:
其他好文 时间:
2020-03-30 09:25:08
阅读次数:
84
A. 签到题1。 #include<bits/stdc++.h> #define fi first #define sd second #define lson (nd<<1) #define rson (nd+nd+1) #define PB push_back #define mid (l+r> ...
分类:
其他好文 时间:
2020-03-29 12:51:24
阅读次数:
76
Problem Statement Snuke has decided to play a game using cards. He has a deck consisting of NN cards. On the ii -th card from the top, an integer AiAi ...
分类:
其他好文 时间:
2020-03-29 01:37:30
阅读次数:
90
传送门 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 ...
分类:
其他好文 时间:
2020-03-28 23:24:43
阅读次数:
96
官方题解 落谷链接 ATC链接 A - The Number of Even Pairs 题意 给你两个数$n, m$代表有$n$个偶数,$m$个奇数。让你输出$n$个偶数$m$个奇数从中任选两个数(没有顺序)相加结果为偶数的个数。 题解 相加为偶数只有偶加偶和奇加奇两种情况,其实就是在$n$个数中 ...
分类:
其他好文 时间:
2020-03-25 23:01:44
阅读次数:
83