2009-05-18 std::ios::sync_with_stdio() c++ うっかりこれを忘れててレガシー部で「カオス!」なことになった。printf() debugging なんぞするのが悪い、、、のかな。