FedEx

 CB HOME PAGE

  STORIES &
  OTHER R
ESOURCES
INVESTING
ECOMMERCE & 
TECHNOLOGY
BUSINESS
NEWS
EXECUTIVE DEVELOPMENT
STATISTICS &
RESEARCH
TRAVEL &
LEISURE

CURRENT
HEADLINES

The race to connect everything

Our nerds in Nirvana

The man who invented Goofball

The other health-care crisis

helluvamess.ca

Have great ideas, will travel

Spoil sports

Show and tell

Silicon investors

At your disservice

Down to the short strokes

Profitability? What a concept

Think global, scam local column

There goes the e-neighborhood column

Have I got a deal for you

Click here for less tax

 

Canadian Business  full story  
T h i s   p a g e   i s   p r i n t a b l e.

Our nerds in Nirvana

When the world’s smartest supergeeks gathered in Orlando, Fla., the guys to beat were three computer whizzes from the University of Waterloo.

By Sean Silcoff | April 17, 2000

It’s March break in Florida. The state is teeming with university students who are here for three main reasons: to get tanned, get drunk and get lucky. Donny Cheung has arrived in Orlando with other plans, however, and he doesn’t think much of his surroundings. "If there’s anything in this town that doesn’t make me want to vomit, take me to it now," the 21-year-old University of Waterloo math major quips. Cheung hasn’t packed a pair of shorts, but he did bring his laptop computer and a stack of textbooks. Given the choice between partying and sitting in his hotel room writing computer code, he’d much rather be programming.

Yes, Donny Cheung is a nerd. But if all goes well this weekend, he could be much more than that. He, along with his two U of W computer science buddies, Jeff Shute and Ondrej Lhoták, could be Nerd Champions of the World.

This isn’t your average spring fling, and Cheung, Shute and Lhoták aren’t your average university students. They happen to be three of the world’s most brilliant university-level computer programmers, and, like many people who specialize in the arcane machine languages of C, C++ or Java, they’re more interested in discussing algorithms than twisting by the pool. They’re here to defend their school’s world championship title in what can best be described as the Olympics for propeller-heads: the 24th annual Association for Computing Machinery (ACM) International Collegiate Programming Contest, which has taken over Orlando’s Radisson Hotel Universal during the city’s busiest time of the year.

The contest pits three-member teams from 60 universities around the world–the finalists from a field of 2,400 teams culled during a series of regional competitions–against one another in a five-hour battle of wits and bytes. The goal: to solve up to eight complicated problems by writing programs that run quickly and bug-free in the machine language of your choice. The margin for error is slim as teams from some of the world’s best computer science schools–Russia’s St. Petersburg State University and Harvard, to name but two–work against the same clock.

There are all kinds of university-level competitions, but few are as high-stake or as closely followed. Just by qualifying for the ACM contest, team members have proven they’re suited for some of the most coveted computer programming jobs in the world. If they win, they could put themselves in line for millions of dollars’ worth of stock options and a chance to work with some of the most brilliant minds in computing.

The stakes are reflected in the competition’s world-class organization. Its parent, the ACM, is the oldest and largest international order of computing enthusiasts, with 80,000 members. The corporate sponsor is IBM, and the US$80-billion information technology colossus takes the contest seriously. This is IBM’s single best recruiting opportunity of the year, and the company easily spends upwards of $350,000 to put on a slick four-day program leading up to the competition on the final Saturday. This year it has sent three recruiters to Orlando (last year the company hired about 20 contest participants for summer or full-time jobs), but many of the young computing experts already have jobs lined up with start-ups and IBM competitors. The rest can expect a line-up of prospective employers when they return home. "We’re aware that not every student who participates in the competition will get or want a job with IBM," says Gabriel Silberman, program director with IBM Canada Ltd.’s Centre for Advanced Studies and the company’s contest sponsorship executive. "What we’re looking for is mind-share. We want them to have a good experience and a positive image of what IBM stands for."

