程序代写代做代考 class Controller2 {

class Controller2 {
static setup () {
var olympics = new Olympics();
// /* test for continents
// The 5 Olympic rings represent five world continents:
// Africa, Asia, America, Europe and Australia (aka OCEANIA?)
//
// Each of the five (5) continents of the Olympic Movement
// will be guaranteed at least one (1) athlete in the Women¡¯s Competition,
// if not automatically qualified in accordance with the above (continental places).
// The continental places will be allocated to the highest ranked athlete(s)
// on the Olympic Golf Rankings from the continent(s) without representation.
//
// The Host Country is guaranteed at least one (1) athlete in the Competition,
// only if it does not qualify any athlete through the Olympic Golf Rankings of 11 July 2016.
// The athlete selected by name shall be the highest ranked athlete from the Host Country
// listed on the Olympic Golf Rankings.
//
olympics.addPossiblePlayer( 1, “Player”, “AAA” )
olympics.addPossiblePlayer( 2, “Player02”, “AAB” )
olympics.addPossiblePlayer( 3, “Player03”, “AAC” )
olympics.addPossiblePlayer( 4, “Player04”, “AAD” )
olympics.addPossiblePlayer( 5, “Player05”, “AAE” )
olympics.addPossiblePlayer( 6, “Player06”, “AAF” )
olympics.addPossiblePlayer( 7, “Player07”, “AAG” )
olympics.addPossiblePlayer( 8, “Player08”, “AAH” )
olympics.addPossiblePlayer( 9, “Player09”, “AAI” )
olympics.addPossiblePlayer( 10, “Player10”, “AAJ” )
olympics.addPossiblePlayer( 11, “Player11”, “AAK” )
olympics.addPossiblePlayer( 12, “Player12”, “AAL” )
olympics.addPossiblePlayer( 13, “Player13”, “AAM” )
olympics.addPossiblePlayer( 14, “Player14”, “AAN” )
olympics.addPossiblePlayer( 15, “Player15”, “AAO” )
olympics.addPossiblePlayer( 16, “Player16”, “AAP” )
olympics.addPossiblePlayer( 17, “Player17”, “AAQ” )
olympics.addPossiblePlayer( 18, “Player18”, “AAR” )
olympics.addPossiblePlayer( 19, “Player19”, “AAS” )
olympics.addPossiblePlayer( 20, “Player20”, “AAT” )

olympics.addPossiblePlayer( 21, “Player21”, “AAU” )
olympics.addPossiblePlayer( 22, “Player22”, “AAV” )
olympics.addPossiblePlayer( 23, “Player23”, “AAW” )
olympics.addPossiblePlayer( 24, “Player24”, “AAX” )
olympics.addPossiblePlayer( 25, “Player25”, “AAY” )
olympics.addPossiblePlayer( 26, “Player26”, “AAZ” )
olympics.addPossiblePlayer( 27, “Player27”, “ABA” )
olympics.addPossiblePlayer( 28, “Player28”, “ABB” )
olympics.addPossiblePlayer( 29, “Player29”, “ABC” )
olympics.addPossiblePlayer( 30, “Player30”, “ABD” )
olympics.addPossiblePlayer( 31, “Player31”, “ABE” )
olympics.addPossiblePlayer( 32, “Player32”, “ABF” )
olympics.addPossiblePlayer( 33, “Player33”, “ABG” )
olympics.addPossiblePlayer( 34, “Player34”, “ABH” )
olympics.addPossiblePlayer( 35, “Player35”, “ABI” )
olympics.addPossiblePlayer( 36, “Player36”, “ABJ” )
olympics.addPossiblePlayer( 37, “Player37”, “ABK” )
olympics.addPossiblePlayer( 38, “Player38”, “ABL” )
olympics.addPossiblePlayer( 39, “Player39”, “ABM” )
olympics.addPossiblePlayer( 40, “Player40”, “ABN” )
olympics.addPossiblePlayer( 41, “Player41”, “ABO” )
olympics.addPossiblePlayer( 42, “Player42”, “ABP” )
olympics.addPossiblePlayer( 43, “Player43”, “ABQ” )
olympics.addPossiblePlayer( 44, “Player44”, “ABR” )
olympics.addPossiblePlayer( 45, “Player45”, “ABS” )
olympics.addPossiblePlayer( 46, “Player46”, “ABT” )
olympics.addPossiblePlayer( 47, “Player47”, “ABU” )
olympics.addPossiblePlayer( 48, “Player48”, “ABV” )
olympics.addPossiblePlayer( 49, “Player49”, “ABW” )
olympics.addPossiblePlayer( 50, “Player50”, “ABX” )
olympics.addPossiblePlayer( 51, “Player51”, “ABY” )
olympics.addPossiblePlayer( 52, “Player52”, “ABZ” )
olympics.addPossiblePlayer( 53, “Player53”, “ACA” )
olympics.addPossiblePlayer( 54, “Player54”, “ACB” )
olympics.addPossiblePlayer( 55, “Player55”, “ACD” ) // all up to here are OK

} }
olympics.addPossiblePlayer( 56, “NotMe01”, “ZZZ” )// not OK
olympics.addPossiblePlayer( 57, “Player56”, “EGY” )// Africa # 56
olympics.addPossiblePlayer( 58, “NotMe02”, “ZZZ” )// not ok
olympics.addPossiblePlayer( 59, “Player57”, “KOR” )// Asia # 57
olympics.addPossiblePlayer( 60, “NotMe03”, “ZZZ” )// not OK
olympics.addPossiblePlayer( 61, “Player58”, “FRA” )// Europe # 58
olympics.addPossiblePlayer( 62, “Notme04”, “ZZZ” )// not OK
olympics.addPossiblePlayer( 63, “Player69”, “NZL” ) // Oceania # 59
olympics.addPossiblePlayer( 64, “AlmostMeButNotQuite”, “USA” ) // America BUT not host country
olympics.addPossiblePlayer( 65, “Player60”, “BRA” ) // America AND host country # 60
olympics.addPossiblePlayer( 66, “NotMe05”, “ZZZ” )
olympics.addPossiblePlayer( 67, “NotMe06”, “ZZZ” )
olympics.addPossiblePlayer( 68, “NotMe07”, “ZZZ” )
olympics.addPossiblePlayer( 69, “NotMe08”, “ZZZ” )
olympics.addPossiblePlayer( 70, “NotMe09”, “ZZZ” )
olympics.addPossiblePlayer( 71, “NotMe10”, “ZZZ” )
olympics.addPossiblePlayer( 72, “NotMe11”, “ZZZ” )
olympics.addPossiblePlayer( 73, “NotMe12”, “ZZZ” )
olympics.addPossiblePlayer( 74, “NotMe13”, “ZZZ” )
olympics.addPossiblePlayer( 75, “NotMe14”, “ZZZ” )
olympics.addPossiblePlayer( 76, “NotMe15”, “ZZZ” )
olympics.addPossiblePlayer( 77, “NotMe16”, “ZZZ” )
olympics.addPossiblePlayer( 78, “NotMe17”, “ZZZ” )
olympics.addPossiblePlayer( 79, “NotMe18”, “ZZZ” )
olympics.addPossiblePlayer( 80, “NotMe19”, “ZZZ” )
return olympics;