K
K
komarov05122020-11-21 19:49:05
C++ / C#
komarov0512, 2020-11-21 19:49:05

Run-Time Check Failure #2 - Stack around the variable 'array_of_1and0' was corrupted?

5fb9438968c7c751355879.png
5fb943c628a4b311832060.png
5fb943e628537139438651.png
5fb943f841388056262492.png
5fb9440f13b5e316065808.png

Here is the condition of the problem:
5fb944ca65413170320434.png

The program works correctly, everything is fine. One thing but

I can not understand why this array "array_of_1and0" is corrupted.
help me please

Answer the question

In order to leave comments, you need to log in

1 answer(s)
G
galaxy, 2020-11-21
@komarov0512

Somewhere write outside the bounds of the array. Most likely in line 68 (kolvo - what is the limit?) or line 78 (i can be < 0 according to line 58)

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question