Romania ranks 6th 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 gold medal more times than anybody else in the history of the competition, doing it all three times he participated in the IMO (1995, 1996, 1997). Romania has achieved the highest team score in the competition, after China and Russia, and right after the United States and Hungary. Romania also ranks 6th in the all-time medal count at the International Olympiad in Informatics with 107 total medals, dating back to 1989.