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_35715741_17676.cpp:15:9: error: 'LL' does not name a type
 int l,r;LL now;
         ^
0_0_35715741_17676.cpp: In function 'void upl(long long int, long long int)':
0_0_35715741_17676.cpp:62:13: error: 'now' was not declared in this scope
             now+=1ll*(p-pp+1)*v*f;
             ^
0_0_35715741_17676.cpp:65:13: error: 'now' was not declared in this scope
             now+=1ll*(r-pp+1)*v*f;
             ^
0_0_35715741_17676.cpp: In function 'void upr(long long int, long long int)':
0_0_35715741_17676.cpp:77:13: error: 'now' was not declared in this scope
             now+=1ll*(pp-p+1)*v*f;
             ^
0_0_35715741_17676.cpp:80:13: error: 'now' was not declared in this scope
             now+=1ll*(pp-l+1)*v*f;
             ^
0_0_35715741_17676.cpp: At global scope:
0_0_35715741_17676.cpp:87:1: error: 'LL' does not name a type
 LL ans[10009];
 ^
0_0_35715741_17676.cpp:88:10: error: '::main' must return 'int'
 int main(){
          ^
0_0_35715741_17676.cpp: In function 'int main()':
0_0_35715741_17676.cpp:4:13: error: expected primary-expression before 'long'
 #define int long long
             ^
0_0_35715741_17676.cpp:93:13: note: in expansion of macro 'int'
         Len=int(sqrt(n)+0.5);
             ^
0_0_35715741_17676.cpp:103:9: error: 'now' was not declared in this scope
         now=0;
         ^
0_0_35715741_17676.cpp:109:13: error: 'ans' was not declared in this scope
             ans[e[i].id]=now;
             ^
0_0_35715741_17676.cpp:112:29: error: 'ans' was not declared in this scope
             printf("%lld\n",ans[i]);
                             ^


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-22 16:53:04, Gzip enabled