Diagnostic issues

Правка en2, от dvjakhar31, 2020-04-26 05:20:34

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.


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~~ 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~~ 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!

Теги diagnostic, #help, #help error


  Rev. Язык Кто Когда Δ Комментарий
en2 Английский dvjakhar31 2020-04-26 05:20:34 11
en1 Английский dvjakhar31 2020-04-26 05:19:47 2477 Initial revision (published)