Wang Zirui 2018-03-19 13:06 采纳率: 33.3%
浏览 809
已结题

Print all CNF formulas

Given the number of variables n and the number of clauses m, write a program that outputs all CNF formulas that contain at most n variables and at most m clauses.

  • 写回答

1条回答 默认 最新

  • threenewbee 2018-03-19 15:45
    关注

    如果数据量不大,那么两重循环穷举下就是了。

    评论

报告相同问题?