SP8591 PRIMPERM - Prime Permutations

题目描述

$t$ 组数据,每组数据给定一个整数 $n$,求 $n$ 的排列中有多少个排列是质数。

输入格式

输出格式

说明/提示

$t