05 2020 档案
摘要:1053 Path of Equal Weight (30分) Given a non-empty tree with root R, and with weight Wi assigned to each tree node Ti. The weight of a path from
阅读全文
摘要:1055 The World's Richest (25分) Forbes magazine publishes every year its list of billionaires based on the annual ranking of the world's wealthiest peo
阅读全文
摘要:1049 Counting Ones (30分) The task is simple: given any positive integer N, you are supposed to count the total number of 1's in the decimal form of th
阅读全文
摘要:1047 Student List for Course (25分) Zhejiang University has 40,000 students and provides 2,500 courses. Now given the registered course list of each st
阅读全文
摘要:1045 Favorite Color Stripe (30分) Eva is trying to make her own color stripe out of a given one. She would like to keep only her favorite colors in her
阅读全文
摘要:1044 Shopping in Mars (25分) Shopping in Mars is quite a different experience. The Mars people pay by chained diamonds. Each diamond has a value (in Ma
阅读全文
摘要:1040 Longest Symmetric String (25分) Given a string, you are supposed to output the length of the longest symmetric sub-string. For example, given Is P
阅读全文
摘要:1039 Course List for Student (25分) Zhejiang University has 40000 students and provides 2500 courses. Now given the student name lists of all the cours
阅读全文
摘要:1038 Recover the Smallest Number (30分) Given a collection of number segments, you are supposed to recover the smallest number from them. For example,
阅读全文

浙公网安备 33010602011771号