nikizakr's blog

By nikizakr, history, 7 years ago, In English

Hi codeforces are there any tutorials or codes for this gym

http://codeforces.me/gym/100030

and if not can someone tell me how to solve ( A , F , I ) or one of them at least

thank you very much. sorry for my poor English.

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

»
7 years ago, # |
Rev. 2   Vote: I like it +5 Vote: I do not like it
A:
»
7 years ago, # |
  Vote: I like it +5 Vote: I do not like it
F:
  • »
    »
    7 years ago, # ^ |
      Vote: I like it +1 Vote: I do not like it

    is there in different if I put the word in map or trie because my solution just like this and I'm getting TLE on test 51 can you provide your code plz

»
7 years ago, # |
  Vote: I like it +5 Vote: I do not like it
  • »
    »
    7 years ago, # ^ |
      Vote: I like it +1 Vote: I do not like it

    thanks but it's really doesn't make sense I read about "minimum vertex cover" a lot but I'm still getting WA plz if you solved the problem show me your smart code :D

    • »
      »
      »
      7 years ago, # ^ |
        Vote: I like it 0 Vote: I do not like it

      Maybe you forgot to check if n = 1 then answer is 1?