if not problems:
break
for problem in problems:
- print "Problem %d:" % problem.id
+ print "Problem %d/%d:" % (problem.id, len(problems))
r = problem.findproblemrule()
ri = r.info()
print ri.problemstr()
problems = solver.solve(jobs)
break if problems.empty?
for problem in problems
- puts "Problem #{problem.id}:"
+ puts "Problem #{problem.id}/#{problems.count}:"
puts problem.findproblemrule.info.problemstr
solutions = problem.solutions
for solution in solutions
for (problem = 1; problem <= pcnt; problem++)
{
int take = 0;
- printf("Problem %d:\n", problem);
+ printf("Problem %d/%d:\n", problem, pcnt);
solver_printprobleminfo(solv, problem);
printf("\n");
scnt = solver_solution_count(solv, problem);