Bitcoin Forum
April 19, 2018, 10:32:41 PM
 News: Latest stable version of Bitcoin Core: 0.16.0  [Torrent]. (New!)
 Home Help Search Donate Login Register
 Pages: [1]
 Author Topic: JAVA+MATH EXAM [PAYING BTC]  (Read 570 times)
maybach1980
Member

Offline

Activity: 92
Merit: 10

<<<<>>>>>><<<

 October 18, 2016, 03:11:56 AM

Have an exam who need skills on math and java

example of a question :
Quote
The Fibonacci sequence of numbers is 1, 1, 2, 3, 5, 8, 13, 21, 34, ... The first and second numbers are 1 and after that ni = ni-2 + ni-1, e.g., 34 = 13 + 21. A number in the sequence is called a Fibonacci number. Write a method with signature int closestFibonacci(int n) which returns the largest Fibonacci number that is less than or equal to its argument. For example, closestFibonacci(12) returns 8 because 8 is the largest Fibonacci number less than 12 and closestFibonacci(33) returns 21 because 21 is the largest Fibonacci number that is <= 33. closestFibonacci(34) should return 34. If the argument is less than 1 return 0. Your solution must not use recursion because unless you cache the Fibonacci numbers as you find them, the recursive solution recomputes the same Fibonacci number many times.

PM me skype/whatever im you use.... + your price

xxx
1524177161
Hero Member

Offline

Posts: 1524177161

Ignore
 1524177161

1524177161
 Report to moderator
1524177161
Hero Member

Offline

Posts: 1524177161

Ignore
 1524177161

1524177161
 Report to moderator
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
1524177161
Hero Member

Offline

Posts: 1524177161

Ignore
 1524177161

1524177161
 Report to moderator
1524177161
Hero Member

Offline

Posts: 1524177161

Ignore
 1524177161

1524177161
 Report to moderator
1524177161
Hero Member

Offline

Posts: 1524177161

Ignore
 1524177161

1524177161
 Report to moderator
maybach1980
Member

Offline

Activity: 92
Merit: 10

<<<<>>>>>><<<

 October 18, 2016, 03:26:06 AM

paying 20\$ / btc....

xxx
SummerBliss
Sr. Member

Offline

Activity: 342
Merit: 251

Secure, scalable blockchain that actually works

 October 18, 2016, 04:41:03 AM

Hi, I could try to help you with that. My skype is enilk09.

 | >_IOSTINTERNET OF SERVICE TOKEN ▄            ▄█████▄         ▄███████████▄      ▄████████▀████████▄   ▄█████████▀   ▀█████████▄ █████████▀    ▄    ▀████████▐██████▀    ▄█████▄    ▀██████▌▐████▌   ▐███████████▄   ▐████▌▐██████▄    ▀▀   ███████▄█████▌▐█████████▄     ██████████████▌▐█████████▄  ▄   ▀▀   ████████▌▐███████████████▄    █████████▌▐████ ▀████████▄  ▄    ▀██████▌▐████    ▀███████████▌   ▐████▌▐██████▄    ▀█████▀    ▄██████▌ █████████▄    ▀    ▄█████████   ▀█████████▄   ▄█████████▀      ▀████████▄████████▀         ▀███████████▀            ▀█████▀               ▀ SECURE & SCALABLEINFRASTRUCTURE INTELLIGENTSERVICES ███▄▄▄▄▄▄▄▄▄▄▄▄▄         ██    ███            █             ██    █             █████ █████             █▀▀▀▀▀▀▀▀▀▀▀▀▀█████ █████▀▀▀▀▀▀▀▀▀▀█  █             █████ █████          █  █      ██       ██       █  █ ██             █  █           ███            ██  █  █      █▀▀▀▀███   █████        █  █      █   █████▀▀▀▀▀▀▀▀▀▀▀▀▀█▀▀▀▀▀   █████             █         ██          █   ██          █████                ██   █      ▄▄▄▄▄▄▄▄▄█████        ███▄▄▄▄▄▄▄▄▄▄█▄▄▄▄▄▄█        █████        ███                  ██      ▀ |
Coding Enthusiast
Sr. Member

Offline

Activity: 463
Merit: 284

Novice C♯ Coder

 October 18, 2016, 05:28:58 AM

Code written in C♯: https://gist.github.com/Coding-Enthusiast/40bf7e9b7780eaa6b6f07f257acf2fe7
Ways to contact: comment on the gist, or PM me here
Price: Free!

I just did it for fun, and since Java and C♯ are really close.

Some results:
Code:
Number: 0
Closest Fibonachi is: 0

Number: 1
Closest Fibonachi is: 1

Number: 12
Closest Fibonachi is: 8

Number: 33
Closest Fibonachi is: 21

Number: 34
Closest Fibonachi is: 34

 Projects List+Suggestion boxDonation link using BIP21 BitcoinTransactionTool (0.9.2):  Ann - Source CodeWatch Only Bitcoin Wallet (supporting SegWit) (3.1.0):  Ann - Source CodeSharpPusher (broadcast transactions) (0.10.0): Ann - Source Code
MagicIsMe
Sr. Member

Offline

Activity: 294
Merit: 250

Negative trust resolution: index.php?topic=1439270

 October 18, 2016, 06:43:15 AM

