Thread
:
need help for c optimization, take a look thanks
View Single Post
#
2
(
permalink
)
06-17-2008, 12:11 PM
WingedPanther
Join Date: Jul 2006
Age: 35
Posts: 3,415
Last Blog:
wxWidgets is NOT code ...
Rep Power:
37
Re: need help for c optimization, take a look thanks
You're making it too hard. You just need to check whether array1[i]+array1[i+1]+array1[i+2] == 24 where i ranges from 0 to blocksize-3
__________________
CodeCall Blog
|
CodeCall Wiki
|
Shareware
|
Linux Forum
Programming is a branch of mathematics.
WingedPanther
View Public Profile
Send a private message to WingedPanther
Find all posts by WingedPanther