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

Обсуждение задачи 1038. Проверка орфографии

One more WA2, and none of the tests help
Послано Hristo Nikolaev (B&W) 17 дек 2022 01:31
I tried everything suggested in the discussion.
Each test works, but when I submit, I get WA2.

Can you please add more tests?
Re: One more WA2, and none of the tests help
Послано Hristo Nikolaev (B&W) 17 дек 2022 02:18
Strange ... and now I got AC without any change to the logic.
Just made each char taken from getchar() processed immediately instead of filling an array and then processing the array.
Both versions work equally well on my computer. I use VS 2022.

And one more thing -
absolutely the same way of reading the input and filling the array I initially had a WA2 with, worked perfectly for problem 1601. AntiCAPS. (Actually that's where I copied the functionality from before I start).

I guess Admins should take a look at this.

Edited by author 17.12.2022 02:22