1046: 奇数的乘积

1046: 奇数的乘积 Time Limit: 1 Sec  Memory Limit: 30 MB Submit: 9265  Solved: 7577 SubmitStatusWeb Board Description  给你n个整数，求他们中所有奇数的乘积。  Input  第一个数为n，表示本组数据一共有n个，接着是n个整数，你可以假设每组数据必定至少存在...

1045: 数值统计

1045: 数值统计 Time Limit: 1 Sec  Memory Limit: 30 MB Submit: 10844  Solved: 7598 SubmitStatusWeb Board Description  统计给定的n个数中，负数、零和正数的个数。  Input  输入的第一个数是整数n（n Output  输出一行a,b和c，分别...

1044: 不及格率

1044: 不及格率 Time Limit: 1 Sec  Memory Limit: 128 MB Submit: 11633  Solved: 7807 SubmitStatusWeb Board Description 输入n和n个学生成绩(实数），输出不及格率。 Input 输入的第一行是一个整数n，第二行是n个实数，用空格隔开。 Output ...

1043: 最大值

1043: 最大值 Time Limit: 1 Sec  Memory Limit: 128 MB Submit: 15089  Solved: 8220 SubmitStatusWeb Board Description 输入一个整数n和n个整数，输出这n个整数的最大值。 Input 输入有两行：第一行是一个正整数n，第二行是n个整数。 Outpu...

1042: 数列求和3

1042: 数列求和3 Time Limit: 1 Sec  Memory Limit: 128 MB Submit: 12183  Solved: 9238 SubmitStatusWeb Board Description 求1-2/3+3/5-4/7+5/9-6/11+...的前n项和，结果保留3位小数。 Input 输入正整数n(n>0)。 Outp...

1041: 数列求和2

1041: 数列求和2 Time Limit: 1 Sec  Memory Limit: 128 MB Submit: 10669  Solved: 8044 SubmitStatusWeb Board Description 输入一个整数n，输出数列1-1/3+1/5-……前n项的和。 Input 输入只有一个整数n。 Output 结果...

L - Master-Mind Hints UVA - 340

MasterMind is a game for two players. One of them, Designer, selects a secret code. The other, Breaker,tries to break it. A code is no more than a row of colored dots. At the beginning of a game, the ...

K - Ancient Cipher UVA - 1339

Ancient Roman empire had a strong government system with various departments, including a secretservice department. Important documents were sent between provinces and the capital in encryptedform to ...

J - All in All UVA - 10340

You have devised a new encryption technique which encodes a message by inserting between its charactersrandomly generated strings in a clever way. Because of pending patent issues we will not discuss ...

I - Foreign Exchange UVA - 10763

Your non-profit organization (iCORE - international Confederation of Revolver Enthusiasts) coordinatesa very successful foreign student exchange program. Over the last few years, demand hassky-rockete...

H - Compound Words UVA - 10391

You are to find all the two-word compound words in a dictionary. A two-word compound word is aword in the dictionary that is the concatenation of exactly two other words in the dictionary.InputStandar...

UVA-10935Throwing cards away I

Given is an ordered deck of n cards numbered 1to n with card 1 at the top and card n at thebottom. The following operation is performed aslong as there are at least two cards in the deck:Throw away th...

UVA-1583Digit Generator

For a positive integer N, the digit-sum of N is defined as the sum of N itself and its digits. When Mis the digitsum of N, we call N a generator of M.For example, the digit-sum of 245 is 256 (= 245 + ...

UVA10082WERTYU

A common typing error is to place thehands on the keyboard one row to theright of the correct position. So ‘Q’ istyped as ‘W’ and ‘J’ is typed as ‘K’ andso on. You are to decode a message typed in thi...

UVA-70474Where is the Marble?

Raju and Meena love to play with Marbles. They have got a lot ofmarbles with numbers written on them. At the beginning, Raju wouldplace the marbles one after another in ascending order of the numbersw...

21条 共2页1 2 下一页 尾页
个人资料
• 访问：16240次
• 积分：1437
• 等级：
• 排名：千里之外
• 原创：133篇
• 转载：2篇
• 译文：0篇
• 评论：0条
文章分类