Romania ranks fifth in the all-time medal count at the International Mathematical Olympiad with 316 total medals, dating back to 1959. Ciprian Manolescu managed to write a perfect paper (42 points) for a gold medal more times than anybody else in the history of the competition, in 1995, 1996 and 1997. Romania has achieved the highest team score in the competition, after China, Russia, the United States and Hungary. Romania also ranks sixth in the all-time medal count at the International Olympiad in Informatics with 107 total medals, dating back to 1989.