F.A.Q
Hand In Hand
Online Acmers
Problem Archive
Realtime Judge Status
Authors Ranklist
 
     C/C++/Java Exams     
ACM Steps
Go to Job
Contest LiveCast
ICPC@China
Best Coder beta
VIP | STD Contests
    DIY | Web-DIY beta
Author ID 
Password 
 Register new ID

View Compilation Error

0_0_13806218_24205.cpp:1:10: error: #include expects "FILENAME" or <FILENAME>
 #include #include #include #include using namespace std;const int LEN=52;const int N=7;__int64 dp[N][LEN];int cnt[11];int main(){int t,m,n,q,i,k,j,l;scanf("%d",&t);string a;while (t--){scanf("%d%d%d",&m,&n,&q);while (m--){cina;cnt[a.length()]++;}memset(dp,0,sizeof(dp));for (i=1;i{dp[1][i]=cnt[i];dp[i][i]=cnt[1];}for (i=0;i{for (k=0;k{for (j=0;j{dp[i+1][j+k]+=dp[i][j]*cnt[k];}}}while (q--){scanf("%d",&l);printf("%I64d\n",dp[n][l]);}}return 0;}תÔØÇë±£Áô³ö´¦£ºhttp://www.01yun.com/php/20130608/486121.html
          ^


Hangzhou Dianzi University Online Judge 3.0
Copyright © 2005-2024 HDU ACM Team. All Rights Reserved.
Designer & Developer : Wang Rongtao LinLe GaoJie GanLu
Total 0.000000(s) query 1, Server time : 2024-11-26 20:44:34, Gzip enabled