ENG  RUSTimus Online Judge
Online Judge
Задачи
Авторы
Соревнования
О системе
Часто задаваемые вопросы
Новости сайта
Форум
Ссылки
Архив задач
Отправить на проверку
Состояние проверки
Руководство
Регистрация
Исправить данные
Рейтинг авторов
Текущее соревнование
Расписание
Прошедшие соревнования
Правила
вернуться в форум

Обсуждение задачи 2109. Туризм на Марсе

C++ compiler
Послано ASK 1 мар 2018 14:23
cin.sync_with_stdio(false);

Ignore the notes. G++ is faster than Clang++, while Visual C++ 2017 gives TL.
Re: C++ compiler
Послано Orient 2 мар 2018 01:08
What do you mean? Speed of input?
Re: C++ compiler
Послано ASK 3 мар 2018 00:45
The problem statement has a note: "If you write your solution in C++ we recommend you to use Visual C++ 2013 compiler." It is a bad advice, since the same program AC with G++ but TL with MS C++ (obviously, I have no idea what exactly makes it TL).
Re: C++ compiler
Послано Orient 3 мар 2018 11:07
If you look through solution ratings of hardest problems, then you can see, that MS C++ is used more often then others (G++/clang++). Thus your experience is not representative.
Re: C++ compiler
Послано ASK 12 мар 2018 17:55
Why hardest problems if we are talking about this one? Just look at "Solutions rating of problem Tourism on Mars": the first MS C++ is number 13, ten times slower than the top, which uses G++.
Re: C++ compiler
Послано Orient 12 мар 2018 23:01
I agree, you're right.