!759 p { Case c = ioioiParse("#1003022"); S[] e1 = first(c.stringExamples()); F pat = makePattern(str(process(e1[0])), e1[1]); for (S[] e : c.stringExamples()) if (!ioSmartEqVerbose(e[1], pat.get(str(process(e[0]))))) fail("nope"); print("yo! solved this."); } static int process(S in) { ret count(javaTok(in), ",") + 1; } static F makePattern(S in, S out) { ret new F() { S get(S in) { ret in + " items"; // TODO } }; }