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_21449647_2433.cpp:3:18: error: declaration does not declare anything [-fpermissive]
 #define int long long ;
                  ^
0_0_21449647_2433.cpp:4:1: note: in expansion of macro 'int'
 int T,n,k,u=0,tu[500001],qian[500001],hou[500001],q,qq[101],ww[101];
 ^
0_0_21449647_2433.cpp:4:5: error: 'T' does not name a type
 int T,n,k,u=0,tu[500001],qian[500001],hou[500001],q,qq[101],ww[101];
     ^
0_0_21449647_2433.cpp:3:23: error: expected ')' before ';' token
 #define int long long ;
                       ^
0_0_21449647_2433.cpp:5:14: note: in expansion of macro 'int'
 void shanchu(int x)
              ^
0_0_21449647_2433.cpp:5:18: error: 'x' does not name a type
 void shanchu(int x)
                  ^
0_0_21449647_2433.cpp:3:18: error: declaration does not declare anything [-fpermissive]
 #define int long long ;
                  ^
0_0_21449647_2433.cpp:10:1: note: in expansion of macro 'int'
 int jiejue(int x)
 ^
0_0_21449647_2433.cpp:3:23: error: expected ')' before ';' token
 #define int long long ;
                       ^
0_0_21449647_2433.cpp:10:12: note: in expansion of macro 'int'
 int jiejue(int x)
            ^
0_0_21449647_2433.cpp:3:23: error: expected constructor, destructor, or type conversion before ';' token
 #define int long long ;
                       ^
0_0_21449647_2433.cpp:10:12: note: in expansion of macro 'int'
 int jiejue(int x)
            ^
0_0_21449647_2433.cpp:10:16: error: 'x' does not name a type
 int jiejue(int x)
                ^
0_0_21449647_2433.cpp:3:18: error: declaration does not declare anything [-fpermissive]
 #define int long long ;
                  ^
0_0_21449647_2433.cpp:46:1: note: in expansion of macro 'int'
 int main()
 ^
0_0_21449647_2433.cpp: In function 'int main()':
0_0_21449647_2433.cpp:48:10: error: 'T' was not declared in this scope
     cin>>T;
          ^
0_0_21449647_2433.cpp:51:16: error: 'tu' was not declared in this scope
         memset(tu,0,sizeof(tu));
                ^
0_0_21449647_2433.cpp:52:16: error: 'qian' was not declared in this scope
         memset(qian,0,sizeof(qian));
                ^
0_0_21449647_2433.cpp:53:16: error: 'hou' was not declared in this scope
         memset(hou,0,sizeof(hou));
                ^
0_0_21449647_2433.cpp:54:14: error: 'n' was not declared in this scope
         cin>>n>>k;
              ^
0_0_21449647_2433.cpp:54:17: error: 'k' was not declared in this scope
         cin>>n>>k;
                 ^
0_0_21449647_2433.cpp:3:18: error: declaration does not declare anything [-fpermissive]
 #define int long long ;
                  ^
0_0_21449647_2433.cpp:55:13: note: in expansion of macro 'int'
         for(int a=1;a<=n;a++)
             ^
0_0_21449647_2433.cpp:55:17: error: 'a' was not declared in this scope
         for(int a=1;a<=n;a++)
                 ^
0_0_21449647_2433.cpp:55:25: error: expected ')' before ';' token
         for(int a=1;a<=n;a++)
                         ^
0_0_21449647_2433.cpp:55:26: error: 'a' was not declared in this scope
         for(int a=1;a<=n;a++)
                          ^
0_0_21449647_2433.cpp:3:18: error: declaration does not declare anything [-fpermissive]
 #define int long long ;
                  ^
0_0_21449647_2433.cpp:66:9: note: in expansion of macro 'int'
         int dan=0;
         ^
0_0_21449647_2433.cpp:66:13: error: 'dan' was not declared in this scope
         int dan=0;
             ^
0_0_21449647_2433.cpp:3:18: error: declaration does not declare anything [-fpermissive]
 #define int long long ;
                  ^
0_0_21449647_2433.cpp:67:13: note: in expansion of macro 'int'
         for(int a=1;a<=n;a++)
             ^
0_0_21449647_2433.cpp:67:25: error: expected ')' before ';' token
         for(int a=1;a<=n;a++)
                         ^


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