Dat zou ik nog wel geinig vinden.quote:Op dinsdag 15 september 2009 08:15 schreef Q. het volgende:
[..]
Die troonrede hoef jij niet te doen hoor.
Er is weinig goeds aan andersquote:
Dus niemand heeft een goedemorgen maar jij blijft het stug roepen!quote:Op dinsdag 15 september 2009 08:38 schreef Anthraxx het volgende:
Ik zeg eerst goedemorgen en lees dan het nieuws.
Of muziek van de beatles luisterenquote:Op dinsdag 15 september 2009 08:40 schreef CherryLips het volgende:
Nu kun je niet meer normaal Ghost kijken
Want daarin gaan ze ook dood?quote:Op dinsdag 15 september 2009 08:40 schreef Godtje het volgende:
[..]
Of muziek van de beatles luisteren
Dat kon je toch al niet zonder dat je naar twee lijken luisterde.quote:Op dinsdag 15 september 2009 08:40 schreef Godtje het volgende:
[..]
Of muziek van de beatles luisteren
Beatlesquote:Op dinsdag 15 september 2009 08:44 schreef Anthraxx het volgende:
[..]
Dat kon je toch al niet zonder dat je naar twee lijken luisterde.
Declareren bij je werkgeverquote:Op dinsdag 15 september 2009 08:48 schreef Anthraxx het volgende:
Ik wil die remasters box maar hij is zo duur.
Dat is zo. Maar dan heb ik de box nietquote:Op dinsdag 15 september 2009 08:52 schreef CherryLips het volgende:
[..]
Nee, maar je kunt ze wel los kopen
Productiviteit en sfeer verhogend. Bijkomend voordeel is dat collega's cultureel geschoold worden tegen een minimale investering aangezien het in groepsverband gebeurd.quote:Op dinsdag 15 september 2009 08:53 schreef Anthraxx het volgende:
[..]
Hoe kan ik dit samenvatten? Reiskosten naar xxx? Etentje bij yyy?
Dus dan kan dit er ook wel bij.quote:Op dinsdag 15 september 2009 08:55 schreef Anthraxx het volgende:
Het hok waar ik zit wordt al cultureel bijgeschoold d.m.v. Prog Rock en Heavy Metal.
Nee, dat niet, beetje jammerquote:
You're rich, you're richquote:Op dinsdag 15 september 2009 08:58 schreef CherryLips het volgende:
[..]
Nee, dat niet, beetje jammer.
Ik had dat boekje eigenlijk gekocht om te zien of z'n Beatlesgordijntjes erin stonden, want hij had vroeger een lap stof waar m'n oma toen gordijntjes van had gemaakt, maar hij heeft die waarschijnlijk ooit eens weggegooid en die zou ook een leuk bedragje waard zijn nu.
Daarom: altijd alles bewaren. Hij heeft ook nog steeds de dozen van de Beatles-poppen uit de jaren zestig.
Beatles FTWquote:Op dinsdag 15 september 2009 09:26 schreef Anthraxx het volgende:
Mijn vader was meer een Stones fan. En dat kan mij nou niet echt heel erg bekoren.
Ik luister ook naar Pink Floyd. Vooral eigenlijkquote:Op dinsdag 15 september 2009 10:38 schreef CherryLips het volgende:
Mijn vader luistert nog steeds overal naar, maar was voornamelijk Beatles-fan. En Pink Floyd.
Ik ook!quote:Op dinsdag 15 september 2009 10:42 schreef Anthraxx het volgende:
[..]
Ik luister ook naar Pink Floyd. Vooral eigenlijk.
Ik ben te laat geboren.
Briljant.quote:Op dinsdag 15 september 2009 16:57 schreef Godtje het volgende:
Zou dit werken?
Die gaat voor de nobel prijs!
Je woont in een plaggenhut?quote:Op dinsdag 15 september 2009 19:06 schreef MissMSX het volgende:
Twee vuilniszakken met groenafval vol
En het is zelfs alleen afkomstig uit huis
Nee, keihard groeien allemaal. Dat is nou juist het probleem!quote:
Nee natuurlijk nietquote:
Eentje. Die was erg groot geworden. Heb er nog een nakomeling met een wat schappelijker formaatje van staan. Interesse?quote:
Jezus, wat een klotewerk, nu alleen nog testen. Ze tellen allemaal 5% van het eindcijfer mee...quote:We want to calculate the results of one team in a soccer competition. Input is a, possibly empty, list of match results (number of goals for and against), terminated by the numbers -1 -1 (an impossible score). The program should calculate:
* the number of matches played (the end markers -1 -1 do not count as a match);
* the number of competition points: each match gives 3 for a win, 1 for a draw, 0 for a loss;
* the number of matches won by this team;
* the number of matches that ended in a draw (gelijk spel);
* the number of matches lost by this team;
* the score balance (number of goals against subtracted from number of goals for).
If the input starts with the word "advanced", the program should calculate furthermore:
* the length of the longest sequence of matches without a loss.
Input
1. Either the word "simple" or the word "advanced"
2. a sequence of pairs of non-negative integer numbers (pairs are not explicitly marked, the total number of number is even)
3. two times the number -1
Newlines are not significant in the input.
Output
On consecutive lines, one space between the word and the number, no additional spaces or tabs:
1. "P" followed by the number of matches played
2. "C" followed by the number of competition points
3. "W" followed by the number of wins
4. "D" followed by the number of draws
5. "L" followed by the number of losses
6. "S" followed by the score balance
If the input starts with the word "advanced", the six lines above should be followed by one line containing
7. "LS" followed by the length of the longest sequence without a loss (0 if there are no matches or all matches were lost).
Output has to match the description exactly. Uppercase/lower case, number of spaces, newlines, all these are significant.
| Forum Opties | |
|---|---|
| Forumhop: | |
| Hop naar: | |