SOCCER Puzzle of the Day - Sajha Mobile
SAJHA MOBILE
SOCCER Puzzle of the Day
Posts 13 · Viewed 7074 · Go to Last Post
helpjava11
· Snapshot 0
Like · Likedby · 0
World cup starts today so one soccer puzzle for sajha soccer fans.
Q. Find the total number of goals for the season scored by each of the 11 soccer players on the Brazil team.

The total is a prime number. The average is also a prime number.

No two players scored the same number of goals. No one scored the same number as the average.

No one scored more than 45 goals.
prankster
· Snapshot 75
Like · Liked by · 0
45,44,43,42,41,40,39,38,7,36,35,
Total = 409
Average = 37
arni1101
· Snapshot 164
Like · Liked by · 0
Can u please post the method of ur solution as well? I was clueless..
prankster
· Snapshot 175
Like · Liked by · 0
I am not sure if this is the correct answer but this is what i did. I assigned each player a score starting from 45 to 35. Then started decreasing the score of the player with 35. Checked total/ avg/ to be prime/ checked same score, decrease further if non of the condition satisfy till 0. Once this reaches 0, I reset the score and pick next player and do same. Of course I wrote a code for it ;). There might be other optimal way to do this and the solution may be more optimal.
prankster
· Snapshot 182
Like · Liked by · 0
May be I should let it run all the way and return the combination that would yield max score..instead of returning on the first satisfied condition.
helpjava11
· Snapshot 292
Like · Liked by · 0
Pranskster bro, 45,44,43,42,41,40,39,38,7,36,35, ko toal sum 410 aayo mero calculator ma ta..
मिलेन जस्तो छ है .
prankster
· Snapshot 321
Like · Liked by · 0
sorry it was, 45,44,43,42,41,40,39,38,6,36,35
copied the wrong output :P
helpjava11
· Snapshot 326
Like · Liked by · 0
45,44,43,42,41,40,39,38,6,36,35 = 409/11 = 37.181818
37.18 prime होइन नि त .
prankster
· Snapshot 370
Like · Liked by · 0
changed int to double,
45 44 43 42 41 40 39 38 37 36 34
Total score 439.0 avg 39.90909090909091
helpjava11
· Snapshot 403
Like · Liked by · 0
Answer:
The numbers of goals scored by the 11 players were 5, 7, 11, 13, 17, 19, 29, 31, 37, 41 and 43.

There are 14 primes which are less than 45, the eleven from the correct answer plus 2, 3, and 23. The sum of all 14 = 281. The sum of the smallest 11 = 160. The sum of the largest 11 = 271.

Let A = the average score of the 11 players. Then A must be a prime between 14.5 and 24.6 which could be 17, 19 or 23.

Let S = the sum of two primes which are not used as one of the 11 scores or the average score. Then S = 281 - 11A - A = 281 - 12A.

If we substitute the three possible values for A we get S = 77, 51 or 5. So the only solution is S = 2 + 3 and A = 23. The average score is 23.
prankster
· Snapshot 421
Like · Liked by · 0
Why does the score need to be prime? Its not in the question.
daum
· Snapshot 442
Like · Liked by · 0
WTF!! just watch and enjoy the game!! WC comes once in 4 yrs.
helpjava11
· Snapshot 465
Like · Liked by · 0
Pranskster bro, I dont think the answer have to be prime but looks like thats the only solution.

Your answer: Total score 439.0 avg 39.90909090909091 is not correct coz average goal 39.9 is not a prime.

Daum bro, there are people who still have to work on World Cup time, its sad but true. Thankfully Final is on Sunday. But I watched Mexizo vs Cameroon during lunch break..lol
Please log in to reply to this post

You can also log in using your Facebook
View in Desktop
What people are reading
You might like these other discussions...
· Posts 18 · Viewed 4061 · Likes 3
· Posts 1 · Viewed 103
· Posts 1 · Viewed 98
· Posts 1 · Viewed 189
· Posts 1 · Viewed 401
· Posts 1 · Viewed 234
· Posts 1 · Viewed 139
· Posts 1 · Viewed 118
· Posts 77 · Viewed 18830 · Likes 18
· Posts 1 · Viewed 169



Your Banner Here
Travel Partners
Travel House Nepal