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_29268683_20451.cpp:3:12: error: '_int128' does not name a type
 #define LL _int128
            ^
0_0_29268683_20451.cpp:6:7: note: in expansion of macro 'LL'
 const LL MOD=1e9+10;
       ^
0_0_29268683_20451.cpp:3:12: error: '_int128' does not name a type
 #define LL _int128
            ^
0_0_29268683_20451.cpp:8:1: note: in expansion of macro 'LL'
 LL a[N];
 ^
0_0_29268683_20451.cpp:3:12: error: '_int128' does not name a type
 #define LL _int128
            ^
0_0_29268683_20451.cpp:9:1: note: in expansion of macro 'LL'
 LL P[N];
 ^
0_0_29268683_20451.cpp:3:12: error: '_int128' does not name a type
 #define LL _int128
            ^
0_0_29268683_20451.cpp:10:1: note: in expansion of macro 'LL'
 LL qsc(LL a,LL b,LL p){
 ^
0_0_29268683_20451.cpp: In function 'int main()':
0_0_29268683_20451.cpp:3:12: error: '_int128' was not declared in this scope
 #define LL _int128
            ^
0_0_29268683_20451.cpp:24:5: note: in expansion of macro 'LL'
     LL k,m,n,p;
     ^
0_0_29268683_20451.cpp:25:10: error: 'k' was not declared in this scope
     cin>>k>>m>>n>>p;
          ^
0_0_29268683_20451.cpp:25:13: error: 'm' was not declared in this scope
     cin>>k>>m>>n>>p;
             ^
0_0_29268683_20451.cpp:25:16: error: 'n' was not declared in this scope
     cin>>k>>m>>n>>p;
                ^
0_0_29268683_20451.cpp:25:19: error: 'p' was not declared in this scope
     cin>>k>>m>>n>>p;
                   ^
0_0_29268683_20451.cpp:27:14: error: 'a' was not declared in this scope
         cin>>a[i]; 
              ^
0_0_29268683_20451.cpp:29:10: error: 'a' was not declared in this scope
     sort(a+1,a+1+k);
          ^
0_0_29268683_20451.cpp:30:5: error: 'P' was not declared in this scope
     P[m]=1;
     ^
0_0_29268683_20451.cpp:35:8: error: expected ';' before 'cnt'
     LL cnt=n,pt=1;
        ^
0_0_29268683_20451.cpp:36:8: error: expected ';' before 'ans'
     LL ans=0;
        ^
0_0_29268683_20451.cpp:39:23: error: 'cnt' was not declared in this scope
         for(int j=0;j<cnt;j++){
                       ^
0_0_29268683_20451.cpp:40:16: error: expected ';' before 'tmp'
             LL tmp=(P[i]-1)*(a[i])%p;
                ^
0_0_29268683_20451.cpp:41:13: error: 'ans' was not declared in this scope
             ans+=tmp;
             ^
0_0_29268683_20451.cpp:41:18: error: 'tmp' was not declared in this scope
             ans+=tmp;
                  ^
0_0_29268683_20451.cpp:44:9: error: 'cnt' was not declared in this scope
         cnt*=n;
         ^
0_0_29268683_20451.cpp:47:11: error: 'ans' was not declared in this scope
     cout<<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-18 06:40:06, Gzip enabled