![](https://img-blog.csdnimg.cn/20201014180756925.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
思维
撞破头的新青年
学到情怀挥洒时
展开
-
躲藏
题目链接:https://ac.nowcoder.com/acm/challenge/terminal时间限制:C/C++ 1秒,其他语言2秒空间限制:C/C++ 32768K,其他语言65536K64bit IO Format: %lld题目描述XHRlyb和她的小伙伴Cwbc在玩捉迷藏游戏。Cwbc藏在多个不区分大小写的字符串中。好奇的XHRlyb想知道,在每个字符串中Cw...原创 2019-08-02 21:35:35 · 132 阅读 · 0 评论 -
腾讯2017秋招2题
[编程题]游戏任务标记时间限制:1秒空间限制:32768K游戏里面有很多各式各样的任务,其中有一种任务玩家只能做一次,这类任务一共有1024个,任务ID范围[1,1024]。请用32个unsigned int类型来记录着1024个任务是否已经完成。初始状态都是未完成。 输入两个参数,都是任务ID,需要设置第一个ID的任务为已经完成;并检查第二个ID的任务是否已经完成。 输出一个参数,如...原创 2019-08-03 22:36:38 · 93 阅读 · 0 评论 -
B - Vile Grasshoppers (codeforces)
The weather is fine today and hence it’s high time to climb the nearby pine and enjoy the landscape.The pine’s trunk includes several branches, located one above another and numbered from 2 to y. Som...原创 2019-08-04 21:13:29 · 112 阅读 · 0 评论 -
Codeforces Round #577 (Div. 2) B. Zero Array
B. Zero Arraytime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputYou are given an arraya1,a2,…,ana1,a2,…,an.In one operation you c...原创 2019-08-05 23:09:32 · 159 阅读 · 0 评论 -
Codeforces Round #577 (Div. 2)C. Maximum Median
C. Maximum Mediantime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputYou are given an arrayaaofnnintegers, wherennis odd. You ...原创 2019-08-06 09:13:25 · 180 阅读 · 0 评论 -
Open Credit System uva11078
In an open credit system, the students can choose any course they like, but there is a problem. Some of the students are more senior than other students. The professor of such a course has found quite...原创 2019-08-13 18:46:50 · 110 阅读 · 0 评论 -
Codeforces Round #576 (Div. 2) D. Welfare State
D. Welfare Statetime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputThere is a country withnncitizens. Theii-th of them initially...原创 2019-08-07 10:10:03 · 125 阅读 · 0 评论 -
Codeforces Round #572 (Div. 1) B. Count Pairs
B. Count Pairstime limit per test4 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputYou are given aprimenumberpp,nnintegersa1,a2,…,ana1,a2,…,an,...原创 2019-08-14 20:46:06 · 154 阅读 · 0 评论 -
Educational Codeforces Round 70 (Rated for Div. 2)A. You Are Given Two Binary Strings...
A. You Are Given Two Binary Strings...time limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputYou are given two binary stringsxxandyy...原创 2019-08-10 21:39:51 · 254 阅读 · 0 评论