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_17882018_1739.cpp: In function 'int main()':
0_0_17882018_1739.cpp:88:17: error: 'll' was not declared in this scope
                 ll sum1=0,sum2=0,sum3=0;
                 ^
0_0_17882018_1739.cpp:91:25: error: 'sum1' was not declared in this scope
                         sum1+=shun[0][i];
                         ^
0_0_17882018_1739.cpp:92:25: error: 'sum2' was not declared in this scope
                         sum2+=ni[0][i];
                         ^
0_0_17882018_1739.cpp:93:25: error: 'sum3' was not declared in this scope
                         sum3+=(shun[0][i]+shun[1][i])*(ni[0][i]+ni[1][i]);
                         ^
0_0_17882018_1739.cpp:95:20: error: expected ';' before 'ans'
                 ll ans=sum1*sum2-sum3;
                    ^
0_0_17882018_1739.cpp:96:34: error: 'ans' was not declared in this scope
                 printf("%I64d\n",ans);
                                  ^


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.001000(s) query 1, Server time : 2025-01-10 17:56:09, Gzip enabled