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_33697602_28240.cpp: In function 'int main()':
0_0_33697602_28240.cpp:24:9: error: 'ans' was not declared in this scope
         ans=0;
         ^
0_0_33697602_28240.cpp:42:25: error: 'sum' was not declared in this scope
              num=(num+j*sum[n]-sumx[j-1]-sumy[j-1]+mod)%mod*quick(j,mod-2)%mod;   
                         ^
0_0_33697602_28240.cpp:45:40: error: 'w' was not declared in this scope
             printf("%lld\n",(ll)(num)*(w,mod-2)%mod);
                                        ^
0_0_33697602_28240.cpp: At global scope:
0_0_33697602_28240.cpp:47:5: error: expected unqualified-id before 'return'
     return 0;
     ^
0_0_33697602_28240.cpp:48:1: error: expected declaration before '}' token
 } 
 ^


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-30 03:52:38, Gzip enabled