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_39565859_26857.cpp: In function 'void add(long long int, long long int, long long int, long long int, long long int)':
0_0_39565859_26857.cpp:28:10: error: invalid types 'long long int[long long int]' for array subscript
   28 |         x[++sum]=node({x,y,c,val});
      |          ^
0_0_39565859_26857.cpp:29:10: error: invalid types 'long long int[long long int]' for array subscript
   29 |         x[++sum]=node({r+1,y,c,-val});
      |          ^
0_0_39565859_26857.cpp: In member function 'void ST::Build(long long int, long long int, long long int)':
0_0_39565859_26857.cpp:41:22: error: 'struct ST::Node' has no member named 'minn'
   41 |                 c[q].minn=-1e15,c[q].val=0;
      |                      ^~~~
0_0_39565859_26857.cpp: In member function 'void ST::add(long long int, long long int, long long int)':
0_0_39565859_26857.cpp:53:22: error: 'struct ST::Node' has no member named 'minn'
   53 |                 c[q].minn+=
      |                      ^~~~
0_0_39565859_26857.cpp:54:9: error: expected primary-expression before '}' token
   54 |         }
      |         ^
0_0_39565859_26857.cpp: In function 'int main()':
0_0_39565859_26857.cpp:87:36: error: too few arguments to function 'void add(long long int, long long int, long long int, long long int, long long int)'
   87 |                                 add(1,dfn[u],dfn[v],R[v]);
      |                                 ~~~^~~~~~~~~~~~~~~~~~~~~~
0_0_39565859_26857.cpp:26:6: note: declared here
   26 | void add(int x,int y,int r,int c,int val){
      |      ^~~
0_0_39565859_26857.cpp:88:36: error: too few arguments to function 'void add(long long int, long long int, long long int, long long int, long long int)'
   88 |                                 add(R[u]+1,n,dfn[v],R[v]);
      |                                 ~~~^~~~~~~~~~~~~~~~~~~~~~
0_0_39565859_26857.cpp:26:6: note: declared here
   26 | void add(int x,int y,int r,int c,int val){
      |      ^~~
0_0_39565859_26857.cpp:91:36: error: too few arguments to function 'void add(long long int, long long int, long long int, long long int, long long int)'
   91 |                                 add(dfn[u],R[u],1,dfn[v]);
      |                                 ~~~^~~~~~~~~~~~~~~~~~~~~~
0_0_39565859_26857.cpp:26:6: note: declared here
   26 | void add(int x,int y,int r,int c,int val){
      |      ^~~
0_0_39565859_26857.cpp:92:36: error: too few arguments to function 'void add(long long int, long long int, long long int, long long int, long long int)'
   92 |                                 add(dfn[u],R[u],R[v]+1,n);
      |                                 ~~~^~~~~~~~~~~~~~~~~~~~~~
0_0_39565859_26857.cpp:26:6: note: declared here
   26 | void add(int x,int y,int r,int c,int val){
      |      ^~~
0_0_39565859_26857.cpp:103:45: error: 'T' was not declared in this scope
  103 |                                 ans=max(ans,T.c[1].maxn);
      |                                             ^


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