Negative execution time
        Posted  
        
            by FinalArt2005
        on Stack Overflow
        
        See other posts from Stack Overflow
        
            or by FinalArt2005
        
        
        
        Published on 2010-03-29T02:12:05Z
        Indexed on 
            2010/03/29
            2:13 UTC
        
        
        Read the original article
        Hit count: 422
        
Hello,
I wrote a little program that solves 49151 sudoku's within an hour for an assignment, but we had to time it. I thought I'd just let it run and then check the execution time, but it says -1536.087 s. I'm guessing it has to do with the timer being some signed dataype or something, but I have no idea what datatype is used for the timer in the console (code::blocks console, I'm not sure if this is actually a separate console, or just a runner that runs the terminal from the local operating system), so I can't check what the real time was. I'd rather not run this again with some coded timer within my program, since I'd like to be able to use my pc again now. Anybody have any idea what this time could be? It should be somewhere between 40 and 50 minutes, so between 2400 and 3000 seconds.
Regards, Erik
© Stack Overflow or respective owner