marX's blog

By marX, history, 6 months ago, In English,

We create a mirror on the vjudge with the problems from Kattis.

All problems are not available yet, I'll update the contest as soon as the problems become available.

Enjoy the contest, see you on the standings.

Read more »

 
 
 
 
  • Vote: I like it  
  • +32
  • Vote: I do not like it  

By marX, history, 19 months ago, In English,

How to solve problem 1, 4, 8 and 12 of this contest??

I found that Petr commented problem 1 on his blog, but he didn't post the idea later.

Read more »

 
 
 
 
  • Vote: I like it  
  • +16
  • Vote: I do not like it  

By marX, 4 years ago, In English,

I am trying to solve a problem on Spoj, but all i get is SIGSEGV on test 10. I just want a second on review on my code to try to figure out what is happening here.

I see each island of the problem (cartesian point with integers coordinates) as an edge between x and y. Then if a build several path alternating colors it guarantees that each island will have a couple on the same row (column) with another color. Of course, each path start on a node with odd degree unless there aren't, so then, i am looking for cycles. If this approach is wrong i need some suggestion, but if it isn't, i just want to know why this answer is getting SIGSEGV.

Read more »

 
 
 
 
  • Vote: I like it  
  • +3
  • Vote: I do not like it  

By marX, 4 years ago, In English,

You may think I don't explore this page, because I recently found the API tool that MikeMirzayanov give us. I read all about this, and really loved it. I started to develop a very simple app to manage easier this api using a graphic interface, if anybody is interested you may download from GitHub Here I have some screenshots, that are no impresive at all, but it could be the begining of something (oh i don't know how to put a picture here, can I??).

All recomendations and help will be very helpful, I hope you like the idea, the objective of this project isn't clear, neither for me, it's just getting fun by now.

Read more »

Tags api
 
 
 
 
  • Vote: I like it  
  • +5
  • Vote: I do not like it