HDU 2075 A|B?

A|B?Time Limit: 1000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 9688 Accepted Submission(s): 7509Problem Description正整數A是否能被正整數B整除,不知道為什麼xhd會研究這個問題,來幫幫他吧。Input輸入資料的第一行是一個資料T,表示有T組資料。每組資料有兩個正整數A和B(A,B<10^9)。

HDU 1201 18歲生日

18歲生日Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 14654 Accepted Submission(s): 4656Problem

修改檔案件名

import java.io.*;import java.util.*;public class FileName implements FilenameFilter{public static void main(String[] args) {File f=new File("F:\\ACM\\src");FileName name=new FileName();File ff[]=f.listFiles(name);for(File f1:ff){String s=f1.toString(

POJ 1001 求高精度冪

求高精度冪Time Limit: 500MS Memory Limit: 10000KTotal Submissions: 120785 Accepted: 29494Description對數值很大、精度很高的數進行高精度計算是一類十分常見的問題。比如,對國債進行計算就是屬於這類問題。 現在要你解決的問題是:對一個實數R( 0.0 < R < 99.999 ),要求寫程式精確計算 R 的 n 次方(Rn),其中n 是整數並且 0 < n <=

HDU 2028 Lowest Common Multiple Plus (Stein演算法 求最大公約數)

Lowest Common Multiple PlusTime Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 26267 Accepted Submission(s): 10625Problem

HDU 2056 Rectangles (求相交矩形的面積)

RectanglesTime Limit: 1000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 11631 Accepted Submission(s): 3716Problem DescriptionGiven two rectangles and the coordinates of two points on the diagonals of each

HDU 2071 Max Num

Max NumTime Limit: 1000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 10815 Accepted Submission(s): 6944Problem DescriptionThere are some students in a class, Can you help teacher find the highest student

HDU 1108 最小公倍數(stein演算法)

最小公倍數Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 27030 Accepted Submission(s): 14945Problem

HDU 3172 Virtual Friends (並查集)

Virtual FriendsTime Limit: 4000/2000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 2964 Accepted Submission(s): 861Problem DescriptionThese days, you can do all sorts of things online. For example, you can use

HDU 1829 A Bug’s Life (並查集+BFS(廣度優先搜尋))

A Bug's Life Time Limit: 15000/5000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 6595 Accepted Submission(s): 2154Problem DescriptionBackground Professor Hopper is researching the sexual behavior of a rare species

HDU 3038 How Many Answers Are Wrong (並查集路徑壓縮)

How Many Answers Are WrongTime Limit: 2000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 1609 Accepted Submission(s): 646Problem DescriptionTT and FF are ... friends. Uh... very very good friends -________-bFF

HDU 2053 Switch Game

 Switch GameTime Limit: 1000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 8788 Accepted Submission(s): 5237Problem DescriptionThere are many lamps in a line. All of them are off at first. A series of operations

POJ 2524 Ubiquitous Religions(並查集演算法 路徑壓縮)

Ubiquitous ReligionsTime Limit: 5000MS Memory Limit: 65536KTotal Submissions: 20547 Accepted: 10082DescriptionThere are so many different religions in the world today that it is difficult to keep track of them all. You are interested in finding out

HDU 2039 三角形

三角形Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 36855 Accepted Submission(s): 12054Problem Description給定三條邊,請你判斷一下能不能組成一個三角形。Input輸入資料第一行包含一個數M,接下有M行,每行一個執行個體,包含三個正數A,B,C。其中A,B,C

HDU 2031 進位轉換

進位轉換Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 18883 Accepted Submission(s): 10604Problem Description輸入一個十進位數N,將它轉換成R進位數輸出。Input輸入資料包含多個測試執行個體,每個測試執行個體包含兩個整數N(32位整數)和R(2<=R<=16,

HDU 4554 叛逆的小明

叛逆的小明Time Limit: 3000/1000 MS (Java/Others) Memory Limit: 65535/32768 K (Java/Others)Total Submission(s): 399 Accepted Submission(s): 302Problem Description叛逆期的小明什麼都喜歡反著做,連看數字也是如此(負號除外),比如:小明會把1234它看成4321;把-1234看成-4321;把230看成032 (032=32);把-230看成-032(

HDU 3461 Code Lock (並查集)

Code LockTime Limit: 2000/1000 MS (Java/Others) Memory Limit: 131072/65536 K (Java/Others)Total Submission(s): 821 Accepted Submission(s): 292Problem DescriptionA lock you use has a code system to be opened instead of a key. The lock contains a

HDU 2029 Palindromes _easy version

Palindromes _easy versionTime Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 16786 Accepted Submission(s): 10544Problem

POJ 1611 The Suspects(並查集演算法 路徑壓縮)

The SuspectsTime Limit: 1000MS Memory Limit: 20000KTotal Submissions: 18776 Accepted: 9080DescriptionSevere acute respiratory syndrome (SARS), an atypical pneumonia of unknown aetiology, was recognized as a global threat in mid-March 2003. To

題目1526:朋友圈

題目來源http://ac.jobdu.com/problem.php?pid=1526題目1526:朋友圈 時間限制:1 秒記憶體限制:128 兆特殊判題:否提交:411解決:100題目描述:假如已知有n個人和m對好友關係(存於數字r)。如果兩個人是直接或間接的好友(好友的好友的好友...),則認為他們屬於同一個朋友圈,請寫程式求出這n個人裡一共有多少個朋友圈。假如:n = 5 , m = 3 , r = {{1 , 2} , {2 , 3} , {4 , 5}},表示有5個人,1和2是好友,

總頁數: 61357 1 .... 17103 17104 17105 17106 17107 .... 61357 Go to: 前往

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.