Announcements

September 13, 2019
The selection contest for HKU ICPC/CCPC Team was held on September 12. Congratulations to the 9 winning students!
Final standing; problem set; test cases; sample source code solution.
The problems came from ACM-ICPC Pacific Northwest Regional Contest 2014 (Division 2, problem N, O, P, Q, U and W).
September 9, 2019
Information session for ACM-ICPC.
Slides: info_19.pdf
April 28, 2019
The selection contest for ACM-HK Programming Contest 2019 was held on April 27! Final standing: board.html.
Problems: problem.pdf.
Test cases: data.zip.
Sample source code solution: std.zip.
The problems came from ACM-ICPC Pacific Northwest Regional Contest 2019 (Division 1, problem A, C, D, E, H and L). You can continue to try these problems at CodeForces.
December 19, 2018
Team "^^rising hairline^^" won a gold medal in ACM-ICPC Asia East Continent Final on December 16 by solving 5 problems out of 12. They ranked 32 among 382 teams. Thanks for their hard work and congratulations on their achievements!
November 28, 2018
China Collegiate Programming Contest (CCPC) Finals 2018 was held in Harbin Institute of Technology (Shenzhen) in Shenzhen on November 25. HKU was invited to CCPC for the first time. Team "GMT+7" solved 7 out of 12 problems, ranked 5 out of 114 teams and won a gold medal. Congratulations!
October 17, 2018
Team "^^rising hairline^^" solved 5 out of 13 challenging problems and won a silver medal in ACM-ICPC Asia Nanjing Regional Contest on October 14. Great job!
September 9, 2018
The selection contest for ACM-ICPC Asia Regional Contests 2018 was held on September 7. Congratulations to the 9 winning students!
Final standing: board.html.
Problems: problem.pdf.
Test cases: data.zip.
Sample source code solution: std.zip.
The problems came from ACM-ICPC Mid-Central USA Regional Contest 2014 (problem E, G, H and I) and ACM-ICPC East Central North America Regional Contest 2014 (problem B). You can also continue to try these problems at ACM-ICPC Live Archive (problem 6816, 6876, 6818, 6819 and 6820).
September 4, 2018
Information session for ACM-ICPC.
Slides: info_18.pdf
July 9, 2018
This year's ACM-HK Programming Contest was held in City University of Hong Kong on June 23. Team "--Div3 Borderline--" solved 6 problems out of 7, "defending" our first runner-up!
Final standing can be found here.
Thanks to Haley Kwok from "--Div3 Borderline--", who would like to share their solutions to the contest problems.
May 6, 2018
The selection contest for ACM-HK Programming Contest 2018 was held on May 5!
Final standing: board.html. The archive (problem set and test cases) can be found here. The problems came from Latin American Regional Contest 2017 (problem C, E, H, I and J). You can get the full problem set and test cases here.
December 25, 2017
In East Continent League Final held by Shanghai University in Shanghai on Dec 17, team "Aha!" solved 8 problems out of 13, winning a silver medal. Congratulations!
Can you outperform them and advance to the World Final next year?
December 3, 2017
In Hong Kong Regional Contest held by PolyU, team "Aha!" solved 9 problems out of 11, winning a silver medal. Congratulations!
November 17, 2017
Our teams performed excellently at ACM-ICPC Asia Regional Contests 2017. Team "Aha!" won a gold medal in Xi'an; team "Too young to AC" won a silver medal in Xi'an and a bronze medal in Qingdao; team "Turtle Racer" won a silver medal in Qingdao. Congratulations!

Aha! at Xi'an site

Too young to AC at Xi'an site

Too young to AC at Qingdao site

Turtle Racer at Qingdao site
September 13, 2017
Selection contest for ACM-ICPC Regional Contest 2017
Final standing: board.html
The problems came from 2016 Tehran Regional Contest (problem A, B, C, D and G). You can get the full problem set and test cases here.
September 7, 2017
Information session for ACM-ICPC.
Slides: info_17.pdf.
September 7, 2016
Information session for ACM/ICPC.
Slides: info_16.pdf.
19 April, 2016
Selection contest for ACM-HK Programming Contest 2016
Venue: HW 312.
Time: 2:00pm - 5:00pm, 30 April, 2016.
  • We use PC^2 as the judging system. A manual is available here.
  • We rank teams according to the ICPC rule.
  • You can bring along printed and written notes (and books). USB is not allowed. Internet access is forbidden.
  • We support GNU C++ (with C++11) and Java.
  • The judge machine will be a Linux machine with hardware configuration similar to your workstation.
