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_21578872_110.cpp:10:1: error: 'll' does not name a type
 ll vis[100005],dp[100005];
 ^
0_0_21578872_110.cpp: In function 'int main()':
0_0_21578872_110.cpp:12:5: error: 'll' was not declared in this scope
     ll t,i,j,cas=1;
     ^
0_0_21578872_110.cpp:13:19: error: 't' was not declared in this scope
     scanf("%lld",&t);
                   ^
0_0_21578872_110.cpp:17:16: error: 'vis' was not declared in this scope
         memset(vis,0,sizeof(vis));
                ^
0_0_21578872_110.cpp:18:16: error: 'dp' was not declared in this scope
         memset(dp,0,sizeof(dp));
                ^
0_0_21578872_110.cpp:19:12: error: expected ';' before 'n'
         ll n=strlen(s1); 
            ^
0_0_21578872_110.cpp:20:12: error: expected ';' before 'm'
         ll m=strlen(s2);
            ^
0_0_21578872_110.cpp:21:9: error: 'j' was not declared in this scope
         j=-1;
         ^
0_0_21578872_110.cpp:22:13: error: 'i' was not declared in this scope
         for(i=1;i<m;i++){
             ^
0_0_21578872_110.cpp:22:19: error: 'm' was not declared in this scope
         for(i=1;i<m;i++){
                   ^
0_0_21578872_110.cpp:28:13: error: 'i' was not declared in this scope
         for(i=-1;i<n-1;i++){
             ^
0_0_21578872_110.cpp:28:20: error: 'n' was not declared in this scope
         for(i=-1;i<n-1;i++){
                    ^
0_0_21578872_110.cpp:31:19: error: 'm' was not declared in this scope
             if(j==m-1){
                   ^
0_0_21578872_110.cpp:36:12: error: expected ';' before 'num'
         ll num=0;
            ^
0_0_21578872_110.cpp:37:13: error: 'i' was not declared in this scope
         for(i=0;i<m;i++){
             ^
0_0_21578872_110.cpp:37:19: error: 'm' was not declared in this scope
         for(i=0;i<m;i++){
                   ^
0_0_21578872_110.cpp:40:14: error: 'i' was not declared in this scope
         for(;i<n;i++){
              ^
0_0_21578872_110.cpp:40:16: error: 'n' was not declared in this scope
         for(;i<n;i++){
                ^
0_0_21578872_110.cpp:42:31: error: 'm' was not declared in this scope
           dp[i]=(dp[i-1]+dp[i-m]+1)%1000000007;
                               ^
0_0_21578872_110.cpp:46:38: error: 'cas' was not declared in this scope
         printf("Case #%lld: %llld\n",cas++,(dp[n-1]+1)%1000000007);
                                      ^
0_0_21578872_110.cpp:46:48: error: 'n' was not declared in this scope
         printf("Case #%lld: %llld\n",cas++,(dp[n-1]+1)%1000000007);
                                                ^


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-12-02 09:10:03, Gzip enabled