随笔分类 - Pat
摘要:1047 Student List for Course (25 分) 1047 Student List for Course (25 分) 1047 Student List for Course (25 分) Zhejiang University has 40,000 students an
阅读全文
摘要:1046 Shortest Distance (20 分) 1046 Shortest Distance (20 分) 1046 Shortest Distance (20 分) The task is really simple: given N exits on a highway which
阅读全文
摘要:1045 Favorite Color Stripe (30 分) 1045 Favorite Color Stripe (30 分) 1045 Favorite Color Stripe (30 分) Eva is trying to make her own color stripe out o
阅读全文
摘要:1044 Shopping in Mars (25 分) 1044 Shopping in Mars (25 分) 1044 Shopping in Mars (25 分) Shopping in Mars is quite a different experience. The Mars peop
阅读全文
摘要:1055 The World's Richest (25 分) 1055 The World's Richest (25 分) 1055 The World's Richest (25 分) Forbes magazine publishes every year its list of billi
阅读全文
摘要:1043 Is It a Binary Search Tree (25 分) 1043 Is It a Binary Search Tree (25 分) 1043 Is It a Binary Search Tree (25 分) A Binary Search Tree (BST) is rec
阅读全文
摘要:1042 Shuffling Machine (20 分) 1042 Shuffling Machine (20 分) 1042 Shuffling Machine (20 分) Shuffling is a procedure used to randomize a deck of playing
阅读全文
摘要:1041 Be Unique (20 分) 1041 Be Unique (20 分) 1041 Be Unique (20 分) Being unique is so important to people on Mars that even their lottery is designed i
阅读全文
摘要:1040 Longest Symmetric String (25 分) 1040 Longest Symmetric String (25 分) 1040 Longest Symmetric String (25 分) Given a string, you are supposed to out
阅读全文
摘要:1038 Recover the Smallest Number (30 分) 1038 Recover the Smallest Number (30 分) 1038 Recover the Smallest Number (30 分) Given a collection of number s
阅读全文
摘要:1037 Magic Coupon (25 分) 1037 Magic Coupon (25 分) 1037 Magic Coupon (25 分) The magic shop in Mars is offering some magic coupons. Each coupon has an i
阅读全文
摘要:1036 Boys vs Girls (25 分) 1036 Boys vs Girls (25 分) 1036 Boys vs Girls (25 分) This time you are asked to tell the difference between the lowest grade
阅读全文
摘要:1031 Hello World for U (20 分) 1031 Hello World for U (20 分) 1031 Hello World for U (20 分) Given any string of N (≥) characters, you are asked to form
阅读全文
摘要:1030 Travel Plan (30 分) 1030 Travel Plan (30 分) 1030 Travel Plan (30 分) A traveler's map gives the distances between cities along the highways, togeth
阅读全文

浙公网安备 33010602011771号