比赛 26暑假集训模拟赛1 评测结果 AAWWWWWWWW
题目名称 最终得分 20
用户昵称 ChenBp 运行时间 0.026 s
代码语言 C++ 内存使用 3.66 MiB
提交时间 2026-06-29 12:13:10
显示代码纯文本
#include<iostream>
using namespace std;
int a[50]={0,0,0,6,23,103,513,2761,15767,94359,586590};
int main(){
    freopen("great.in","r",stdin);
    freopen("great.out","w",stdout);
    int n,p;
    cin>>n>>p;
    cout<<a[n]%p;
    return 0;
}