Task 306 - Line Drawing Algorithm - no spoilers
source link: https://www.codeabbey.com/index/forum_topic/74a506d2f7a7f4b1256110cade2f1921
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
Task 306 - Line Drawing Algorithm - no spoilers |
Back to General discussions forum
Oh, Vladimir, thanks a lot for quick check! Again and again I found that trying to complete the problem after midnight
is risky. Just mistyped intMode
instead of intOnly
and that's it :(
Now should be better! The easy way to check is to add LOG(1)
to any expression - this function along with EXP
and
trigonometry is disabled in "integer" mode.
most of my solution had to effectively hack an int mode
Yep, sorry for that.
But that seems obvious you haven't googled the intended algorithm - it doesn't use multiplications :)
Added "notes" to the problem. Also I unintentionally submitted my own solution when testing, but hopefully it is no harm and can provide some auxiliary hints.
Recommend
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK