Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Coding puzzle (4)
Message
De
06/06/2002 11:56:54
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
 
À
06/06/2002 11:54:23
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00665368
Message ID:
00665525
Vues:
17
>Cetin:
>
>>>>>>>>>>>
>
>for ix=1 to alen(arrNums)-1
>   if arrNums[ix]+arrNums[ix+1] = X
>      ? ix,ix+1,arrNums[ix],arrNums[ix+1]
>   endif
>endfor
>
>>>>>>>>>>>
>This only works if the two numbers are adjacent in the array (which is not the case in general).
>
>> Just chained to draw attention to my real world puzzle in troubleshooting
>> section :)
>I actually used the winning algorithm twice in production systems: (1) a portfolio management system for an insurance company, (2) a resource utilization system for a lumber company.
>
>Daniel

Daniel,
I actually didn't read the question well nor cared it was right :) As I said I was trying to draw attendants to my puzzle :)
Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform