I've done the math on a calculator and your computer is about 55384 times faster than me, so it probably hasn't taken time for a smoke break, sleep, lunch, study, etc.
Allow the use of cookies to log in to the MQL5.com website.
Please enable the necessary setting in your browser, otherwise you will not be able to log in.
You are signed in. Two-factor authentication has been disabled. Set it up again and scan a new QR code, or continue with two-factor authentication disabled.
это не верное решение
Why is that?
Просто сложите монитор по линиям изгиба ))
Well, I did ))
let's go from twelve left to right:
1. Decompose 12 into 2 and 10, all right.
2. 7 added to 2 = 9 is correct.
3. 9 decompose by 1 and 8 is correct.
4. 8 decompose into 3 and 5 correctly.
5. 10 decompose into 4 and 6 correctly.
6. 3+4=7.
7. 6+5=11.
8.1+11=12.
Damn right.
решение верное, но хотелось бы получить его аналитически, а не подбором
It's hardly one.
хм..
Правильно?
PS: там еще 23 варианта осталось.
Well, how long did it take the computer to calculate that?
С направлениями всё правильно, а12 слева направо, дальше понятно
круто блин
Nah... I don't get it :) Draw it?
Не.. мне непонятно :) Нарисуй?
Is this a joke?
ну и как долго комп это высчитывал?
You got that right. As someone who was not trained in higher mathematics, I went straight to the bottom.
26 minutes Atom330 counted.
if (($a1+$a2 == 12) &&
($a3+$a4 == 12) &&
(($a9+$a5 == $a1) ||($a9+$a1 == $a5) || ($a1+$a5==$a9)) &&
(($a11+$a6 == $a2) ||($a11+$a2 == $a6) || ($a2+$a6==$a11)) &&
(($a9+$a7 == $a3) ||($a9+$a3 == $a7) || ($a3+$a7==$a9)) &&
(($a11+$a8 == $a4) ||($a11+$a4 == $a8) || ($a4+$a8==$a11)) &&
(($a7+$a8 == $a10) ||($a7+$a10 == $a8) || ($a8+$a10==$a7)) &&
(($a5+$a6 == $a10) ||($a5+$a10 == $a6) || ($a10+$a6==$a5)) ){
print "$a1,$a2,$a3,$a4,$a5,$a6,$a7,$a8,$a9,$a10,$a11\n";
}
That's the condition, the rest is overkill.
Все верно поняли. я как человек высшей математике не обучавшийся пошел влоб.
26 минут Атом330 считал.
if (($a1+$a2 == 12) &&
($a3+$a4 == 12) &&
(($a9+$a5 == $a1) ||($a9+$a1 == $a5) || ($a1+$a5==$a9)) &&
(($a11+$a6 == $a2) ||($a11+$a2 == $a6) || ($a2+$a6==$a11)) &&
(($a9+$a7 == $a3) ||($a9+$a3 == $a7) || ($a3+$a7==$a9)) &&
(($a11+$a8 == $a4) ||($a11+$a4 == $a8) || ($a4+$a8==$a11)) &&
(($a7+$a8 == $a10) ||($a7+$a10 == $a8) || ($a8+$a10==$a7)) &&
(($a5+$a6 == $a10) ||($a5+$a10 == $a6) || ($a10+$a6==$a5)) ){
print "$a1,$a2,$a3,$a4,$a5,$a6,$a7,$a8,$a9,$a10,$a11\n";
}
Это условие, остальное перебором.
I've done the math on a calculator and your computer is about 55384 times faster than me, so it probably hasn't taken time for a smoke break, sleep, lunch, study, etc.