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

Drotaverin Problem with the first test [10] // Problem 1843. Cutting a Parallelepiped 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?
Akaviri Re: Problem with the first test [9] // Problem 1843. Cutting a Parallelepiped 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 [8] // Problem 1843. Cutting a Parallelepiped 13 Apr 2013 13:50
У кого есть предположение, какой пример в первом тесте?
Akaviri Re: Problem with the first test [7] // Problem 1843. Cutting a Parallelepiped 13 Apr 2013 17:27
В первых двух тестах исходный параллелепипед не имеет разрезов, его только нужно повернуть правильным образом.
Юрий Re: Problem with the first test [6] // Problem 1843. Cutting a Parallelepiped 13 Apr 2013 21:25
Числа друг от друга (координаты) разделяются одним пробелом?
Akaviri Re: Problem with the first test [5] // Problem 1843. Cutting a Parallelepiped 13 Apr 2013 21:29
Да
Юрий Re: Problem with the first test [4] // Problem 1843. Cutting a Parallelepiped 13 Apr 2013 21:47
Пример параллелепипеда без разрезов

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

Ввод и вывод все так должно быть, ничего не перепутал?
Akaviri Re: Problem with the first test [3] // Problem 1843. Cutting a Parallelepiped 13 Apr 2013 21:51
Все верно
Юрий Re: Problem with the first test [2] // Problem 1843. Cutting a Parallelepiped 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
Akaviri Re: Problem with the first test [1] // Problem 1843. Cutting a Parallelepiped 13 Apr 2013 23:44
Это нормально, я сам эти методы использую. Можешь написать на akaviri93@gmail.com, прислать код, помогу разобраться с ошибкой.

Edited by author 13.04.2013 23:50
Спасибо