[Archive!] Pure mathematics, physics, chemistry, etc.: brain-training problems not related to trade in any way - page 317
You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
Ах, ну да. Забыл про CharToStr()
Вуаля, квайн на MQL. Прошу тестировать:)))
Hello, Alexei! You haven't solved the problem! Read the condition:
To write an MQL script that outputs its source code to a file .
You cannot read from file.
!!!!!
If it weren't for this condition, I would have finished it two hours ago! :))
// But good for you anyway.
Had to restrict myself to a single character filename. ("t")
Too bad, I could have named it with an arbitrary name. ;)
I will try again at my leisure.
Masterpiece #2 in the trailer.
;)
Собсно в классическом варианте требуется просто "вывести свой исходный код". Насчёт файла эт вапчета излишество...
;)
In the original, yes.
But if the programme must have "" (e.g. filename ) in it, it makes it a bit more difficult.
// For the corresponding CodeBase ;)
Nothing less is possible.
// == 85.82846435577902
№207 == 4*(1+2*sqrt(17)+2*sqrt(10)+2*sqrt(5)+sqrt(2))
Меньше не получается.
// == 85.82846435577902
wowat least explain the thought process
More thought needs to be given. An explanation of the decision is almost a page long.