![](https://img-blog.csdnimg.cn/20201014180756930.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
VJ水题
小乔美哒哒
你,也是本小姐的粉丝吗???
展开
-
B - Friends and Cookies Gym - 101810B
B - Friends and Cookies Gym - 101810BAbood’s birthday has come, and his n friends are aligned in a single line from 1 to n, waiting for their cookies, Abood has x cookies to give to his friends.He...原创 2018-08-22 19:48:05 · 278 阅读 · 0 评论 -
H - Genta Game Gym - 101778H
Kojima Genta is one of the best friends of Conan, and the fattest one!Everyone believes that Genta is just thinking about food. So, he wants to prove the opposite. So, his friends challenged him in ...原创 2018-09-05 22:22:01 · 208 阅读 · 0 评论 -
Reach Median
B. Reach MedianYou are given an array aa of nn integers and an integer ss. It is guaranteed that nn is odd.In one operation you can either increase or decrease any single element by one. Calculate...原创 2018-09-03 09:34:39 · 197 阅读 · 0 评论 -
C. Equalize
C. EqualizeYou are given two binary strings aa and bb of the same length. You can perform the following two operations on the string aa:Swap any two bits at indices ii and jj respectively (1≤i,j≤n...原创 2018-09-03 09:01:57 · 319 阅读 · 0 评论 -
Find Integer
Find IntegerTime Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/65536 K (Java/Others)Total Submission(s): 315 Accepted Submission(s): 78Special JudgeProblem Descriptionpeople in US...原创 2018-08-25 20:53:53 · 405 阅读 · 0 评论 -
A - Gene Shuffle Gym - 101078A
A Gene ShuffleProblemThe genomes of two related species, like that of cabbage and turnip, may contain similar genes. Their order in the genome may be different due to genome transpositions during ...原创 2018-08-29 19:51:58 · 191 阅读 · 0 评论 -
G - 三子棋(10) 51Nod - 1995
小的时候大家一定玩过“井”字棋吧。也就是在九宫格中,只要任意行、列,或者任意连续对角线上面出现三个相同的,就能获胜。现在小明和小花也在玩三子棋,但是他们不是在九宫格里,而是在3×4的格子里面。现在小明先下,但是他知道小花这个人很聪明,他想知道第一步下在哪一个地方最合适,你能帮帮他吗?Input 第一行输入一个整数T,表示数据组数(1 第二行输入两个整数x,y,表示3×4格子里面的一个坐标(x...原创 2018-08-21 15:02:39 · 115 阅读 · 0 评论 -
F - Building Numbers Gym - 101502F
In this problem, you can build a new number starting from 1, by performing the following operations as much as you need:Add 1 to the current number. Add the current number to itself (i.e. multiply ...原创 2018-08-30 23:12:32 · 209 阅读 · 0 评论 -
H - Eyad and Math Gym - 101502H
Eyad was given a simple math problem, but since he is very bad at math he asked you to help him.Given 4 numbers, a, b, c, and d. Your task is to find whether ab is less than cd or not.It is guaran...原创 2018-08-30 22:18:34 · 349 阅读 · 0 评论 -
Doki Doki Literature Club
原题链接Hint题目没啥难度,就是按照不同的冒泡都能完成。根据公式将给定的单词和幸福度排序即可。#include <iostream>#include <algorithm>#include <cstring>#include <bits/stdc++.h>using namespace std;struct node{...原创 2018-11-01 08:34:29 · 1542 阅读 · 0 评论