But Cheung and his crew have other things on their minds. For the past seven years, Waterloo has dominated the ACM competition in the same way the New York Yankees dominate major league baseball. The university has made the top 10 every year since 1993–the only team to do so–and has won the competition twice, in 1994 and 1999. Back home, the reputation of Waterloo’s prestigious math faculty–and its computer science department– rests in part on how its team fares at this international code-writing showdown. The team, which has practised for close to 100 hours since January, has a lot to live up to. Any finish out of the top 10 will be a major disappointment–particularly to coach Gordon Cormack, whose palpable nervousness is a constant reminder of the impending battle. "The other teams seem to be scared of the name Waterloo," says Cheung. "I think they finger us as one of the teams they just have to beat."

For most contestants, the road to the ACM competition began before they turned 10, when they captained their first TRS-80s or Commodore 64s. Compared to them, Donny Cheung–who immigrated to Winnipeg from Hong Kong with his parents at the age of three–was a late bloomer. He only started programming when he was 14 (on a 386–remember those?), and didn’t think much about computers before he hit university.

Instead, Cheung showed an early aptitude for math. When he was six, teachers recognized him as a prodigy. At 10, he mastered trigonometry, followed by calculus two years later. Despite a modest upbringing (his mother is a nurse, his father a short-order cook), Cheung spent his grade school years at Winnipeg’s elite private school, St. John’s-Ravenscourt, on a full bursary. As he puts it, "I wasn’t born with a silver spoon–it was shoved into me later."

Cheung had other interests in high school: he wrote, debated, and sang for school choirs (his squawky, breaking voice belies a deep bass range). But his math prowess gave him the status he otherwise lacked. "I don’t want to speak ill of my high school, but it’s designed to turn rich people’s kids into rich people," he says. "But if you can help them with their homework, they’ll do anything for you."

Like Lhoták and Shute, two skilled programmers from middle-class southern Ontario backgrounds, Cheung is the nerd equivalent of the kid who breaks away from the gritty mining town in northern Quebec because he can skate and shoot a puck. A decade ago, Cheung’s career path would almost certainly have led to an academic career in mathematics; indeed, that is now where he sees himself heading. But like those hockey players with a gift for the game, his combined math and computing skills make him a valuable commodity. It will be tough for him to resist the lure of the lucrative job opportunities that are sure to come his way.

Throughout his teens, Cheung honed his math skills by entering contest after contest, with outstanding results. In 1995, he placed first in the Canadian Mathematical Olympiad; a year later, he won the Descartes competition for Canadian high school seniors. Waterloo administers most of the high-profile math contests across Canada (including the Descartes), and the university uses these competitions to scout up-and-coming math geniuses in the same way top US colleges comb high schools for athletic prospects. In 1996, Cheung and 63 other Descartes contestants (including Lhoták) were invited to a week-long mathematics seminar on campus. For Cheung, it was all the convincing he needed to make Waterloo his No. 1 choice.

In late September 1998–Cheung’s third year at Waterloo–a friend coaxed him to try out for the ACM contest. Dozens of programmers, including Shute and Lhoták, showed up to vie for a spot on one of two Waterloo teams that would compete in the regionals that November. To win one of the six available spots, students had to individually solve up to 10 computing problems over a six-hour period. Cheung, Shute and Lhoták all scored highly and were split among the A and B teams. Pitted against more than 100 others from across northeastern North America, both teams did well: Lhoták’s team placed first, while Cheung and Shute’s came fifth. Lhoták’s A team advanced to the world finals, taking Cheung along as a spare, and won the 1999 championship in Eindhoven, Netherlands.

At this season’s preliminaries in September, Jeff Shute placed first overall, making him a shoo-in to represent Waterloo. Lhoták and Cheung also performed strongly, and Cormack, who handpicks both U of W squads, saw a powerful combination of experience, brain power and chemistry in the three students. They would be this year’s A team.

Cormack wasn’t disappointed. On Nov. 13, the trio posted one of the strongest regional showings ever. Cheung, Shute and Lhoták solved all eight problems with half an hour to spare. Their nearest competitor, the University of Toronto, solved five. Once again, Waterloo was looking like a leading contender heading into the finals.

