Quirkless's blog

By Quirkless, history, 19 months ago, In English

Guys, please try the problem in image below. And, let me know if you find something.

https://imgur.com/a/jiDlrGk

UPD: Thanks a lot guys for all your downvotes. I hope you can also help me in above problem, but thanks again for making my contribution negative and all the hate

Full text and comments »

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

By Quirkless, history, 2 years ago, In English

Hey, can someone find reason for "runtime error on test 5" for this submission https://codeforces.com/contest/559/submission/139264120 for problem https://codeforces.com/contest/559/problem/C I couldn't find it, please help.

Full text and comments »

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

By Quirkless, history, 2 years ago, In English

Hey guys, sorry for again and again creating a blog for my doubts, but I don't know any other way of finding help. So, I was trying this problem(https://codeforces.com/contest/1588/problem/C), and after reading editorial, I didn't understood like how to solve it. I saw other people codes, but they doesn't make any sense to me. If you can help me with how to implement it, please do help.

Full text and comments »

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

By Quirkless, history, 2 years ago, In English

Hey guys, I cannot figure out how to solve this question https://www.codechef.com/problems/CHFWAR . Please if you find some kind of pattern or maybe whole solution, sharing would be really appreciated. Also, there is no editorial for this question on Codechef, so...asking here for help.

Full text and comments »

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

By Quirkless, history, 2 years ago, In English

Hey Guys, please I need your help. My submission https://codeforces.com/contest/1516/submission/135648061 to problem https://codeforces.com/contest/1516/problem/D is giving different outputs(on some online compiler vs codeforces compiler), on codeforces It's not showing the thing I wanted it to show, due to some overflow reasons, which I couldn't figure out from my code, please help me find it. I have literally wasted 2-3 hours figuring out why overflow, But didn't made any kind of progress. Even read some blogs about it, but..

Full text and comments »

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

By Quirkless, history, 3 years ago, In English

Hello everyone, I need help please. For given problem: https://codeforces.com/problemset/problem/1574/C my submission: https://codeforces.com/contest/1574/submission/130212274 My code is giving right answer but on test case 6, it is showing TLE, which it shouldn't as I just used around 2nlogn+5n operations, which I think shouldn't cause problem. Also, I doubt that whether TLE is because of sorting of vector , or maybe sorting of vector<pair<long long,int>>, I don't know , please tell me something.

Full text and comments »

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