24h購物| | PChome| 登入
2014-04-18 22:56:27
2012-01-17 21:30:42

[JAVA] a034. 二進位制轉換

import java.util.Scanner;public class a034 { public static void main(String[] args) { Scanner cin = new Scanner(System.in); int n; while(cin.hasNextInt()) { n = cin.nextInt(); System.out.printl...

2012-01-17 20:19:51

[JAVA] a022. 迴文

import java.util.Scanner;public class a022{ public static void main(String []args) { Scanner cin = new Scanner(System.in); String s; while(cin.hasNextLine()) { s = cin.nextLine(); int i = 0, fl...

2012-01-17 10:55:23
2012-01-17 09:34:22
2012-01-12 20:03:08

[UVA] 11089 - Fi-binary Number

I I U P C 2 0 0 6 Problem F: Fi-binary Number Input: standard input Output: standard output A Fi-binary number is a number th...

2012-01-12 19:45:39

[UVA] 10327 - Flip Sort

Flip Sort Sorting in computer science is an important part. Almost every problem can be solved effeciently if sorted data are found. There are some excellent sorting algorithm which has already ...

2012-01-12 19:44:33

[UVA] 11172 - Relational Operator

Problem H Relational Operators Input: Standard Input Output: Standard Output Some operators checks about the relationship between two values and these operators are called relational o...

2012-01-12 19:42:41

[UVA] 11185 - Ternary

Problem K Ternary Input: Standard Input Output: Standard Output You will be given a decimal number. You will have to convert it to its ternary (Base 3) equivalent. Input The input fil...

2012-01-12 17:25:42

[UVA] 10340 - All in All

Problem E All in All Input: standard input Output: standard output Time Limit: 2 seconds Memory Limit: 32 MB You have devised a new encryption technique which encodes a message by i...

2012-01-12 17:23:57

[UVA] 10220 - I Love Big Numbers !

I Love Big Numbers ! The Problem A Japanese young girl went to a Science Fair at Tokyo. There she met with a Robot named Mico-12, which had AI (You must know about AI-Artificial Intell...

2012-01-12 17:22:37

[UVA] 458 - The Decoder

The Decoder Write a complete program that will correctly decode a set of characters into a valid message. Your program should read a given file of a simple coded set of characters and print the ...

2012-01-12 17:21:08

[UVA] 374 - Big Mod


Big Mod Calculate for large values of B, P, and M using an efficient algorithm. (That's right, this problem has a time dependency !!!.) Input Three integer values (in the orde...

2012-01-12 16:46:49

[UVA] 369 - Combinations


Combinations Computing the exact number of ways that N things can be taken M at a time can be a great challenge when N and/or M become very large. Challenges are the stuff of contests. Therefor...

2012-01-12 16:44:17

[UVA] 382 - Perfection


Perfection From the article Number Theory in the 1994 Microsoft Encarta: ``If a, b, c are integers such that a = bc, a is called a multiple of b or of c, and b or c is called a divisor or factor ...

2012-01-12 16:42:23

[UVA] 834 - Continued Fractions


Continued Fractions Let b0, b1, b2,..., bn be integers with bk > 0 for k > 0. The continued fraction of order n with coeficients b1, b2,..., bn and the initial term b0 is defined by ...

第一頁      ‹上一頁       111 .  112 .  113 .  114 .  115 .  116 .  117 .  118 .  119 .  120 .      下一頁›      最末頁
«上十頁      第 114 / 142 頁 , 共 2116 筆       下十頁»      
TOP