摘要:
#include<stdio.h>int main(){ int i,A[1005]={0},B[1005]={0},n,j; scanf("%d", &n); A[0]=B[0]=1; for (i=2;i<=n;i++){ for (j=0;j<100;j++) B[j]*=i; for (j= 阅读全文
摘要:
#include<stdio.h>int main(){ int i,A[1005]={0},B[1005]={0},n,j; scanf("%d", &n); A[0]=B[0]=1; for (i=2;i<=n;i++){ for (j=0;j<100;j++) B[j]*=i; for (j= 阅读全文
摘要:
#include<cstdio>#include<cstring>using namespace std;char a[2000];int n;typedef long long ll;int main(){ scanf("%d%s", &n, a); int l = strlen(a); ll a 阅读全文