This seems doable. Similar problems can be seen on Project Euler (which I have experience in), so I'll take a shot at it.

You can contact me via Skype at the username I sent through PM.

 .█████ KOMODOICO STARTS OCTOBER 15TH ▄██▄▄████████▄▄████████████▄█████▀▄▄▄▄▀█████████▌▄▄▄██▄▄▄▐██████████▄██████▄██████████████████████████████▐███████████████████████████████████████████▀██████▀██████████▌▀▀▀██▀▀▀▐█████████▄▀▀▀▀▄█████▀████████████▀▀████████▀▀██▀ .PROTECTING YOUR PRIVACYWITH BITCOIN'S HASHRATE .█████ .Untraceable Zero Knowledge TransactionsDelayed Proof of Work / as safe as Bitcoin .█████
maybach1980
Member

Offline

Activity: 92
Merit: 10

<<<<>>>>>><<<

 October 18, 2016, 05:15:58 PM

so far no one said he can do.....

xxx
jambola2
Legendary

Offline

Activity: 1120
Merit: 1005

Large scale, green crypto mining ICO

 October 18, 2016, 11:17:12 PM

I'll complete it right now, and I'll post some images of how it looks running.
Send me a PM with what proof of completion you'll need.
Code will be given upon 50% payment with rest of payment after verification.

Completed, proof:

Basic invalid data catching:

 ████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████  ▀███████████▀  ███████▀▀       ▀▀███████████████████▄▀████  ▀██████████  ████▌ ▐████████████▌ ▐██              ███            ████████   ▀█████████▀   █████▀  ▄▄████████▄▀██████████████████▄▀███   ▀█████████  ████▌ ▐████████████▌ ▐████████  █████████  ██████████████████  ▄ ▀███████▀ ▄  ███▀  ▄█████████████▄██████████████████ ███  █▄ ▀███████  ████▌ ▐████████████▌ ▐████████  █████████  ██████████████████  █▄ ▀█████▀ ▄█  ██▀ ▄██████████████████████████████████ ███  ███  ██████  ████▌ ▐████████████▌ ▐████████  █████████  ██████████████████  ██▄ ▀███▀ ▄██  ██ ▄██████████████████████████████████▀ ███  ████▄ ▀████  ████▌ ▐████████████▌ ▐████████  █████████          ▐█████████  ███▄ ▀█▀ ▄███  ██ ██████████████████████████████████▀ ▄███  ██████  ▀██  ████▌ ▐████████████▌ ▐████████  █████████  ██████████████████  ████▄   ▄████  ██ ▐███████████████████████████████▀  ▄████  ███████▄ ▀█  ████▌ ▐████████████▌ ▐████████  █████████  ██████████████████  ██████▄██████  ███ ██████████████████▄▀█████████▀  ▄██████  █████████▄   ████▌ ▐████████████▌ ▐████████  █████████  ██████████████████  █████████████  ███▄▀███████████████████▄▄       ▄▄████████  ██████████▄  ████▌            ██▌ ▐████████  █████████            ████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████ │││ █ █ ██████   ..JOIN THE REVOLUTION...Sign Up for Your Tokens Today! ███████████████████  WHITEPAPER  █████ █ ██  ANN THREAD  █████████████████ █ █.FACEBOOK      TWITTER      LINKEDIN ...PRE-SALE OPEN..Get 100 - 300% Bonus Now!
MagicIsMe
Sr. Member

Offline

Activity: 294
Merit: 250

Negative trust resolution: index.php?topic=1439270

 October 19, 2016, 04:04:06 AM

so far no one said he can do.....

You still haven't responded on Skype. I sent the code for what you were after to prove I can do this.

 .█████ KOMODOICO STARTS OCTOBER 15TH ▄██▄▄████████▄▄████████████▄█████▀▄▄▄▄▀█████████▌▄▄▄██▄▄▄▐██████████▄██████▄██████████████████████████████▐███████████████████████████████████████████▀██████▀██████████▌▀▀▀██▀▀▀▐█████████▄▀▀▀▀▄█████▀████████████▀▀████████▀▀██▀ .PROTECTING YOUR PRIVACYWITH BITCOIN'S HASHRATE .█████ .Untraceable Zero Knowledge TransactionsDelayed Proof of Work / as safe as Bitcoin .█████
fsb4000
Legendary

Offline

Activity: 1400
Merit: 1000

 October 20, 2016, 03:01:51 AM

Code:
int closestFibonacci(int n)
{
int current = 0;
int next = 1;
while (n >= next) {
long temp = (long)current + (long)next;
if (temp > 2147483647) {  // 2,147,483,647 - this is maximal int value
return next;
}
current = next;
next = (int)temp;
}
return current;
}
arunka71
Sr. Member

Offline

Activity: 320
Merit: 250

 October 28, 2016, 02:38:07 AM

http://mathworld.wolfram.com/BinetsFibonacciNumberFormula.html

should be faster?
TriggerX
Hero Member

Offline

Activity: 812
Merit: 1000

 October 28, 2016, 02:44:36 AM

I am interested in this. I PM'd you my skype. Could you elaborate on what you need to do?

Hi!
bitkng
Newbie

Offline

Activity: 28
Merit: 0

 October 28, 2016, 02:55:11 AM

Iam good at math but not at java
 Pages: [1]
 « previous topic next topic »