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

Обсуждение задачи 1006. Квадратные рамки

Показать все сообщения Спрятать все сообщения

How i can enter input. Valery 15 сен 2007 00:07
please help me.
I write program,but I can not test it, because I dont know how to enter a test.
Re: How i can enter input. Alias (Alexander Prudaev) 15 сен 2007 00:25
for i := 1 to n do readln(s[i]);
Re: How i can enter input. Alias (Alexander Prudaev) 15 сен 2007 00:28
use standart windows notepad
when you press CTRL you can can use numpad
to enter ASCII Codes of symbols
open notepad:

press ALT
press 2 on numpad (digit keyboard on rigth side of keyboard)
press 1
press 8
release ALT

and you see

Edited by author 15.09.2007 00:29
Re: How i can enter input. Sean38 8 дек 2007 17:29
This is the sample input:(just copy it and look it in DOS)
..................................................
..................................................
..................................................
..................................................
..................................................
..................................................
...........谀哪哪?...............................
...........?....?...............................
....谀哪哪某.....?.........谀?..................
....?.....?....?.........??..................
....?.....?....?.........滥?..................
....?.....?...诔哪哪?............谀?..........
....?.....滥哪哪?...?............??..........
....?.....?...?....?............滥?..........
....?.....?...?....?........谀目..............
....滥哪哪馁....?....?........?.?.............
................?....?........?.?.............
................滥哪哪?........滥馁..............
..................................................
..................................................

Edited by author 08.12.2007 17:30

Edited by author 08.12.2007 17:30
Re: How i can enter input. Alias (Alexander Prudaev) 8 дек 2007 19:53
by the way you can use font "lucida console" or "terminal"
Re: How i can enter input. Daniel Mahu 4 апр 2009 22:42
I use #ifndef ONLINE_JUDGE in C and read the input in the same format as the output should look like, then draw the squares with C code in my program - makes testing much easier.
Re: How i can enter input. Vovka1 28 апр 2015 07:05
Set you console encoding 1252 before input(c++ : system("chcp 1252");)
Copy past below.
Do not change encoding of browser (it should be UTF-8), other way it  convert to 2 byte sequence.
You can try to copy this to standard windows notepad.
If using Notepad++, set encoding to UTF8 before paste. Should work.

..................................................
..................................................
..................................................
..................................................
..................................................
..................................................
...........ÚÄÄÄÄÄ¿................................
...........³.....³................................
....ÚÄÄÄÄÄij.....³..........ÚÄ¿...................
....³......³.....³..........³.³...................
....³......³.....³..........ÀÄÙ...................
....³......³....Ú³ÄÄÄÄ¿.............ÚÄ¿...........
....³......ÀÄÄÄÄÄÙ....³.............³.³...........
....³......³....³.....³.............ÀÄÙ...........
....³......³....³.....³.........ÚÄÄ¿..............
....ÀÄÄÄÄÄÄÙ....³.....³.........³..³..............
................³.....³.........³..³..............
................ÀÄÄÄÄÄÙ.........ÀÄÄÙ..............
..................................................
..................................................


Additional input:
..................................................
..................................................
..................................................
..................................................
..................................................
..................................................
...........ÚÄÄÄÄÄ¿................................
...........³.....³................................
....ÚÄÄÄÄÄij.....³......ÚÄ¿ÄÚÄ¿...................
....³......³.....³......³.³.³.³...................
....³......³.....³......ÀÄÙÄÀÄÙ...................
....³......³....Ú³ÄÄÄÄ¿.............ÚÄ¿...........
....³......ÀÄÄÄÄÄÙ....³.............³.³...........
....³......³....³.....³.............ÀÄÙ...........
....³......³....³.....³.........ÚÄÄ¿..............
....ÀÄÄÄÄÄÄÙ....³.....³.........³..³..............
................³.....³.........³..³..............
................ÀÄÄÄÄÄÙ.........ÀÄÄÙ..............
..................................................
..................................................

Edited by author 28.04.2015 07:40