Result: summary.html. Archive can be found here (valid for at least 30 days).
25 September, 2015
Selection contest for ACM/ICPC Regional Contest 2015
Final standing: summary.html
30 June, 2015
We Won the Champion Again in Local Contest
Team "BIG BOSS" defended our championship! Team "HKU Beta", "Bombers" also performs well. Congratulations and thanks for your hard work!
24 April, 2015
Selection for ACM-HK Programming Contest
Time: 7:00 pm - 9:30 pm, 29 April
Venue: HW 335
Final standing: summary.html
Problem set, solutions and data set: archive.tar.bz2
January 29, 2015
Training for beginners is started! Please refer to our training page for details.
November 14, 2014
Training contest: http://acm.hust.edu.cn/vjudge/contest/view.action?cid=62924#overview
Time: 6:00 pm, 14 Nov.
Venue: HW335
October 9, 2014
Team "IT Genius" won the second selection contest! "BIG BOSS" and "IT Genius" can go to this year's regional contests.
The final standing of the second selection contest is available here. The problems are selected from Tehran site 2013, and you can check the testcases at their official website.
September 25, 2014
Team "BIG BOSS" won the first selection contest! Therefore, they get qualified to the regional contests. You can check the final standing of the first selection contest here.
The problems are selected from Mid-Central USA Regional Contest 2013, and you can get the test cases and the solutions at their official website.
September 17, 2014
Thanks for coming to the information session. You can access the slides here.
We will hold selection contests in 24 Sep and 8 Oct, 6:30 pm - 9:30 pm for this year's regional contests. The contest venue is HW 312.
For registration, please send me your names, your team name and your curriculum to me by email (sfjiang@cs.hku.hk) no later then 23 September, 7:00 pm.
Update: the qualification rule. The champion team of the first contest (24 Sep) is qualified. In the second contest (8 Oct), the qualified team in the first contest will NOT be counted, and the champion of the second contest will be qualified as the second team for the regional contest.
September 7, 2014
We are recruiting new members for ACM programming contests! If you are interested, please mail to Shaofeng (sfjiang@cs.hku.hk) to get involved in our mail list.
We will hold an information session on Sept 17 (Wed) 2:45pm at CB328. You are welcom to join and we will introduce the contest, our teams and our schedule in this semester. It's a great chance for you to meet new friends and form a team!
June 30, 2014
Our teams have excellent performance at HK Local Contest.
Team BIG BOSS won champion. IT Genius and Godzilla also performed well. Congratulations to them!
April 25, 2014
Information about Team Selection Contest for HK Local Contest
October 16, 2013
Team Selection Result:
Team IT Genius and Team BIG BOSS can go to Danang site.
October 3, 2013
Contest #3:
September 25, 2013
Contest #2:
September 18, 2013
Contest #1:
September 12, 2013
Today's Warm-up Contest:
  • Problem Set and Test data
  • Final Board
  • Contest Time: 7 pm - 11 pm, please enter the contest venue around 6:30 pm
  • Contest Venue: HW335
  • We will use PC^2 as the contest management system. If you don't know how to use PC^2, please refer to PC2V9TeamGuide for more details. When you arrive at the contest venue, please click here to download the PC^2 client.
  • We adopt the ACM-ICPC rules. There will be a scoreboard showing the results at http://zczhaopc.
September 4, 2013
We are recruiting new students to ACM programming contests! If you would like to join, please mail to Zhichao (zczhao@cs.hku.hk) to get involved in our mailing list.
An information session will be held on Sept 11 (Wed) 2pm at CB328. Interested students are welcome to join and get more information about the contest, our teams, and our sechedule in this semester. It's a great chance for you to meet other interested students and form a team.
introduction.ppt
September 2, 2013
Schedule for warm-up and 3 team selection contests:
  • Warm-up: Sept 12 (Thu), 7pm - 11pm
  • Contest 1: Sept 18 (Wed), 7pm - 11pm
  • Contest 2: Sept 25 (Wed), 7pm - 11pm
  • Contest 3: Oct 3 (Thu), 7pm - 11pm
The contest venue is HW335.
April 29, 2013
Team Selection Contest for HK Local Contest 2013
  • Problem
  • Sample Solution
  • Result
  • These problems are from The 5th Zhejiang Provincial Collegiate Programming Contest. Due to some commitment, we cannot publish the test cases here. If you would like to test your programs, please submit them to Zhejiang University Online Judge. The problem IDs are 2965 - 2976. Please find the exact corresponding problem by the problem title. We also suggest you to try other problems that are not selected in this contest. They are ZOJ 2968, 2971, and 2973.
