static DynamicTopTen ai_topTenOfRandomThings_nAttempts(long n, IF0 maker, IF1 scoringFunction) { new DynamicTopTen topTen; for ping (long i = 0; i < n; i++) { A a = maker!; double score = scoringFunction.get(a); topTen.put(a, score); } ret topTen; }