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_32867206_18806.cpp:26:9: error: #include expects "FILENAME" or <FILENAME>
 #include
         ^
0_0_32867206_18806.cpp:27:9: error: #include expects "FILENAME" or <FILENAME>
 #include
         ^
0_0_32867206_18806.cpp:28:9: error: #include expects "FILENAME" or <FILENAME>
 #include
         ^
0_0_32867206_18806.cpp:29:9: error: #include expects "FILENAME" or <FILENAME>
 #include
         ^
0_0_32867206_18806.cpp:30:9: error: #include expects "FILENAME" or <FILENAME>
 #include
         ^
0_0_32867206_18806.cpp:32:12: error: '__int64' does not name a type
 #define LL __int64
            ^
0_0_32867206_18806.cpp:35:1: note: in expansion of macro 'LL'
 LL Ext_gcd(LL a,LL b,LL &x,LL &y){
 ^
0_0_32867206_18806.cpp:32:12: error: '__int64' does not name a type
 #define LL __int64
            ^
0_0_32867206_18806.cpp:42:1: note: in expansion of macro 'LL'
 LL Inv(LL a,int m){ //求逆元
 ^
0_0_32867206_18806.cpp:32:12: error: '__int64' does not name a type
 #define LL __int64
            ^
0_0_32867206_18806.cpp:49:1: note: in expansion of macro 'LL'
 LL Cm(LL n, LL m, LL p){ //求组合数
 ^
0_0_32867206_18806.cpp:32:12: error: '__int64' does not name a type
 #define LL __int64
            ^
0_0_32867206_18806.cpp:61:5: note: in expansion of macro 'LL'
     LL x;
     ^
0_0_32867206_18806.cpp:64:11: error: expected ')' before '_x'
     Dt(LL _x,int _c){
           ^
0_0_32867206_18806.cpp:32:12: error: '__int64' does not name a type
 #define LL __int64
            ^
0_0_32867206_18806.cpp:69:1: note: in expansion of macro 'LL'
 LL a[N],fro[N],bac[N];
 ^
0_0_32867206_18806.cpp: In function 'int main()':
0_0_32867206_18806.cpp:73:18: error: 'scanf' was not declared in this scope
     scanf("%d",&T);
                  ^
0_0_32867206_18806.cpp:75:16: error: 'fro' was not declared in this scope
         memset(fro,0,sizeof(fro));
                ^
0_0_32867206_18806.cpp:75:33: error: 'memset' was not declared in this scope
         memset(fro,0,sizeof(fro));
                                 ^
0_0_32867206_18806.cpp:76:16: error: 'bac' was not declared in this scope
         memset(bac,0,sizeof(bac));
                ^
0_0_32867206_18806.cpp:79:15: error: 'len' was not declared in this scope
             ++len;
               ^
0_0_32867206_18806.cpp:80:16: error: 'a' was not declared in this scope
             if(a[i]==a[i+1]){
                ^
0_0_32867206_18806.cpp:81:19: error: 'cnt' was not declared in this scope
                 ++cnt;
                   ^
0_0_32867206_18806.cpp:82:17: error: 'cnm' was not declared in this scope
                 cnm=cnm*len%MOD*Inv(cnt,MOD)%MOD;   //cnm*len要MOD,否则会乘爆long long
                 ^
0_0_32867206_18806.cpp:82:44: error: 'Inv' was not declared in this scope
                 cnm=cnm*len%MOD*Inv(cnt,MOD)%MOD;   //cnm*len要MOD,否则会乘爆long long
                                            ^
0_0_32867206_18806.cpp:83:24: error: 'pre' was not declared in this scope
                 bac[i]=pre*cnm%MOD;
                        ^
0_0_32867206_18806.cpp:86:17: error: 'cnt' was not declared in this scope
                 cnt=1;
                 ^
0_0_32867206_18806.cpp:87:17: error: 'cnm' was not declared in this scope
                 cnm=len;
                 ^
0_0_32867206_18806.cpp:88:17: error: 'pre' was not declared in this scope
                 pre=bac[i+1];
                 ^
0_0_32867206_18806.cpp:32:12: error: '__int64' was not declared in this scope
 #define LL __int64
            ^
0_0_32867206_18806.cpp:93:9: note: in expansion of macro 'LL'
         LL ans=0;
         ^
0_0_32867206_18806.cpp:95:21: error: expected ';' at end of input
         for(int i=0;i//https://blog.csdn.net/whai362/article/details/42706709
                     ^
0_0_32867206_18806.cpp:95:21: error: expected primary-expression at end of input
0_0_32867206_18806.cpp:95:21: error: expected ')' at end of input
0_0_32867206_18806.cpp:95:21: error: expected statement at end of input
0_0_32867206_18806.cpp:95:21: error: expected '}' at end of input
0_0_32867206_18806.cpp:95:21: error: expected '}' at end of input


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-27 02:54:40, Gzip enabled