Блог пользователя cauchyk

Автор cauchyk, 15 лет назад, По-английски
Can anyone explain how to solve the second question i.e, diversity numbers??
and, can the last question i.e, turn on the lights be solved in any better way than O((2^c)*r*c)  where c=no.of columns, r=no.of rows??


thanks in advance. 
  • Проголосовать: нравится
  • +2
  • Проголосовать: не нравится

15 лет назад, скрыть # |
Rev. 2  
Проголосовать: нравится 0 Проголосовать: не нравится
Turn on the Lights
It can be solved in O(R3C3) by solving a system of linear equations with Gauss method.

15 лет назад, скрыть # |
 
Проголосовать: нравится +1 Проголосовать: не нравится
1) It is clear thar order of switching lights doen't matter
2) You can switch 0 or 1times, because if you switch 3 times for example it will be equal to switch once

Now xi, j  = {0, 1} - "switcher state" - variables of the system of equations

Every point on the grid can also be in state {0, 1}, so
yi, j = {0, 1} - right column of the system of equations

Now consider point on the grid with neiborhoods
xi, j + xi - 1, j + xi + 1, j + xi, j - 1 + xi, j + 1 = 1 - yi, j, where '+' is taken by modulo 2

^This is the system to solve
15 лет назад, скрыть # |
Rev. 2  
Проголосовать: нравится +1 Проголосовать: не нравится

(wrong place)

15 лет назад, скрыть # |
 
Проголосовать: нравится 0 Проголосовать: не нравится
Facebook published results of Round 1A.
"Facebook Hacker Cup
Hey everyone, the final results for round 1A are up on the scoreboard. Since we had fewer than 1000 competitors, everyone who successfully solved at least one problem advances to round 2 and can no longer participate in round 1 subrounds. Everyone else still has two more shots at advancing round 2.
Email notifications will go out shortly."

There are only 646 hackers advanced to Round 2 =) I think what to win Facebook T-shirt will be easier than GCJ T-shirt.
15 лет назад, скрыть # |
 
Проголосовать: нравится 0 Проголосовать: не нравится
Hi,

Can someone please tell me what the problems are? I clicked on the links provided but it seems that the problem statements cannot be found :(