Try Again

随笔分类 -  比赛

摘要:BaoBao and DreamGrid are playing a game using a strange button. This button is attached to an LED light (the light is initially off), a counter and a 阅读全文
posted @ 2018-09-16 17:57 十年换你一句好久不见 阅读(318) 评论(0) 推荐(0)
摘要:God Water likes to eat meat, fish and chocolate very much, but unfortunately, the doctor tells him that some sequence of eating will make them poisono 阅读全文
posted @ 2018-09-15 17:26 十年换你一句好久不见 阅读(878) 评论(0) 推荐(1)
摘要:Output For each question, output one line with one integer represent the answer. 样例输入 样例输入 样例输入 5 3 1 2 3 4 5 1 1 3 2 5 0 1 4 5 样例输出 样例输出 阅读全文
posted @ 2018-09-09 18:46 十年换你一句好久不见 阅读(312) 评论(0) 推荐(0)
摘要:After the long vacation, the maze designer master has to do his job. A tour company gives him a map which is a rectangle. The map consists of N×M litt 阅读全文
posted @ 2018-09-09 18:01 十年换你一句好久不见 阅读(606) 评论(0) 推荐(0)
摘要:A.Teemo's bad day Today is a bad day. Teemo is scolded badly by his teacher because he didn't do his homework.But Teemo is very self-confident, he tel 阅读全文
posted @ 2018-07-28 16:37 十年换你一句好久不见 阅读(353) 评论(0) 推荐(0)
摘要:A:Adjoin the Networks One day your boss explains to you that he has a bunch of computer networks that are currently unreachable from each other, and h 阅读全文
posted @ 2018-07-26 19:56 十年换你一句好久不见 阅读(712) 评论(1) 推荐(1)
摘要:A Plague Inc Plague Inc. is a famous game, which player develop virus to ruin the world.JSZKC wants to model this game. Let's consider the world has N 阅读全文
posted @ 2018-07-24 17:56 十年换你一句好久不见 阅读(565) 评论(1) 推荐(0)
摘要:Maximum Multiple Problem DescriptionGiven an integer n, Chiaki would like to find three positive integers x, y and z such that: n=x+y+z, x∣n, y∣n, z∣n 阅读全文
posted @ 2018-07-23 17:20 十年换你一句好久不见 阅读(1061) 评论(0) 推荐(0)
摘要:B:Battle Royale Battle Royale games are the current trend in video games and Gamers Concealed Punching Circles (GCPC) is the most popular game of them 阅读全文
posted @ 2018-07-19 19:34 十年换你一句好久不见 阅读(663) 评论(0) 推荐(0)
摘要:Divisions David is a young boy and he loves numbers. Recently he learned how to divide two numbers.David divides the whole day. He is happy if the res 阅读全文
posted @ 2018-07-12 20:12 十年换你一句好久不见 阅读(436) 评论(0) 推荐(0)
摘要:B:Button Bashing You recently acquired a new microwave, and noticed that it provides a large number of buttons to be able to quickly specify the time 阅读全文
posted @ 2018-07-11 11:17 十年换你一句好久不见 阅读(396) 评论(0) 推荐(0)
摘要:A. Remove Duplicates A. Remove Duplicates Petya has an array aconsisting of nintegers. He wants to remove duplicate (equal) elements.Petya wants to le 阅读全文
posted @ 2018-05-13 20:11 十年换你一句好久不见 阅读(341) 评论(0) 推荐(0)
摘要:链接:https://www.nowcoder.com/acm/contest/87/B XHRlyb和她的小伙伴Cwbc在玩捉迷藏游戏。 Cwbc藏在多个不区分大小写的字符串中。 好奇的XHRlyb想知道,在每个字符串中Cwbc作为子序列分别出现了多少次。 由于Cwbc可能出现的次数过多,你只需要 阅读全文
posted @ 2018-05-12 22:05 十年换你一句好久不见 阅读(307) 评论(0) 推荐(0)
摘要:A:数字方阵 题目描述 总是对数字的神秘感感到好奇。这次,他在纸上写下了 个从 到 的数字,并把这些数字排成了 的方阵。他惊奇地发现,这个方阵中每行、每列和两条主对角线上的数字之和都不一样。他想要更多的方阵,但他再写不出来了。于是他㕛跑来找你,请你给他一个边长为 的满足上述性质的方阵。 输入描述: 阅读全文
posted @ 2018-04-22 16:51 十年换你一句好久不见 阅读(247) 评论(0) 推荐(0)
摘要:A:贪玩蓝月 题目描述 "挤需体验五番钟,里造会挨上这款游戏!" 怎么可能嘛!当我是傻子吗!#?%!“”@…… 于是我就去玩了,然后我果然成功证明,我是正确的,这破游戏,真的很无聊. 有多无聊呢,和这道题一样. 问题有两种情况 0 给出两个100以内的正整数做加法 1 给出一个字符串问有多少个字符( 阅读全文
posted @ 2018-04-22 10:40 十年换你一句好久不见 阅读(300) 评论(0) 推荐(0)
摘要:题目描述 我们把十进制下每一位都是偶数的数字叫做“二数”。 小埃表示自己很聪明,最近他不仅能够从小数到大:2,3,4,5....,也学会了从大数到小:100,99,98...,他想知道从一个数开始数最少的数就得到一个二数。但是聪明的小森已经偷偷在心里算好了小埃会数到哪个二数,请你求出他要数到哪个数吧 阅读全文
posted @ 2018-04-16 15:04 十年换你一句好久不见 阅读(299) 评论(0) 推荐(0)
摘要:gym 101192 F. Stone, grass and fire http://codeforces.com/gym/101192/problem/F Farmer Lyosha owns a rectangular field. The field has n rows and m colu 阅读全文
posted @ 2017-09-30 14:27 十年换你一句好久不见 阅读(311) 评论(0) 推荐(0)
摘要:B. Train Seats Reservation You are given a list of train stations, say from the station 1 to the station 100. The passengers can order several tickets 阅读全文
posted @ 2017-09-25 14:15 十年换你一句好久不见 阅读(359) 评论(0) 推荐(0)
摘要:A. Arpa and a research in Mexican wave Arpa is researching the Mexican wave. There are n spectators in the stadium, labeled from 1 to n. They start th 阅读全文
posted @ 2017-09-05 07:20 十年换你一句好久不见 阅读(325) 评论(0) 推荐(0)
摘要:A. Odds and Ends time limit per test 1 second memory limit per test 256 megabytes input standard input output standard output Where do odds begin, and 阅读全文
posted @ 2017-09-02 19:57 十年换你一句好久不见 阅读(201) 评论(0) 推荐(0)