4

Task 306 - Line Drawing Algorithm - no spoilers

 2 years ago
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.
neoserver,ios ssh client

Task 306 - Line Drawing Algorithm - no spoilers

Back to General discussions forum

Rodion (admin)     2022-09-06 04:56:20
User avatar

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.

Please login and solve 5 problems to be able to post at forum

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK