07 2019 档案

摘要:Bessie is such a hard-working cow. In fact, she is so focused on maximizing her productivity that she decides to schedule her next N (1 ≤ N ≤ 1,000,00 阅读全文
posted @ 2019-07-31 18:58 木子川 阅读(130) 评论(0) 推荐(0) 编辑
摘要:It is a little known fact that cows love apples. Farmer John has two apple trees (which are conveniently numbered 1 and 2) in his field, each full of 阅读全文
posted @ 2019-07-31 11:49 木子川 阅读(161) 评论(0) 推荐(0) 编辑
摘要:Let's play a card game called Gap. You have 28 cards labeled with two-digit numbers. The first digit (from 1 to 4) represents the suit of the card, an 阅读全文
posted @ 2019-07-26 19:45 木子川 阅读(202) 评论(0) 推荐(0) 编辑
摘要:On Children's Day, the child got a toy from Delayyy as a present. However, the child is so naughty that he can't wait to destroy the toy. The toy cons 阅读全文
posted @ 2019-07-24 20:28 木子川 阅读(305) 评论(0) 推荐(0) 编辑
摘要:给你一个n*m的方格图表示一个博物馆的分布图.每个方格上用'*'表示墙,用'.'表示空位.每一个空格和相邻的墙之间都有一幅画.(相邻指的是上下左右相邻).你可以从一个空格的位置走到相邻的空格位置.现在你给你若干个(xi,yi)形式的询问,表示你现在在(xi,yi)这个位置(保证为空位)出发,问你从这 阅读全文
posted @ 2019-07-23 20:32 木子川 阅读(230) 评论(0) 推荐(0) 编辑
摘要:幻方是一种很神奇的 N*N 矩阵:它由数字 1,2,3,.....N x N 构成,且每行、每列及两条对角线上的数字之和都相同。当 N 为奇数时,我们可以通过下方法构建一个幻方:首先将 1 写在第一行的中间。之后,按如下方式从小到大依次填写每个数 K (K=2,3,...,N x N) :1.若 ( 阅读全文
posted @ 2019-07-22 16:55 木子川 阅读(813) 评论(0) 推荐(0) 编辑
摘要:As you could know there are no male planes nor female planes. However, each plane on Earth likes some other plane. There are n planes on Earth, number 阅读全文
posted @ 2019-07-21 21:05 木子川 阅读(234) 评论(0) 推荐(0) 编辑
摘要:Farmer John commanded his cows to search for different sets of numbers that sum to a given number. The cows use only numbers that are an integer power 阅读全文
posted @ 2019-07-19 21:53 木子川 阅读(201) 评论(0) 推荐(0) 编辑
摘要:The cows don't use actual bowling balls when they go bowling. They each take a number (in the range 0..99), though, and line up in a standard bowling- 阅读全文
posted @ 2019-07-19 18:36 木子川 阅读(105) 评论(0) 推荐(0) 编辑
摘要:Assume the coasting is an infinite straight line. Land is in one side of coasting, sea in the other. Each small island is a point locating in the sea 阅读全文
posted @ 2019-07-19 18:07 木子川 阅读(218) 评论(0) 推荐(0) 编辑
摘要:Farmer John went to cut some wood and left N (2 ≤ N ≤ 100,000) cows eating the grass, as usual. When he returned, he found to his horror that the clus 阅读全文
posted @ 2019-07-18 20:15 木子川 阅读(250) 评论(0) 推荐(0) 编辑
摘要:Our chemical biologists have invented a new very useful form of life called stripies (in fact, they were first called in Russian - polosatiki, but the 阅读全文
posted @ 2019-07-18 19:38 木子川 阅读(166) 评论(0) 推荐(0) 编辑
摘要:FJ is about to take his N (1 ≤ N ≤ 2,000) cows to the annual"Farmer of the Year" competition. In this contest every farmer arranges his cows in a line 阅读全文
posted @ 2019-07-18 11:01 木子川 阅读(155) 评论(0) 推荐(0) 编辑
摘要:The cows play the child's game of hopscotch in a non-traditional way. Instead of a linear set of numbered boxes into which to hop, the cows create a 5 阅读全文
posted @ 2019-07-17 10:15 木子川 阅读(196) 评论(0) 推荐(0) 编辑
摘要:FJ and his cows enjoy playing a mental game. They write down the numbers from 1 to N (1 <= N <= 10) in a certain order and then sum adjacent numbers t 阅读全文
posted @ 2019-07-16 17:53 木子川 阅读(193) 评论(0) 推荐(0) 编辑
摘要:Given a number of distinct decimal digits, you can form one integer by choosing a non-empty subset of these digits and writing them in some order. The 阅读全文
posted @ 2019-07-16 17:21 木子川 阅读(198) 评论(0) 推荐(0) 编辑
摘要:7 パズル 7 パズルは 8 つの正方形のカードとこれらのカードがぴたりと収まる枠で構成されています。それぞれのカードには、互いに区別できるように 0, 1, 2, ..., 7 と番号がつけられています。枠には、縦に 2 個、横に 4 個のカードを並べることができます。 7 パズルを始めるときには 阅读全文
posted @ 2019-07-15 16:17 木子川 阅读(98) 评论(0) 推荐(0) 编辑
摘要:チーズ () 問題 今年も JOI 町のチーズ工場がチーズの生産を始め,ねずみが巣から顔を出した.JOI 町は東西南北に区画整理されていて,各区画は巣,チーズ工場,障害物,空き地のいずれかである.ねずみは巣から出発して全てのチーズ工場を訪れチーズを 1 個ずつ食べる. この町には,N 個のチーズ工場 阅读全文
posted @ 2019-07-14 14:08 木子川 阅读(125) 评论(0) 推荐(0) 编辑
摘要:On Planet MM-21, after their Olympic games this year, curling is getting popular. But the rules are somewhat different from ours. The game is played o 阅读全文
posted @ 2019-07-13 13:59 木子川 阅读(270) 评论(0) 推荐(0) 编辑
摘要:図のように二股に分かれている容器があります。1 から 10 までの番号が付けられた10 個の玉を容器の開口部 A から落とし、左の筒 B か右の筒 C に玉を入れます。板 D は支点 E を中心に左右に回転できるので、板 D を動かすことで筒 B と筒 C のどちらに入れるか決めることができます。 阅读全文
posted @ 2019-07-12 23:04 木子川 阅读(91) 评论(0) 推荐(0) 编辑
摘要:タナカ氏が HW アールの果樹園を残して亡くなりました。果樹園は東西南北方向に H × W の区画に分けられ、区画ごとにリンゴ、カキ、ミカンが植えられています。タナカ氏はこんな遺言を残していました。 果樹園は区画単位でできるだけ多くの血縁者に分けること。ただし、ある区画の東西南北どれかの方向にとなり 阅读全文
posted @ 2019-07-12 10:08 木子川 阅读(126) 评论(0) 推荐(0) 编辑
摘要:There is a rectangular room, covered with square tiles. Each tile is colored either red or black. A man is standing on a black tile. From a tile, he c 阅读全文
posted @ 2019-07-12 09:27 木子川 阅读(273) 评论(0) 推荐(0) 编辑
摘要:Due to recent rains, water has pooled in various places in Farmer John's field, which is represented by a rectangle of N x M (1 <= N <= 100; 1 <= M <= 阅读全文
posted @ 2019-07-12 09:08 木子川 阅读(384) 评论(0) 推荐(0) 编辑
摘要:An army of ants walk on a horizontal pole of length l cm, each with a constant speed of 1 cm/s. When a walking ant reaches an end of the pole, it imme 阅读全文
posted @ 2019-07-12 08:48 木子川 阅读(387) 评论(0) 推荐(0) 编辑

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