随笔分类 -  水题

摘要:Problem B: Bulbs Greg has an m×n grid of Sweet Lightbulbs of Pure Coolness he would like to turn on. Initially, some of the bulbs are on and some are 阅读全文
posted @ 2019-08-01 11:44 知道了呀~ 阅读(226) 评论(0) 推荐(0) 编辑
摘要:Problem I: Ingenious Lottery Tickets Your friend Superstitious Stanley is always getting himself into trouble. This time, in his Super Lotto Pick and 阅读全文
posted @ 2019-08-01 11:26 知道了呀~ 阅读(287) 评论(0) 推荐(0) 编辑
摘要:B. Yet Another Crosses Problem time limit per test 2 seconds memory limit per test 256 megabytes input standard input output standard output B. Yet An 阅读全文
posted @ 2019-07-15 15:50 知道了呀~ 阅读(668) 评论(0) 推荐(0) 编辑
摘要:交换瓶子 有N个瓶子,编号 1 ~ N,放在架子上。 比如有5个瓶子:2 1 3 5 4 要求每次拿起2个瓶子,交换它们的位置。经过若干次后,使得瓶子的序号为:1 2 3 4 5 对于这么简单的情况,显然,至少需要交换2次就可以复位。 如果瓶子更多呢?你可以通过编程来解决。 输入格式为两行:第一行: 阅读全文
posted @ 2019-03-14 20:40 知道了呀~ 阅读(282) 评论(0) 推荐(0) 编辑
摘要:链接:https://ac.nowcoder.com/acm/contest/332/B来源:牛客网 题目描述 小j开始打工,准备赚钱买煤气灶。 第一天,小j的工资为n元,之后每天他的工资都比前一天多d元。 已知煤气灶需要m元,求小j最少工作几天才能买到煤气灶。 输入描述: 四个整数 n,m,d,x 阅读全文
posted @ 2019-02-26 19:46 知道了呀~ 阅读(226) 评论(0) 推荐(0) 编辑
摘要:B. Divisors of Two Integers time limit per test 1 second time limit per test memory limit per test 256 megabytes memory limit per test input standard 阅读全文
posted @ 2019-01-24 19:57 知道了呀~ 阅读(420) 评论(0) 推荐(0) 编辑
摘要:链接:https://ac.nowcoder.com/acm/contest/317/A来源:牛客网 小a的数学基础实在太差了,以至于他只会用计算器算数。他的计算器比较特殊,只有+,−,×,/+,−,×,/(即加减乘除)四种运算。 经过一番周折,小a终于算出了他想要的数,但是他却忘记了最初的数是什么 阅读全文
posted @ 2019-01-22 20:45 知道了呀~ 阅读(458) 评论(0) 推荐(0) 编辑
摘要:链接:https://ac.nowcoder.com/acm/contest/317/B来源:牛客网 小a非常喜欢204204这个数字,因为′a′+′k′=204′a′+′k′=204。 现在他有一个长度为nn的序列,其中只含有2,0,42,0,4这三种数字 设aiai为序列中第ii个数,你需要重新 阅读全文
posted @ 2019-01-22 20:44 知道了呀~ 阅读(399) 评论(0) 推荐(0) 编辑
摘要:https://www.nowcoder.com/practice/53e4c208b8cf497086ecd65ef45349bb?tpId=85&tqId=29835&tPage=1&rp=1&ru=/ta/2017test&qru=/ta/2017test/question-ranking 题 阅读全文
posted @ 2019-01-21 17:50 知道了呀~ 阅读(224) 评论(0) 推荐(0) 编辑
摘要:https://www.nowcoder.com/practice/a174820de48147d489f64103af152709?tpId=85&tqId=29834&tPage=1&rp=1&ru=/ta/2017test&qru=/ta/2017test/question-ranking n 阅读全文
posted @ 2019-01-18 14:35 知道了呀~ 阅读(243) 评论(0) 推荐(0) 编辑
摘要:问题描述 给定n个十六进制正整数,输出它们对应的八进制数。 输入格式 输入的第一行为一个正整数n (1<=n<=10)。 接下来n行,每行一个由0~9、大写字母A~F组成的字符串,表示要转换的十六进制正整数,每个十六进制数长度不超过100000。 输出格式 输出n行,每行为输入对应的八进制正整数。 阅读全文
posted @ 2018-11-09 20:09 知道了呀~ 阅读(7354) 评论(9) 推荐(6) 编辑
摘要:A. Free Cash time limit per test 2 seconds memory limit per test 256 megabytes input standard input output standard output A. Free Cash time limit per 阅读全文
posted @ 2018-09-26 23:42 知道了呀~ 阅读(292) 评论(0) 推荐(0) 编辑
摘要:B. Sereja and Suffixes time limit per test 1 second memory limit per test 256 megabytes input standard input output standard output B. Sereja and Suff 阅读全文
posted @ 2018-09-26 21:17 知道了呀~ 阅读(287) 评论(0) 推荐(0) 编辑
摘要:A. Cinema Line time limit per test 2 seconds memory limit per test 256 megabytes input standard input output standard output A. Cinema Line time limit 阅读全文
posted @ 2018-09-25 21:22 知道了呀~ 阅读(324) 评论(0) 推荐(0) 编辑
摘要:A. Wrong Subtraction time limit per test 1 second memory limit per test 256 megabytes input standard input output standard output A. Wrong Subtraction 阅读全文
posted @ 2018-09-24 16:49 知道了呀~ 阅读(364) 评论(0) 推荐(0) 编辑
摘要:A. The number of positions time limit per test 0.5 second memory limit per test 256 megabytes input standard input output standard output A. The numbe 阅读全文
posted @ 2018-09-24 16:24 知道了呀~ 阅读(242) 评论(0) 推荐(0) 编辑
摘要:RPG的错排 时间限制:1000/1000 MS(Java / Others)内存限制:32768/32768 K(Java / Others)总提交内容:16421接受的提交内容:6670 问题描述 今年暑假杭电ACM集训队第一次组成女生队,其中有一队叫RPG,但做为集训队成员之一的野骆驼竟然不知 阅读全文
posted @ 2018-09-08 17:04 知道了呀~ 阅读(204) 评论(0) 推荐(0) 编辑
摘要:小兔的棋盘 时间限制:1000/1000 MS(Java / Others)内存限制:32768/32768 K(Java / Others)总提交内容:13029接受的提交内容:6517 问题描述 小兔的叔叔从外面旅游回来给她带来了一个礼物,小兔高兴地跑回自己的房间,拆开一看是一个棋盘,小兔有所失 阅读全文
posted @ 2018-09-08 15:50 知道了呀~ 阅读(241) 评论(0) 推荐(0) 编辑
摘要:愚人节的礼物 Time Limit: 5000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 13083 Accepted Submission(s): 7701 Problem 阅读全文
posted @ 2018-08-20 11:35 知道了呀~ 阅读(264) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示