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_37762492_29355.cpp:4:18: error: declaration does not declare anything [-fpermissive]
 #define int long long;
                  ^
0_0_37762492_29355.cpp:6:7: note: in expansion of macro 'int'
 const int N=3e5+10,mod=998244353;
       ^
0_0_37762492_29355.cpp:6:11: error: 'N' does not name a type
 const int N=3e5+10,mod=998244353;
           ^
0_0_37762492_29355.cpp:4:18: error: declaration does not declare anything [-fpermissive]
 #define int long long;
                  ^
0_0_37762492_29355.cpp:7:1: note: in expansion of macro 'int'
 int n,p[N],q[N],s[N*2],dp[N][2];
 ^
0_0_37762492_29355.cpp:7:5: error: 'n' does not name a type
 int n,p[N],q[N],s[N*2],dp[N][2];
     ^
0_0_37762492_29355.cpp:4:18: error: declaration does not declare anything [-fpermissive]
 #define int long long;
                  ^
0_0_37762492_29355.cpp:9:1: note: in expansion of macro 'int'
 int dfs(int x,int y,int t)
 ^
0_0_37762492_29355.cpp:4:22: error: expected ')' before ';' token
 #define int long long;
                      ^
0_0_37762492_29355.cpp:9:9: note: in expansion of macro 'int'
 int dfs(int x,int y,int t)
         ^
0_0_37762492_29355.cpp:4:22: error: expected constructor, destructor, or type conversion before ';' token
 #define int long long;
                      ^
0_0_37762492_29355.cpp:9:9: note: in expansion of macro 'int'
 int dfs(int x,int y,int t)
         ^
0_0_37762492_29355.cpp:9:13: error: 'x' does not name a type
 int dfs(int x,int y,int t)
             ^
0_0_37762492_29355.cpp:9:19: error: 'y' does not name a type
 int dfs(int x,int y,int t)
                   ^
0_0_37762492_29355.cpp:9:25: error: 't' does not name a type
 int dfs(int x,int y,int t)
                         ^
0_0_37762492_29355.cpp: In function 'void solve()':
0_0_37762492_29355.cpp:32:17: error: 'n' was not declared in this scope
     scanf("%d",&n);
                 ^
0_0_37762492_29355.cpp:4:18: error: declaration does not declare anything [-fpermissive]
 #define int long long;
                  ^
0_0_37762492_29355.cpp:33:9: note: in expansion of macro 'int'
     for(int i=1;i<=n;i++)
         ^
0_0_37762492_29355.cpp:33:13: error: 'i' was not declared in this scope
     for(int i=1;i<=n;i++)
             ^
0_0_37762492_29355.cpp:33:21: error: expected ')' before ';' token
     for(int i=1;i<=n;i++)
                     ^
0_0_37762492_29355.cpp:33:22: error: 'i' was not declared in this scope
     for(int i=1;i<=n;i++)
                      ^
0_0_37762492_29355.cpp:4:18: error: declaration does not declare anything [-fpermissive]
 #define int long long;
                  ^
0_0_37762492_29355.cpp:37:9: note: in expansion of macro 'int'
     for(int i=1;i<=n;i++)
         ^
0_0_37762492_29355.cpp:37:21: error: expected ')' before ';' token
     for(int i=1;i<=n;i++)
                     ^
0_0_37762492_29355.cpp:4:18: error: declaration does not declare anything [-fpermissive]
 #define int long long;
                  ^
0_0_37762492_29355.cpp:41:9: note: in expansion of macro 'int'
     for(int i=1;i<=2*n;i++)
         ^
0_0_37762492_29355.cpp:41:23: error: expected ')' before ';' token
     for(int i=1;i<=2*n;i++)
                       ^
0_0_37762492_29355.cpp:4:18: error: declaration does not declare anything [-fpermissive]
 #define int long long;
                  ^
0_0_37762492_29355.cpp:45:9: note: in expansion of macro 'int'
     for(int i=0;i<=2*n;i++)
         ^
0_0_37762492_29355.cpp:45:23: error: expected ')' before ';' token
     for(int i=0;i<=2*n;i++)
                       ^
0_0_37762492_29355.cpp:4:18: error: declaration does not declare anything [-fpermissive]
 #define int long long;
                  ^
0_0_37762492_29355.cpp:49:5: note: in expansion of macro 'int'
     int ans=0;
     ^
0_0_37762492_29355.cpp:49:9: error: 'ans' was not declared in this scope
     int ans=0;
         ^
0_0_37762492_29355.cpp:50:8: error: 'p' was not declared in this scope
     if(p[1]==s[1])
        ^
0_0_37762492_29355.cpp:50:14: error: 's' was not declared in this scope
     if(p[1]==s[1])
              ^
0_0_37762492_29355.cpp:52:27: error: 'dfs' was not declared in this scope
         ans=(ans+dfs(2,1,0))%mod;      
                           ^
0_0_37762492_29355.cpp:52:30: error: 'mod' was not declared in this scope
         ans=(ans+dfs(2,1,0))%mod;      
                              ^
0_0_37762492_29355.cpp:54:8: error: 'q' was not declared in this scope
     if(q[1]==s[1])
        ^
0_0_37762492_29355.cpp:54:14: error: 's' was not declared in this scope
     if(q[1]==s[1])
              ^
0_0_37762492_29355.cpp:56:27: error: 'dfs' was not declared in this scope
         ans=(ans+dfs(1,2,1))%mod;       
                           ^
0_0_37762492_29355.cpp:56:30: error: 'mod' was not declared in this scope
         ans=(ans+dfs(1,2,1))%mod;       
                              ^
0_0_37762492_29355.cpp: At global scope:
0_0_37762492_29355.cpp:4:18: error: declaration does not declare anything [-fpermissive]
 #define int long long;
                  ^
0_0_37762492_29355.cpp:61:1: note: in expansion of macro 'int'
 int main()
 ^
0_0_37762492_29355.cpp: In function 'int main()':
0_0_37762492_29355.cpp:4:18: error: declaration does not declare anything [-fpermissive]
 #define int long long;
                  ^
0_0_37762492_29355.cpp:63:5: note: in expansion of macro 'int'
     int t;
     ^
0_0_37762492_29355.cpp:63:9: error: 't' was not declared in this scope
     int t;
         ^


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 02:38:02, Gzip enabled