It seems that just about every other team in Florida has its sights set on Waterloo. At a banquet lunch the day before the competition, Australia’s University of Melbourne team sits down to eat with the U of W crew, putting on their best competitive airs. "They’re not going to win, you know," says team member John Dethridge in a loud whisper. His chum, Andrew Rogers, who looks more like a rugby player than a programmer, boldly announces that the Aussies will "be very disappointed if we finish outside the top five."

The Waterloo team isn’t impressed, to say the least. But they take it all in stride and outwardly, at least, show no sign of anxiety. When they’re not talking about math (and sometimes, even when they are), the motor-mouthed Cheung plays group jester, with his herky-jerky motions, uncontrollable cackle and seemingly endless supply of jokes, wordplays and irreverent remarks. When he’s around, the more stoic Lhoták and the bashful Shute guffaw a lot, coming across as a brainier version of Beavis and Butt-head. Lhoták, the son of Soviet-era Czech refugees to Canada, is the most eloquent and mature member of the group. Every time you look over, he’s tapping away at a wireless BlackBerry pager, sending e-mails to his girlfriend. The youthful 43-year-old Cormack is almost like a fourth member of the group, indistinguishable from the students except for his constant, half-joking reminders that his team has come to Florida not to have fun, but to win.

There are slightly more than 12 hours to go until the competition, and the Waterloo team is sitting in a middle-of-the-road family restaurant across from the hotel, waiting for dinner. Cheung is sucking back an astounding amount of Coca-Cola. "I have to get my caffeine buzz now because tomorrow I’m not going to drink this much Coke," he says, simultaneously sipping out of two straws stuck in two different glasses. You have to wonder how he’s ever going to sleep tonight (he eventually finishes off seven glasses of the stuff), and apparently so does Lhoták, who winces every time Cheung orders a refill.

The conversation turns to everybody’s favorite topic–problem-solving. At issue is a question from the finals two years ago, about how to determine the common area of two overlapping polygons. The discussion is difficult to follow, but fascinating to observe. For this group, conversations about algorithms can become as impassioned as late-night debates between friends over the meaning of life. "Algorithms are like that," observes Cheung. "There’s always more than one way to skin a cat." But tomorrow, there will be little time for musing or arguing–only right answers.

The ACM contest gets under way just before 9:30 a.m. in the hotel’s main ballroom. The teams, sitting in rows of linen-covered worskstations, rip open their envelopes and start silently reading through the eight questions. (This isn’t much of a spectator sport, but there are a good 50 observers standing watch in a roped-off area.). Spread out before them are textbooks, binders and previous assignments–but no calculators. In five hours, the winning team will be the one that has solved the most problems. In the event of a tie, first place will go to the team with the fewest penalty points. You get one penalty point for every minute that passes before you submit a correct answer (each answer is clocked from the beginning of the contest) and 20 points for each incorrect submission.

The questions range from basic geometrical exercises to real-life problems a programmer might be asked to solve. In Problem H, for example, students must write a program that helps a supply store ship a package of rubber stoppers using the least amount of space and packing materials. Most teams skip that one, however, and head straight to F, a fairly routine problem that asks them to determine the shortest average path between a series of points.

Within five minutes, Lhoták is furiously typing away. Waterloo has split up the questions, and according to the plan, the first person to find one he can do quickly grabs the computer. Since there is only one terminal per team, it is crucial to know when to give up the hot seat at the keyboard. With Lhoták toiling on Problem F, Cheung and Shute hunch over a round table, whispering to each other as they start scribbling out code.

After half an hour, six teams have produced their first correct answers. Waterloo isn’t one of them. When a squad gets an answer right, a contest official grabs one of hundreds of multicolored helium balloons at the front of the room and ties it to their desk for all to see. As the contest enters its second hour, Waterloo is struggling. Lhoták’s first submission for F has been rejected and Cormack is stewing helplessly in the gallery, about 25 metres from his team. "I suspect they’re doing F because they know how to do F," he says with a loud sigh. "I don’t remember if they started this slowly last year."

