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_17202999_24937.cpp: In function 'int main()':
0_0_17202999_24937.cpp:19:18: error: 'scanf' was not declared in this scope
     scanf("%d",&t);
                  ^
0_0_17202999_24937.cpp:24:16: error: 'dp' was not declared in this scope
         memset(dp,0,sizeof(dp));
                ^
0_0_17202999_24937.cpp:24:31: error: 'memset' was not declared in this scope
         memset(dp,0,sizeof(dp));
                               ^
0_0_17202999_24937.cpp:28:25: error: 'arr' was not declared in this scope
             scanf("%d",&arr[i]);
                         ^
0_0_17202999_24937.cpp:31:18: error: 'arr' was not declared in this scope
             sum+=arr[i];
                  ^
0_0_17202999_24937.cpp:39:17: error: 'arr' was not declared in this scope
           dp[1][arr[1]]=1;
                 ^
0_0_17202999_24937.cpp:50:44: error: 'mod' was not declared in this scope
         dp[i][j]=(dp[i-1][tmp]+dp[i-1][j])%mod;
                                            ^
0_0_17202999_24937.cpp:57:43: error: 'mod' was not declared in this scope
        dp[i][j]=(dp[i-1][9]+dp[i-1][j]+1)%mod;
                                           ^
0_0_17202999_24937.cpp:59:41: error: 'mod' was not declared in this scope
      dp[i][j]=(dp[i-1][j]+dp[i-1][tmp])%mod;
                                         ^
0_0_17202999_24937.cpp:64:34: error: 'mod' was not declared in this scope
       printf("%d\n",(dp[n][a]+1)%mod);
                                  ^
0_0_17202999_24937.cpp:64:37: error: 'printf' was not declared in this scope
       printf("%d\n",(dp[n][a]+1)%mod);
                                     ^
0_0_17202999_24937.cpp:66:29: error: 'printf' was not declared in this scope
     printf("%d\n",(dp[n][a]));
                             ^
0_0_17202999_24937.cpp:76:29: error: 'printf' was not declared in this scope
            printf("%d\n",ans);
                             ^


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 07:51:50, Gzip enabled