![](https://img-blog.csdnimg.cn/20201014180756925.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
codeforce
V4yne.
HDU18级新生,ACM菜狗。
展开
-
codeforce 1167B
交互题模板题,用来学习交互题的格式的。我写的第一道交互题,记录一下AC代码:#include<bits/stdc++.h>using namespace std;int arr[10]={0,4,8,15,16,23,42};int brr[105];int main(){ for(int i=1;i<=4;i++) { printf("? %d %d\n"...原创 2020-03-22 14:50:12 · 164 阅读 · 0 评论 -
Codefoece Educational Codeforces Round 83 (Rated for Div. 2)题解,(ABCDE)
比赛链接A题:思路:签到题。代码:#include<bits/stdc++.h>using namespace std;typedef long long ll;const int maxn=2e5+50;int t,n,m;int arr[maxn];int main(){ ios::sync_with_stdio(false); cin>>t;...原创 2020-03-10 15:44:01 · 607 阅读 · 0 评论 -
Codeforce Ozon Tech Challenge 2020 (Div.1 + Div.2)2020.3.3题解(ABCDE)
A题:思路:签到题,没啥好说,给的两个数组里的每个数字都是彼此不相同的,要求和两两不同,显然对两个数组分别排序输出即可。代码:#include<bits/stdc++.h>using namespace std;typedef long long ll;const int maxn=2e5+50;int t,n,m;int arr[maxn];int brr[maxn...原创 2020-03-04 16:28:38 · 281 阅读 · 0 评论 -
codeforce Round#615 Div3.(ABCDEF)
戳我:比赛地址A.Collecting Coins题解:A题憨憨签到题,直接发代码辽,注意判一下大于小于。#include<bits/stdc++.h>using namespace std;typedef long long ll;int main(){ ios::sync_with_stdio(false); int a,b,c,n; int t; cin&g...原创 2020-01-28 14:59:46 · 255 阅读 · 1 评论 -
Codeforce---Educational Codeforces Round 72 (Rated for Div. 2)题解(ABCD)
A题:Creating a Charactertime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputYou play your favourite game yet another time. You chose the chara...原创 2019-09-06 08:53:36 · 534 阅读 · 0 评论