Ninety minutes into the contest, St. Petersburg has the early lead, with three correct answers. Waterloo is now 0 for 2, and showing the stress. "I can’t believe what is happening," mutters University of Alberta coach Piotr Rudnicki. "I know them very well–they’ve never done anything like this, having two wrong submissions in a row for extremely simple problems."

An hour later, the competition is half over. Waterloo is out of the top 20, far behind St. Petersburg, which is putting on quite a show. The Russian team has just received its fifth balloon of the day. Trailing it are Germany’s University of Ulm and Hong Kong’s Chinese University, with three correct answers each. Waterloo has only one. It’s beginning to look like a disaster for the defending champions.

Hanging over the Waterloo team like a dark cloud is Problem F. Lhoták has tried it twice and still hasn’t cracked it. The problem should be the easiest of the contest, but it’s confounding a lot of teams. What most of them don’t realize is that there’s something wrong with the data. But Lhoták doesn’t give up. He figures a way around the discrepancy. At the 156-minute mark, the judges accept his submission, giving Waterloo its second correct answer. Relief. Twelve minutes later, Waterloo scores its third. Excitement. The team is back in the game, and suddenly in fifth place. Seventeen minutes later, Cheung solves the rubber-stopper stumper. The team vaults into second. Jubilation.

Over in the stands, Cormack looks like a new man. But other teams are gaining. At the four-hour mark–when the scoreboard is frozen until the contest ends–Waterloo has dropped to seventh place, stalled at four correct answers.

But Cheung and the boys are on a tear. Waterloo gets another correct submission–its fifth. Cheung pumps the air with a fist and issues a loud "Yes!" With about 30 minutes to go, the team nets its sixth correct answer. More air punches and high-fives. But Lhoták looks around the room and sees other teams starting to collect their sixth balloons. Still, he knows Waterloo is destined for the top 10; with one more correct answer, they could be the champs.

With only 10 minutes left, Cheung submits the team’s seventh answer and springs from his chair, allowing Shute to take his place and start coding No. 8. Two minutes later, the judges have ruled on Cheung’s answer. It is wrong. Shute bolts up and Cheung takes over control of the computer. He has a fix ready, and pounds it out in mere seconds. He resubmits, and with less than five minutes to go, the answer comes back from the judges: Correct.

Lhoták rocks up and down in his chair like he’s on a bucking bronco, his face clenched in glee. Cheung, standing in his stocking feet, starts to shuffle about in a victory dance similar to what a cocky wide receiver would do after catching a touchdown pass. Shute remains focused on the computer, however, trying to type in the lone remaining answer before the final countdown. With 40 seconds to go, he submits his program. If this one’s right, they’re guaranteed winners. Moments later, the answer is rejected.

It doesn’t matter. The contest is over. Cormack bursts onto the floor. "I’m so proud of you guys," he gushes amid bearhugs and handshakes. "I can’t imagine what you were thinking two hours ago."

Any hopes of winning, however, are quickly dashed. A St. Petersburg team member comes over and reveals that they, too, got their seventh correct answer in the final hour. With so many penalty points amassed against Waterloo for all their late answers, there’s no way they’ll topple the Russians. But they beat everyone else. No other team in the room has managed seven answers, although fellow Canadians from the University of Alberta and the University of Toronto post respectable 10th and 15th place finishes.

Tonight there will be free rides at Universal Studios, courtesy of IBM, and tomorrow the Waterloo team members will claim their prizes: US$1,500 and an IBM laptop each for their second-place showing. For now, though, all Donny Cheung wants to do is get a Coke and sit by the pool for the first time since he got to Florida three days ago.


Search stories: This is a search of the stories that we have put on the Web site. It is not a search of the entire magazine archives.


CB home page

RESOURCE CENTRES
Business news | E-commerce + Technology | Investing
Statistics + Research | Careers + Executive Development
Travel + Leisure


Rogers Media © 2000 Rogers Media - Publishing