摘要: You are given an integer array nums of length n which represents a permutation of all the integers in the range [0, n - 1]. The number of global inver 阅读全文
posted @ 2021-04-05 23:13 CNoodle 阅读(118) 评论(0) 推荐(0)
摘要: You have d dice, and each die has f faces numbered 1, 2, ..., f. Return the number of possible ways (out of fd total ways) modulo 10^9 + 7 to roll the 阅读全文
posted @ 2021-04-05 13:48 CNoodle 阅读(227) 评论(0) 推荐(0)