POV-Ray : Newsgroups : povray.off-topic : Learning C++ : Re: Learning C++ Server Time
6 Sep 2024 21:19:12 EDT (-0400)
  Re: Learning C++  
From: Invisible
Date: 12 Dec 2008 04:23:05
Message: <49422d79@news.povray.org>
>>> How about a program that takes a multivariate polynomial as input and 
>>> determines if it has any roots over the integers ;-)
>>
>> I know you're joking, but I'm not sure how that would be more useful 
>> in learning C++ than in learning C.
> 
> It wouldn't really, I was just unable to resist giving an undecidable 
> problem as a programming suggestion.

Question: Why is this undecidable?

Surely it's a trivial matter of iterating over all integers and testing 
whether any of them is a root?


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.