Блог пользователя DCSekhara

Автор DCSekhara, история, 2 года назад, По-английски

Suppose we are working in a setting where we only have integers and the operations that we are doing on them are multiply, add, subtract and comparisons between them

In such a scenario is it safe to replace all integers with doubles? (Safe in the sense of precision issues)

Полный текст и комментарии »

  • Проголосовать: нравится
  • +3
  • Проголосовать: не нравится

Автор DCSekhara, история, 4 года назад, По-английски

Can someone tell what are the compilation flags that you use in Windows-10 and also the compiler which you use. (The main thing I want is how to catch out of arrays accesses and similar stuff and catching exceptions..). You may also share your IDE if you want . Thanks Friends..

Полный текст и комментарии »

  • Проголосовать: нравится
  • +14
  • Проголосовать: не нравится

Автор DCSekhara, история, 4 года назад, По-английски

I have noticed that in geany(windows-10) '.' && '>' don't work properly.When we press the key once the respective character doesn't get printed on to the screen and we are required to press the key twice. And also '_'(underscores) aren't visible(they exist but are invisible for some reason). Can someone provide a solution to these problems. Any help is appreciated.

Полный текст и комментарии »

  • Проголосовать: нравится
  • 0
  • Проголосовать: не нравится

Автор DCSekhara, история, 4 года назад, По-английски

Can someone help me with this question Chef and Clothes? I am really missing some observations here in this question. Can someone help me to figure it out?

My Aproach: first of all I feel this is a D.P problem having states as where the bucket is and the number of clothes in the bucket.But I am not able to proceed further.

Полный текст и комментарии »

  • Проголосовать: нравится
  • +8
  • Проголосовать: не нравится

Автор DCSekhara, история, 5 лет назад, По-английски

Recently I came across this blog Efficient and Easy segment trees. After reading this I felt that the normal implementation with 5 arguments is easier to understand and implement(in my opinion). I want to know which of the implementations of segment-tree is better so that if the one written in the blog is better I will try to learn it. (better in the sense that it can be easily be applied in some new question)

Полный текст и комментарии »

  • Проголосовать: нравится
  • -19
  • Проголосовать: не нравится

Автор DCSekhara, история, 5 лет назад, По-английски

Can someone help me with this question [](https://mirror.codeforces.com/contest/344/problem/C) I am able to solve the question but... in the question, it is said to minimize the number of resistors used. whereas I feel that there is only one unique way to build the given resistance. am I wrong?

Полный текст и комментарии »

  • Проголосовать: нравится
  • -11
  • Проголосовать: не нравится