Urgent

20 views
Skip to first unread message

SANDEEP CHUGH

unread,
Dec 2, 2012, 12:10:25 AM12/2/12
to algogeeks_...@googlegroups.com

Input is

Teams¦ matches¦ win¦ lose¦ draw¦ gs ¦ gc¦
A          ¦       x       ¦  p   ¦   q   ¦     r    ¦  a  ¦ b  ¦
B          ¦       x'      ¦  p'  ¦   q'  ¦     r'   ¦  a'  ¦ b' ¦

P+q+r=x
P'+q'+r'=x'

Teams can be more thn two..

gs. ..goal scored
gc... Goal conceded

Output should be..

1. Matches played by each team and wid whom
2. Result of each match (win,lose,draw)
3. Score of each match (in terms of goals)

Assumptions:
- each team must play atleast one match against every other team
- more thn one solution can be thr...u hav to output all..

SANDEEP CHUGH

unread,
Dec 2, 2012, 4:32:36 AM12/2/12
to algogeeks_...@googlegroups.com

Can anyone tell?

saurabh singh

unread,
Dec 2, 2012, 4:36:53 AM12/2/12
to algogeeks_...@googlegroups.com
sounds fishy. What is the source of this problem? Please dont try to cheat as this is against ethics. Moreover if some member proves this to be an attempt to cheat you will be banned from the group

Saurabh Singh
B.Tech (Computer Science)
MNNIT 

SANDEEP CHUGH

unread,
Dec 3, 2012, 12:01:50 AM12/3/12
to algogeeks_...@googlegroups.com

Its just dat someone asked me..and i m unable to solve!!!


Reply all
Reply to author
Forward
0 new messages