随笔分类 - 找规律
摘要:COCI 2009/2010 Task MALI1. round, 24. october 2009.Author: Marko Ivankovi., Filip BarlMirko and Slavko are playing a new game. Again. Slavko starts each round bygiving Mirko two numbers A and B, both smaller than 100. Mirko then has toslove the following task for Slavko: how to pair all given A numb
阅读全文
摘要:PROFESORTime Limit: 1000 ms Memory Limit: 65536 kB Solved: 37 Tried: 89 SubmitStatusBest SolutionDiscuss-->BackDescriptionIn a long classroom, N desks are arranged in a single row, with two students sitting at each desk. Students are cranky because they are about to have an art class, and their p
阅读全文
摘要:A. yuna学数论Time Limit : 3000/1000ms (Java/Other)Memory Limit : 65535/32768K (Java/Other)Total Submission(s) : 24Accepted Submission(s) : 13Font:Times New Roman|Verdana|GeorgiaFont Size:←→Problem Description在学习完各类算法之后,yuna决定开始学习数论了。yuna神当然从最简单的最小公倍数学起喽~~~~~定义 为1,2,…,n的最小公倍数,例如,B1= 1,B2= 2,B3= 6,B4= 12
阅读全文
摘要:CardTime Limit: 2000/1000 MS (Java/Others)Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 10Accepted Submission(s): 9Problem DescriptionBearchild is playing a card game with himself. But first of all, he needs to shuffle the cards. His strategy is very simple: After putting all the car
阅读全文
摘要:A Famous GridProblem DescriptionMr. B has recently discovered the grid named "spiral grid".Construct the grid like the following figure. (The grid is actually infinite. The figure is only a small part of it.)Considering traveling in it, you are free to any cell containing a composite numbe
阅读全文
摘要:BetProblem DescriptionMirko doesn’t like Latin homeworks so he made a bet with Slavko. Loser will be writing homeworks for both of them the entire month. Mirko wants to win so he designed this problem they could have something to bet on.At his desk he found a cube, with numbers 1 to 6 on its faces.
阅读全文
摘要:The window of the dazzlingProblem DescriptionNow that spring is here and the sun is shining bright, people are starting to lower their blinds. Stefica is an elderly woman who likes to keep track of what other people in the neighbourhood are doing and then talk about it behind their backs. This year,
阅读全文

浙公网安备 33010602011771号