ENG  RUSTimus Online Judge
Online Judge
Problems
Authors
Online contests
About Online Judge
Frequently asked questions
Site news
Webboard
Links
Problem set
Submit solution
Judge status
Guide
Register
Update your info
Authors ranklist
Current contest
Scheduled contests
Past contests
Rules
back to board

Discussion of Problem 1843. Cutting a Parallelepiped

Problem with the first test
Posted by Drotaverin 9 Apr 2013 17:17
As i have read, the first test is like in example. And i have tried to use a kind of cheat:
Console.WriteLine("F D 0 0 0" + Environment.NewLine + "R F 1 0 0");
But i have got "Wrong answer". What have i done wrong?
Re: Problem with the first test
Posted by Akaviri 9 Apr 2013 21:57
There's no guarantee that the first test is exactly the same as the example.
Re: Problem with the first test
Posted by Юрий 13 Apr 2013 13:50
У кого есть предположение, какой пример в первом тесте?
Re: Problem with the first test
Posted by Akaviri 13 Apr 2013 17:27
В первых двух тестах исходный параллелепипед не имеет разрезов, его только нужно повернуть правильным образом.
Re: Problem with the first test
Posted by Юрий 13 Apr 2013 21:25
Числа друг от друга (координаты) разделяются одним пробелом?
Re: Problem with the first test
Posted by Akaviri 13 Apr 2013 21:29
Да
Re: Problem with the first test
Posted by Юрий 13 Apr 2013 21:47
Пример параллелепипеда без разрезов

1 1 1 ROYGBV
1
1 1 1 GYBVOR
R B 0 0 0

Ввод и вывод все так должно быть, ничего не перепутал?
Re: Problem with the first test
Posted by Akaviri 13 Apr 2013 21:51
Все верно
Re: Problem with the first test
Posted by Юрий 13 Apr 2013 23:35
http://s49.radikal.ru/i124/1304/81/bf03ff4d6aa1.jpg

Прогнал по 24 кубам, ошибок нет. Возможна ли ошибка, если я использую Console.ReadLine() при вводе и Console.WriteLine() при выводе?

Edited by author 13.04.2013 23:36
Re: Problem with the first test
Posted by Akaviri 13 Apr 2013 23:44
Это нормально, я сам эти методы использую. Можешь написать на akaviri93@gmail.com, прислать код, помогу разобраться с ошибкой.

Edited by author 13.04.2013 23:50
Re: Problem with the first test
Posted by Юрий 13 Apr 2013 23:46
Спасибо