April 26, 2013
Information about the team selection contest for HK Local Contest:
  • The contest venue is HW310.
  • The contest will be held between 7pm and 10pm on April 29. You can enter the contest venue at 6:30pm to configure your computer. You must use the computers in HW310 to attend the contest. You can use either Windows or Linux to do programming, but the judge system is a 32-bit Linux system. Only programs written in C, C++ and Java are accepted.
  • We will use PC^2 as the contest management system. If you don't know how to use PC^2, please refer to PC2V9TeamGuide for more details. When you arrive at the contest venue, please click here to download the PC^2 client.
  • Please click here to get your account information. Your password is the one you specified in your registration.
  • We adopt the ACM-ICPC rules. There will be a scoreboard showing the results at http://lymopc.
March 26, 2013
Individual Programming Contest on Mar 26:
March 21, 2013
Updated information for the individual contest on March 26:
  • The contest venue is confirmed to be HW310. A testing session with PC^2 tutorial will start from 6:30pm. The contest will last for 2.5 hours from 7pm to 9:30pm. During the contest, internet access in HW310 will be disabled.
  • We adopt the ACM-ICPC rules to rank the contestants. There will be a scoreboard showing the results at http://lymopc. You can track the top contestants here, and follow their steps to choose problems to solve.
  • There are 7 problems in the contest. And there is NO correlation between their order and their difficulty. They cover basic concepts such as recursion, breadth first search, depth first search, greedy, dynamic programming, and common algorithms like sorting, graph, coordinate geometry and math.
  • We will use PC^2 as the contest management system. When you arrive at the contest venue, please click here to download the PC^2 client.
  • We have created accounts for you to login PC^2. You can get your own account information here. And your 6-digit password is the one you specify in your registration. Please contact Luyi if you have any question about your PC^2 account.
  • During the contest, Soso and Chun will be in the contest venue. If you have any technical question, please feel free to ask them for help. If you have questions about the problems, please ask by making a clarification to the judges through PC^2.
March 12, 2013
An internal individual programming contest is upcoming. It will be held on March 26 during the regular training session. Everyone is welcome to join. It's a rare chance for you to test your ability with other students in HKU. 
  • The contest will last for 2.5 hours from 7pm to 9:30pm on March 26. There will be six or more problems. And most of them DO NOT require advanced algorithms. PC^2 will be employed as the contest management system. There will be a tutorial about how to use PC^2 from 6:30pm at the contest venue.
  • Contest venue is HW310 (to be confirmed). You MUST use computers in the contest venue to attend the contest. You can bring reference material to the contest venue, but no digital materials and electronic devices are allowed. You can use either Windows or Linux to do programming, but the judge system is a 32-bit Linux system. Only programs written in C, C++ and Java are accepted. 
  • Prize: Best 3 players overall, and best player in year-1, year-2, year-3, and (year-4 or above) will receive coupons as a prize. All participants who can solve at least one problem will be awarded 200 HKUCS printing quotas (to be confirmed).
  • Registration: Please register the contest by sending an email to Luyi (lymo@cs.hku.hk) with title [Registration for Individual Contest] by March 20 11:59pm. The email should include the following information: full name, major, year, name on scoreboard, a 6-digit password (for account creation in PC^2), and your CS intranet username (if any).
Your result in this contest will NOT be used to select teams to local and regional contests. Good luck and have fun!
February 7, 2013
We will have regular trainig organized by Soso every Tuesday night 1830 - 2130 at HW310 (start from 2013-02-19). No registration is needed. Everyone is welcome to join. Comment at our Facebook group if you have any question.
January 31, 2013
A summary of frequenly asked questions is available now. You can get some information for our Facebook group, our training, and the individual, local and regional contest from it. Please check it by yourself. If you have other questions, please send your enquiries to Luyi.
January 30, 2013
January 28, 2013
The Utilities page has been updated. Please check and find online resources for self-learning.
January 21, 2013
We are recruiting new students to ACM programming contests! If you would like to join, please mail to Luyi (lymo@cs.hku.hk) to get involved in our mailing list.

An information session will be held on Jan 30 (Wed) 4pm at CB328. Interested students are welcome to join and get more information about the contest, our teams, and our sechedule in this semester. It's a rare chance for you to meet other interested students, and form a team to compete in the coming Hong Kong local contest!
December 3, 2012
Our teams have excellent performances at ACM-ICPC Asia Regional 2012. In Jakarta site, Azureus won the 4th position. In Hanoi site, GMT won the champion, IT Genius ranked 3rd, and Sisyphus also performed well. Congratulations to their achievements.

Our Teams in Hanoi

Champion Team GMT
Octorber 17, 2012
Team contest #3:
October 10, 2012
Schedule for Team Contest #3 and #4:
  • Contest 3: OCT 17, 5pm - 10pm
  • Contest 4: OCT 18, 5pm - 10pm
