gourang843's blog

By gourang843, history, 3 years ago, In English

Hello every one i solve my three problems correctly and accepted in first submit but next i got this message from system(codeforces).I understand that my and pam765 submission is same but it is totally coincidence. So this coincidence is formed due to the simplicity of this problem, even other persons are also used the same method to solve this problem(last year substring) from codeforces round #690 div.3. I also not used ideone to edit my code. please help me to come out from this situation. If any body wants more information about my problem please ask me in comment.. I also attached my submission history as a image.

My submission:- 101302940 pam765 submission:- 101283823

___________message which i got from system(codeforces)__________

Attention!

Your solution 101302940 for the problem 1462B significantly coincides with solutions Pam765/101283823, gourang843/101302940. Such a coincidence is a clear rules violation. Note that unintentional leakage is also a violation. For example, do not use ideone.com with the default settings (public access to your code). If you have conclusive evidence that a coincidence has occurred due to the use of a common source published before the competition, write a comment to post about the round with all the details. More information can be found at http://codeforces.com/blog/entry/8790. Such violation of the rules may be the reason for blocking your account or other penalties. In case of repeated violations, your account may be blocked.


At the end, please help me!!!

Full text and comments »

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

By gourang843, history, 3 years ago, In English

the solution for one of the best question that i see is codeforces global round 12 A (Avoid Trygub) which accepted in first attempt and also done in python language. I solve this problem in simple way, I just move all 't' in a given string to end of the string and then problem is solved. Hope you like my solution, thankyou.

-----Solution in python language-----100547323 ~~~~~ t=int(input()) for i in range(t): n=int(input()) a=list(input()) if 't' in a: m=a.count('t') for i in range(m): s=a.pop(a.index('t')) a.append(s) ans='' for i in a: ans=ans+i print(ans) else: ans='' for i in a: ans=ans+i print(ans)

~~~~~

Full text and comments »

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