Changed scoreboard cell contents in IOI mode and fixed judging in ICPC mode.