The contest venue is HW310.
September 22, 2012
September 19, 2012
September 11, 2012
Updated information about the team selection contests:
  • The contest venue is HW312.
  • Contest 1 and 2 will be held between 5pm and 10pm. You can enter the contest venue at 4:30pm to configure your computer. You must use the computers in HW312 to attend the contest. You can use either Windows or Linux to do programming, but the judge system is a 32-bit Linux system. Only programs written in C, C++ and Java are accepted.
  • For all team contests, we will use PC^2 as the contest management system. If you don't know how to use PC^2, please refer to PC2V9TeamGuide for more details. When you arrive at the contest venue, please click here to download the PC^2 client.
We are selecting teams to the ACM ICPC Asia Regional Contest! Two internal selection contests will be held in September, and another two will be held in October. Top 3 teams in these four contests will be selected to attend Hanoi Site (Nov 29-30). The best team in the first two selection contests will be awarded one more chance to Jakarta Site (Oct 16-18). The schedule of the first two contests is shown as follows.

    Contest 1: Sep 19, 5pm - 10pm
    Contest 2: Sep 22, 5pm - 10pm

The contest venue is HW312.

If you want to attend the contests, send a registration email (includes name of the team and all team members) to Luyi as soon as possible. The registraton deadline for the first two contests is Sep 17 11:59pm. Teams without registration will not be considered. Notice that, all the teams should consist of three students! Check Regional Rules for more details about the eligibility. If you find it difficult to form a team, feel free to contact us.

The schedule for weekly training will be announced around Sep 17.
September 1, 2012
August 20, 2012
Updated information of the administration team.

Coordinator: Hubert T.H. Chan
Office: CB429
Tel: 2857 8461
Email: hubert@cs.hku.hk

Student Coach: Luyi Mo
Office: CB417
Email: lymo@cs.hku.hk

We are recruiting new students to the ACM programming contest! If you would like to join, please email to lymo@cs.hku.hk. This year, we will attend two regional contests, Jakarta site (Oct 16-18) and Hanoi site (Nov 29-30). There will be two team selection contests held in September, and two more team contests held in Octorber. The detailed training schedule will be announced at the end of August.
October 17, 2011
Team contest: tehran2006.pdf
Results: Results
October 10, 2011
Team contest: 2011-10-10.pdf
Results: Results
September 26, 2011
Individual contest: 2011-contest.pdf
Results: Results
September 14, 2011
Information: winning.pptx, delaunay.pdf
September 7, 2011
We are recruiting new students to the ACM programming contest! If you would like to join, please email to provinci@cs.hku.hk or come to our training directly. This semester, we have training at HW310 every Monday and Wednesday 7pm-11pm. We need to register to Asia regional contests by 21/10.

Monday Tue Wednesday Thur Fri
5/9
12/9 Probably a holiday 14/9 General info by Ho Leung
19/9
26/9 Individual contest
3/10
10/10 Team contest I
17/10 Team contest II 21/10
Aug 18, 2011
別怠惰
July 13, 2011
Selection contest tutorial HKUCS_Provinci_Training_20110713.ppt
Sample solutions of selection contest: 20110705_HKU_SelectionContest_forACMLocal_Solution.zip
March 31, 2011
Greedy algorithms 03-greedy.pdf
Exercise: POJ 3670
Sample solutions: poj3670.cpp
March 24, 2011
Greedy algorithms
Exercise: Please find using POJ tools.
Sample solutions:
March 10, 2011
You can use the link [Old homepage] on top to access the old homepage, e.g., to get the previous training materials.
March 9, 2011
Next week, we will have only 1 session of training at 3-5pm on Wednesday.
The training will start at 1pm because topics covered in tomorrow training will be challenging.
March 9, 2011
Dynamic programming
Exercise: POJ 1050, POJ 1163, POJ 1458
Sample solutions: poj1050.cpp, poj1163.cpp, poj1458.cpp
March 8, 2011
We have added a POJ classification list copied from http://old.blog.edu.cn/user2/gemenhao/archives/2007/1920814.shtml.
March 3, 2011
We are so lucky to have Ricky (a.k.a. BD) to hold the next training on dynamic programming!
March 3, 2011
The homepage is updated. You can find a classification of POJ problems, which will grow slowly.
March 2, 2011
The next training will be on next Wednesday, March 9 on dynamic programming.
Feburary 24, 2011
Recursion 01-recursion.ppt
Exercise: POJ 1920 POJ 2368 POJ 2227 POJ 2367
Sample solutions:
Feburary 16, 2011
Introduction to ACM ICPC: 00-introduction.ppt
Exercise: POJ 2719
Sample solutions:
January 31, 2011
Welcome back to provinci! For this semester, we will have training every Wednesday 3-5pm and every Thursday 4-6pm at HW310. The trainings on these two days are identical. You can attend any one of them.