Kane's blog

By Kane, history, 8 years ago, translation, In English

I'm trying to solve problem Game of Cards from SWERC-2015.

I guess, that this game is equivalent to Nim game. I calculated the Sprague-Grandy value from every pile of cards and counted xor of them.

Unfortunately, my solution gets WA on 7 test.

Please, help me with this problem.

Code

Full text and comments »

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

By Kane, history, 8 years ago, translation, In English

Hello.

Could you give me any hint for this problem, please?

Full text and comments »

  • Vote: I like it
  • 0
  • Vote: I do not like it

By Kane, history, 8 years ago, translation, In English

I solve a problem on the Timus Online Judge.

Submit with hashing gets WA31(because of antihash). But submit with double hashing gets WA8...

Help me, please, with double hashing and solve this problem.

Full text and comments »

  • Vote: I like it
  • 0
  • Vote: I do not like it

By Kane, history, 8 years ago, In English

I want to solve problems from USACO like "virtual contest". But i have not found, what time I should set. Help me, please.

Sorry for my bad English.

Full text and comments »

  • Vote: I like it
  • 0
  • Vote: I do not like it

By Kane, history, 8 years ago, In English

Hi everybody! I am a student and preparing for my third ACM-ICPC season.

Recently, I found a site ICPC Live Archive, which contains many problems from different regionals competitions of past years. I solved some problems from here, but some of them are very easy for me, and some are very difficult. I think, that these problems more suitable for team trainigs, not individual (I haven't a stable team). Also, I solve a problems from school olympiads (USACO, National OI's and etc). In my opinion, these problems more suitable for individual trainings. Also, many of them "less standard", then student problems.

I want to know, how many people solve school problems for preparing to ACM-ICPC? And which problems are more suitable for it?

Sorry for my bad English.

Full text and comments »

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