Experts and college students used A.I. agents to try to break into and defend computer networks in a national competition.