随笔分类 - Online Contest
Contest on Internet
摘要:边开着Android Studio边打,结果电脑死机了一次……题目还蛮有趣的。 题目链接:https://cometoj.com/contest/39 A: 超级温暖人心的手速题。 1 /* basic header */ 2 #include <bits/stdc++.h> 3 /* define
阅读全文
摘要:牛客练习赛46。比cf div2稍难一些。题目区分度倒是很高。 题目链接:https://ac.nowcoder.com/acm/contest/894#question A: 一看就知道两个小半圆半径相等时满足题意。 1 #include <bits/stdc++.h> 2 #define ll
阅读全文
摘要:第一次打atcoder,还因为开会的原因被迫让了半小时。Beginning Contest比想象中要简单。 题目链接:https://atcoder.jp/contests/abc126 A: 给定一个只含有大写字母的字符串,把第k位变为小写并输出字符串。这比cf div3 a还傻。 1 /* ba
阅读全文
摘要:时间太晚就没有打,随便看了一下题,当了嘴巴选手。结果发现题目简单到超出想象。 题目链接:https://codeforces.com/contest/1166 A: 上来就卡题意,其实用map维护一下直接秒杀。 1 #include <bits/stdc++.h> 2 #define ll long
阅读全文
摘要:好久之前打的,今晚才有空补题。不得不说这个oj的contest质量很好,比赛时间也非常友善。 题目链接:https://cometoj.com/contest/38/problems A: 温暖签到。multiset就秒了。 1 /* basic header */ 2 #include <bits
阅读全文
摘要:比较简单的一场。 题目链接:https://codeforces.com/contest/1167 A: 手速快三分钟就切了。 1 #include <bits/stdc++.h> 2 #define ll long long 3 #define pb push_back 4 #define mp
阅读全文
摘要:打完省赛回来写了总结,有点累,就没想着打这场了 (竟然有wxh出题,wxh天下第一 !) 题目链接:https://codeforces.com/contest/1159 A: 非常弱智的一道题,像单调栈一样处理就完事了。 1 /* basic header */ 2 #include <iostr
阅读全文
摘要:bc两题居然都有小题,有点烦。 题目链接:http://codeforces.com/contest/1163 A: 本场唯一温暖人心。 1 /* basic header */ 2 #include <iostream> 3 #include <cstdio> 4 #include <cstdli
阅读全文
摘要:时间太晚了就没有打(居然01:05,该歇了),不算难,但很有意思,后面的题目质量不错。 题目链接:http://codeforces.com/contest/1162 A: 照例是开局送温暖。 1 /* basic header */ 2 #include <iostream> 3 #include
阅读全文
摘要:本来在快乐写题的,突然A数据炸了,全场重测,unrated…… 昨晚的题也有点毒,不过总体来说还算简单。 A: 一开始我也wa on 3了,仔细想想就会发现有重点的情况。 比如n==3, 3 1 2。答案应该是6而不是7。 1 /* basic header */ 2 #include <bits/
阅读全文
摘要:没想到平成年代最后一场cf居然是手速场,幸好拿了个小号娱乐不然掉分预定 (逃 题目链接:http://codeforces.com/contest/1150 A: 傻题。 1 /* basic header */ 2 #include <iostream> 3 #include <cstdio> 4
阅读全文
摘要:距离上次打cf已经不知道过了多久,看到最近的contest都很水,于是想上上分,然后就3题滚了……(顺便吐槽cf好卡 题目链接:http://codeforces.com/contest/1152 A: 一眼题,奇+偶才能等于奇 1 #include <bits/stdc++.h> 2 /* def
阅读全文
摘要:感觉现在Edu场比以前的难多了…… A: 温暖人心 1 /* basic header */ 2 #include <iostream> 3 #include <cstdio> 4 #include <cstdlib> 5 #include <string> 6 #include <cstring>
阅读全文
摘要:Problem: http://codeforces.com/contest/1154 手速场,暴力场 A: 1 /* basic header */ 2 #include <iostream> 3 #include <cstdio> 4 #include <cstdlib> 5 #include
阅读全文

浙公网安备 33010602011771号