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

Обсуждение задачи 1458. Военные учения

PSV Gimme some ideas [11] // Задача 1458. Военные учения 4 июл 2006 16:25
I can't understand how can it take 1 sec to solve for N = 1000
My biggest ideas is something like a system of equations by modulo 2, but ...
Some hints please...
PSV Please [10] // Задача 1458. Военные учения 5 июл 2006 05:49
Please one small pour hint
PSV Re: Please [9] // Задача 1458. Военные учения 7 июл 2006 00:24
Please. I still have any ideas. May be finding of circles?
WinTokk Re: Please [8] // Задача 1458. Военные учения 8 июл 2006 19:31
linear module equations will work.
try to rewrite it into a simpler form and you will achieve it!
I found a lot of material about modular arithmetic itself, but nothing about systems of equations modulo 2. There is a problem 1042 that I solved using an intuitive algo. But I don't have any materials about those kind of problems... Any links in Internet are available.
I haven't AC but sure that 1458 is a problem with
great mathematical background.
In matrix language Sulman command is equal to
transformation of tipe A[j]*B*A[k]
where A[j]=diag[1,1,1,...,-1,1,1,1,1..]
So, read about minimal step of transformations to standard form. Also, sequence of such transformation is code
for arbitrary 0-1 matrix. Sure that authors create the problem during reading about 0-1 matrix, transformations and coding.
You're A LOOSER.I've done this program to 1 minute!!!
Each has It's own way and all of us are training to contests.
But even after you words the problem does't seem to me
as simple. Often such quick solutions depend on temporary
weakeness of tests.
Ac after some period!
I did'n beleve that O-1 equation method can help.
We have 10^6 unknowns and O(10^18) Gauss.
But I had expierence for large systems with itteration
method(as for  Puasson eqution) and this method works here.

But after I understood that the matrix of the system is
nilpotent because nature of smoothing operator
and itteration method  has right foundation.


Edited by author 10.02.2009 09:24
SPIRiT RE: program in one minute?(+) [2] // Задача 1458. Военные учения 28 сен 2007 13:48
Well, then, where is your AC for this problem? You have no AC's at all...
Denis Koshman Re: RE: program in one minute?(+) [1] // Задача 1458. Военные учения 29 июл 2008 02:41
Just find a way to flip some cell without affecting others. It's easy for even N.

Edited by author 03.08.2008 11:31
Fyodor Menshikov Re: RE: program in one minute?(+) // Задача 1458. Военные учения 10 фев 2009 01:00
Denis Koshman писал(a) 29 июля 2008 02:41
Just find a way to flip some cell without affecting others.

Thanks!