d2jsp
Log InRegister
d2jsp Forums > Off-Topic > International > Deutsch > Eulerproject
1236Next
Add Reply New Topic New Poll
Member
Posts: 36,338
Joined: Dec 3 2010
Gold: 79,234.42
Warn: 10%
Mar 9 2017 11:41am
--> projecteuler.net <--

wollt den link mal mit euch teilen. vllt macht ja der ein oder andere n bisschen mit :santa:

noob problem:

https://projecteuler.net/problem=2

Code
Each new term in the Fibonacci sequence is generated by adding the previous two terms. By starting with 1 and 2, the first 10 terms will be:

1, 2, 3, 5, 8, 13, 21, 34, 55, 89, ...

By considering the terms in the Fibonacci sequence whose values do not exceed four million, find the sum of the even-valued terms.


fortgeschrittenen problem:


https://projecteuler.net/problem=20

Code
n! means n × (n − 1) × ... × 3 × 2 × 1

For example, 10! = 10 × 9 × ... × 3 × 2 × 1 = 3628800,
and the sum of the digits in the number 10! is 3 + 6 + 2 + 8 + 8 + 0 + 0 = 27.

Find the sum of the digits in the number 100!


profil problem (bearbeite ich ofc im moment B) )

https://projecteuler.net/problem=100

Code
If a box contains twenty-one coloured discs, composed of fifteen blue discs and six red discs, and two discs were taken at random, it can be seen that the probability of taking two blue discs, P(BB) = (15/21)×(14/20) = 1/2.

The next such arrangement, for which there is exactly 50% chance of taking two blue discs at random, is a box containing eighty-five blue discs and thirty-five red discs.

By finding the first arrangement to contain over 10^12 = 1,000,000,000,000 discs in total, determine the number of blue discs that the box would contain.


regeln:

- gibt keine; es sind alle hilfsmittel erlaubt

ich programmiere alles mit java. die oberen 2 dinger hab ich gepackt. mal gucken ob ich problem 100 noch schaffe...
Member
Posts: 14,036
Joined: Aug 2 2016
Gold: 8,115.00
Mar 9 2017 11:47am
Member
Posts: 55,527
Joined: Aug 3 2009
Gold: 0.00
Mar 9 2017 11:55am
Nein danke
Member
Posts: 41,565
Joined: Dec 2 2007
Gold: 3,249.00
Mar 9 2017 11:56am
pm Once
Member
Posts: 16,115
Joined: Mar 27 2008
Gold: 13,618.00
Mar 9 2017 11:57am
hab derzeit 56, 67, 79, 97, 99, 102 und 587 gelöst (und ein paar der rätsel unter 50)

:)

edit: löse alles mit rust

This post was edited by Richter on Mar 9 2017 11:59am
Member
Posts: 36,338
Joined: Dec 3 2010
Gold: 79,234.42
Warn: 10%
Mar 9 2017 12:00pm
Quote (Richter @ 9 Mar 2017 18:57)
hab derzeit 56, 67, 79, 97, 99, 102 und 587 gelöst (und ein paar der rätsel unter 50)

:)

edit: löse alles mit rust


jau, nice :)

haette eigentlich gar nicht mit so einem post gerechnet :D
Member
Posts: 16,115
Joined: Mar 27 2008
Gold: 13,618.00
Mar 9 2017 12:01pm
Quote (fernsehen123 @ 9 Mar 2017 19:00)
jau, nice :)

haette eigentlich gar nicht mit so einem post gerechnet :D


gibt sicher noch ein dritter subbler der da mitmacht, gibt ja einige ex-studenten :)

edit: vielleicht macht prophets mit?

This post was edited by Richter on Mar 9 2017 12:02pm
Member
Posts: 36,338
Joined: Dec 3 2010
Gold: 79,234.42
Warn: 10%
Mar 9 2017 12:13pm
Quote (Richter @ 9 Mar 2017 18:57)
hab derzeit 56, 67, 79, 97, 99, 102 und 587 gelöst (und ein paar der rätsel unter 50)

:)

edit: löse alles mit rust


587 sieht echt nice aus :drool:


das probiere ich auch gleich (bald) noch!



edit: prophets oder kasiir, kommt mit an bord !

This post was edited by fernsehen123 on Mar 9 2017 12:14pm
Member
Posts: 65,962
Joined: Sep 8 2009
Gold: 6,666.66
Warn: 20%
Mar 9 2017 12:20pm
Member
Posts: 4,598
Joined: Sep 24 2013
Gold: 23,084.91
Mar 9 2017 12:25pm
war damals schon im studium ainfach
Go Back To Deutsch Topic List
1236Next
Add Reply New Topic New Poll