beethoven97's blog

By beethoven97, history, 17 months ago, In English

Why this hacks of problem F from today div 3 round still in waiting process for several hours till now and no one of them judged till now?

Full text and comments »

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

By beethoven97, history, 22 months ago, In English

I know that this problem supposed to be a trivial problem , but I stay in it about 1 hour and i don't know why it get WA on test 3 about 10 times of submissions and i submitted the solution with python and c++ as i thought that WA is due to precision error but both of them didn't get accepted.
Any help please?

c++ code
python code

Full text and comments »

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

By beethoven97, history, 2 years ago, In English

i solved the following problem it get accepted in pypy3 32 bit code ,but it get TLE in pypy3 64 bit code,i used re library for regular expression .can any one explain this weird behavior between pypy 32 bit and pypy 64 bit with solving re problems ?

Upd: I tried to submit this code in new version of pypy-64bit but it still gives TLE and it's accepted in pypy3 32bit ,is there any bug in re library in pypy64 bit ?

Full text and comments »

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

By beethoven97, history, 3 years ago, In English

i try to solve this problem for two days but i always get wrong answer on test 7 here is my submission i use bfs with memomization and i take the smallest character after every step .

please can someone help me to get this submission accepted and any solution will be appricated.

Full text and comments »

  • Vote: I like it
  • -19
  • Vote: I do not like it

By beethoven97, history, 4 years ago, In English

i try to submit this problem The Hard Work of Paparazzi my pypy2 solution get TLE in test9 but my pypy3 solution get accepted can any one explain this two solutions why pypy3 get accepted and not pypy2 although pypy2 faster than pypy3?

Full text and comments »

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

By beethoven97, history, 4 years ago, In English

i try to solve an iteractive problem but i get idleness limit exceeded several times can someone help me to solve this error please .

here is the problem and my code

Full text and comments »

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

By beethoven97, history, 4 years ago, In English

__in this problem D. Vasiliy's Multiset

i implement trie data structure in python language but i face memory limit exceeded in test 91 ,can someone please help me in optimize the memory of class trie and be accepted .

i will appreciate any answer.

Full text and comments »

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

By beethoven97, history, 4 years ago, In English

Codeforces Round #428 div2 problem C. Journey link to problem.. i recieved wrong answer on test 30 (wrong output format Unexpected end of file — double expected). can any one understand this wrong answer ?? here is my python code :(https://codeforces.com/contest/839/submission/75015613)

Full text and comments »

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