Fading Coder

One Final Commit for the Last Sprint

NOIP 2005 Problem Solutions

Scholarship Allocation A school distributes scholarships after each semester's final exams. There are five scholarship types available: Academician Scholarship: 8000 yuan for students with final exam scores > 80 and atleast one published paper May Fourth Scholarship: 4000 yuan for students with f...

Minimum Moves to Equalize Card Piles Using Greedy Algorithm

Problem Description There are n piles of cards, numbered from 1 to n. Each pile contains a certain number of cards, and the total number of cards is guaranteed to be a multiple of n. You can take any number of cards from a pile and move them according to the following rules: Cards taken from pile 1...