dvjakhar31's blog

By dvjakhar31, 8 months ago, In English

Hello, I am curious to know if you try to prove observations you make for a problem during the ongoing contest or you are like "I think this can be done this way"...??

Read more »

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

By dvjakhar31, history, 10 months ago, In English

Hello codeforces, hope you all are safe! I wanna suggest a new feature to be added to codeforces. I want to have an individual discussion for every single problem, like leetcode and some other sites. It will be beneficial for us if you can implement it MikeMirzayanov. Sometimes I feel difficulty in understanding the editorial and in that case, I go for watching someone's solution and it goes above my head. Any thoughts?

Read more »

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

By dvjakhar31, history, 12 months ago, In English

Hello codeforces here is my code for C1 Prefix Flip(Easy Version) and when I submit it, I get Memory limit exceeded on test 2. Can you help me finding why it is so? as I can't find. Please see my code it doesn't have so many macros, so you get confused. Thanks, I love this community.

Read more »

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

By dvjakhar31, history, 15 months ago, In English

Hello, Today I was solving this problem and here is my submission but when I submitted it, I got the compiler message like this: **Diagnostics detected issues [cpp.g++17-drmemory]: ~.M~~ Dr. Memory version 1.11.0

~.M~~ Running "program.exe"

This application has requested the Runtime to terminate it in an unusual way. Please contact the application's support team for more information.

C:/Programs/mingw-w64-7/lib/gcc/i686-w64-mingw32/7.3.0/include/c++/bits/stl_algo.h:2254:

Error: elements in iterator range [__first, __last) are not partitioned by

the value __val.

Objects involved in the operation:

iterator "__first" @ 0x1059DF00 {

  type = long long* (mutable iterator);

}

iterator "__last" @ 0x1059DF04 {

  type = long long* (mutable iterator);

}

~.M~~

~.M~~ NO ERRORS FOUND:

~.M~~ 0 unique, 0 total unaddressable access(es)

~.M~~ 0 unique, 0 total uninitialized access(es)

~.M~~ 0 unique, 0 total invalid heap argument(s)

~.M~~ 0 unique, 0 total GDI usage error(s)

~.M~~ 0 unique, 0 total handle leak(s)

~.M~~ 0 unique, 0 total warning(s)

~.M~~ 0 unique, 0 total, 0 byte(s) of leak(s)

~.M~~ 0 unique, 0 total, 0 byte(s) of possible leak(s)

~.M~~ ERRORS IGNORED:

~.M~~ 2 potential error(s) (suspected false positives)

~.M~~ (details: K:\invoker-prod\work\codeforces6\433d99ff3f1a802c0c41f744f0825892\check-c9231dff3cc089f95bcb7dd1a28fde04\run\DrMemory-program.exe.3124.000\potential_errors.txt)

~.M~~ 16 unique, 16 total, 28048 byte(s) of still-reachable allocation(s)

~.M~~ (re-run with "-show_reachable" for details)

~.M~~ Details: K:\invoker-prod\work\codeforces6\433d99ff3f1a802c0c41f744f0825892\check-c9231dff3cc089f95bcb7dd1a28fde04\run\DrMemory-program.exe.3124.000\results.txt

~.M~~ WARNING: application exited with abnormal code 0x3** Can someone list out the common cases of error due to this happens? Thanks!

Read more »

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