004: solve in C
003: solve in C
update ranking and table