Bitcoin Forum
November 24, 2017, 10:15:31 PM *
News: Latest stable version of Bitcoin Core: 0.15.1  [Torrent].
 
   Home   Help Search Donate Login Register  
Pages: [1]
  Print  
Author Topic: JAVA+MATH EXAM [PAYING BTC]  (Read 567 times)
maybach1980
Member
**
Offline Offline

Activity: 92

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


View Profile
October 18, 2016, 03:11:56 AM
 #1

Have an exam who need skills on math and java
if anyone is good at them please pm me your skype

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
1511561731
Hero Member
*
Offline Offline

Posts: 1511561731

View Profile Personal Message (Offline)

Ignore
1511561731
Reply with quote  #2

1511561731
Report to moderator
Join ICO Now A blockchain platform for effective freelancing
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
1511561731
Hero Member
*
Offline Offline

Posts: 1511561731

View Profile Personal Message (Offline)

Ignore
1511561731
Reply with quote  #2

1511561731
Report to moderator
1511561731
Hero Member
*
Offline Offline

Posts: 1511561731

View Profile Personal Message (Offline)

Ignore
1511561731
Reply with quote  #2

1511561731
Report to moderator
1511561731
Hero Member
*
Offline Offline

Posts: 1511561731

View Profile Personal Message (Offline)

Ignore
1511561731
Reply with quote  #2

1511561731
Report to moderator
maybach1980
Member
**
Offline Offline

Activity: 92

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


View Profile
October 18, 2016, 03:26:06 AM
 #2

paying 20$ / btc....

xxx
SummerBliss
Sr. Member
****
Offline Offline

Activity: 248


View Profile
October 18, 2016, 04:41:03 AM
 #3

Hi, I could try to help you with that. My skype is enilk09. Smiley
Coding Enthusiast
Sr. Member
****
Offline Offline

Activity: 424


Novice C♯ Coder


View Profile WWW
October 18, 2016, 05:28:58 AM
 #4

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

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 box
Donation link using BIP21
BitcoinTransactionTool (0.9.2): Ann - Source Code
Watch Only Bitcoin Wallet (2.2.0): Ann - Source Code
SharpPusher-broadcast transactions (0.10.0): Ann - Source Code

MagicIsMe
Sr. Member
****
Offline Offline

Activity: 294


Negative trust resolution: index.php?topic=1439270


View Profile
October 18, 2016, 06:43:15 AM
 #5

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.

maybach1980
Member
**
Offline Offline

Activity: 92

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


View Profile
October 18, 2016, 05:15:58 PM
 #6

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

xxx
jambola2
Legendary
*
Offline Offline

Activity: 1078


Enjin Coin - Smart Cryptocurrency for Gaming.


View Profile
October 18, 2016, 11:17:12 PM
 #7

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:


MagicIsMe
Sr. Member
****
Offline Offline

Activity: 294


Negative trust resolution: index.php?topic=1439270


View Profile
October 19, 2016, 04:04:06 AM
 #8

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.

fsb4000
Legendary
*
Offline Offline

Activity: 1400



View Profile
October 20, 2016, 03:01:51 AM
 #9

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 Offline

Activity: 258


View Profile
October 28, 2016, 02:38:07 AM
 #10

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

should be faster?
TriggerX
Hero Member
*****
Offline Offline

Activity: 798


View Profile
October 28, 2016, 02:44:36 AM
 #11

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

Activity: 28


View Profile
October 28, 2016, 02:55:11 AM
 #12

Iam good at math but not at java
Pages: [1]
  Print  
 
Jump to:  

Sponsored by , a Bitcoin-accepting VPN.
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!