473,406 Members | 2,894 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,406 software developers and data experts.

How to find an algorythm code

Hi:

Any could help my find how to create the code for the following algorythm:

In1: 10000000
In2: 00000000000

the algorythm runs and this is the output:

01A6DC6B07262F69

Any help will be appreciaterd !

Regards,
Federico
Nov 20 '05 #1
2 1209
* "Federico Babelis" <fe******@gazum.com> scripsit:
Any could help my find how to create the code for the following algorythm:

In1: 10000000
In2: 00000000000

the algorythm runs and this is the output:

01A6DC6B07262F69


I think it's impossible to find the code, except this solution:

\\\
Public Function Foo(ByVal In1 As String, ByVal In2 As String) As String
If In1 = "10000000" And In2 = ... Then
Return "01A6..."
Else
...
End If
End Function
///

SCNR

--
Herfried K. Wagner [MVP]
<URL:http://dotnet.mvps.org/>
Nov 20 '05 #2
You could always take the easy (simplest algorition) way out:

sum = 0
for i = 1 to 01A6DC6B07262F69H
sum = sum+1
end for

<G>

Perhaps there's a clue to the algorithm in the source of the problem and the
signifigance of the inputs.

Tom Rethard
UT Arlington

"Herfried K. Wagner [MVP]" <hi***************@gmx.at> wrote in message
news:c6************@ID-208219.news.uni-berlin.de...
* "Federico Babelis" <fe******@gazum.com> scripsit:
Any could help my find how to create the code for the following algorythm:
In1: 10000000
In2: 00000000000

the algorythm runs and this is the output:

01A6DC6B07262F69


I think it's impossible to find the code, except this solution:

\\\
Public Function Foo(ByVal In1 As String, ByVal In2 As String) As String
If In1 = "10000000" And In2 = ... Then
Return "01A6..."
Else
...
End If
End Function
///

SCNR

--
Herfried K. Wagner [MVP]
<URL:http://dotnet.mvps.org/>

Nov 20 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
by: Federico Babelis | last post by:
Hi: Any could help my find how to create the code for the following algorythm: In1: 10000000 In2: 00000000000 the algorythm runs and this is the output: 01A6DC6B07262F69
1
by: Earl Teigrob | last post by:
Does someone have or know of an algorythm (method) that will delete all files under a give directory and its subdirectories based on a wildcard mask? I can use this for one directory for each...
0
by: Andrés Giraldo | last post by:
Hi! I'm trying to use a System.Security.Criptography function, it works on my machine but when I publish the site, it gives me the following error: Can't find a cryptographic service provider...
5
by: Mike Labosh | last post by:
In VB 6, the Form_QueryUnload event had an UnloadMode parameter that let me find out *why* a form is unloading, and then conditionally cancel the event. In VB.NET, the Closing event passes a...
0
by: Bruce H | last post by:
Hello, I want to encrypt files using symmetric cryptography. There are 4 algorythms that the frame supports. Anybody knows which is the fastest algorythm? (big files) TIA
5
by: wingleader | last post by:
Hi everybody! I have such a problem. I wrote a web portal on C++, but I found one big "-" in that script: C++ is not supporting url decoding(I mean data sent by HMTL forms). As a developer I...
5
by: plisho | last post by:
Hello, I'm writting a program in C++. One part of my program is to compare two strings and as a result I have to have a number (range:0-1) which represents a similarity between those two strings....
3
by: whitep8 | last post by:
Hi all, Im very new to java and getting there slowly. Im working on basic class functions. Im totally fine with get and set, storing objects into an array and recalling them, but im totally...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.