Click here to Skip to main content
15,910,981 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralBig Question Pin
abarker047-Dec-02 17:45
abarker047-Dec-02 17:45 
GeneralRe: Big Question Pin
zarzor7-Dec-02 18:16
zarzor7-Dec-02 18:16 
GeneralRe: Big Question Pin
abarker048-Dec-02 4:56
abarker048-Dec-02 4:56 
GeneralRe: Big Question Pin
Christian Graus8-Dec-02 10:54
protectorChristian Graus8-Dec-02 10:54 
GeneralRe: Big Question Pin
zarzor8-Dec-02 11:58
zarzor8-Dec-02 11:58 
GeneralRe: Big Question Pin
jhwurmbach8-Dec-02 21:51
jhwurmbach8-Dec-02 21:51 
GeneralRe: Big Question Pin
zarzor10-Dec-02 15:27
zarzor10-Dec-02 15:27 
GeneralRe: Big Question..I found it !! Pin
zarzor11-Dec-02 11:56
zarzor11-Dec-02 11:56 
Come down!

1 24 25 11 5 4 12 13 3 6 30 19 17 8 28 21 15 10 26 23 2 14 22 27 9 16 20 29 7 18

You must modify my previous code by adding to each "for" loop (start from j2 loop) in "if" statment the following statment: || !Check(jx,jy)

where jx is the current loop, and jy is the previous loop. e.g.

for(int j2=1;j2<31;j2++){if(j2==j1 || !Check(j1,j2))continue;

Hence,you can reduce the running time from few weeks to few seconds !!

You welcome for any Math problem.

ZarZor

ZARZOR13
GeneralCString acting weird Pin
IGx897-Dec-02 15:40
IGx897-Dec-02 15:40 
GeneralRe: CString acting weird Pin
Christian Graus7-Dec-02 16:02
protectorChristian Graus7-Dec-02 16:02 
GeneralRe: CString acting weird Pin
IGx897-Dec-02 16:06
IGx897-Dec-02 16:06 
GeneralRe: CString acting weird Pin
Christian Graus7-Dec-02 16:22
protectorChristian Graus7-Dec-02 16:22 
GeneralRe: CString acting weird Pin
carrie8-Dec-02 6:13
carrie8-Dec-02 6:13 
GeneralRe: CString acting weird Pin
IGx898-Dec-02 8:43
IGx898-Dec-02 8:43 
GeneralRe: CString acting weird Pin
Ravi Bhavnani8-Dec-02 12:45
professionalRavi Bhavnani8-Dec-02 12:45 
GeneralRe: CString acting weird Pin
IGx898-Dec-02 13:08
IGx898-Dec-02 13:08 
GeneralRe: CString acting weird Pin
jhwurmbach8-Dec-02 21:56
jhwurmbach8-Dec-02 21:56 
GeneralRe: CString acting weird Pin
IGx899-Dec-02 4:12
IGx899-Dec-02 4:12 
GeneralRe: CString acting weird Pin
jhwurmbach9-Dec-02 4:28
jhwurmbach9-Dec-02 4:28 
QuestionHow to Notify Parent ? Pin
bumper7-Dec-02 12:56
bumper7-Dec-02 12:56 
AnswerRe: How to Notify Parent ? Pin
Nitron7-Dec-02 13:13
Nitron7-Dec-02 13:13 
GeneralRe: How to Notify Parent ? Pin
bumper7-Dec-02 22:59
bumper7-Dec-02 22:59 
AnswerRe: How to Notify Parent ? Pin
Joan M9-Dec-02 20:42
professionalJoan M9-Dec-02 20:42 
GeneralHandles to View Classes :: MFC Pin
valikac7-Dec-02 12:27
valikac7-Dec-02 12:27 
GeneralRe: Handles to View Classes :: MFC Pin
Christian Graus7-Dec-02 16:24
protectorChristian Graus7-Dec-02 16:24 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.