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_37876148_10379.cpp: In function 'void Adder(int, int)':
0_0_37876148_10379.cpp:14:12: error: 'length' was not declared in this scope
     tong[++length]=(reads){x,y};
            ^
0_0_37876148_10379.cpp: In function 'int main()':
0_0_37876148_10379.cpp:46:12: error: 'read' was not declared in this scope
     T=read();
            ^
0_0_37876148_10379.cpp:49:11: error: 'length' was not declared in this scope
  n=read(),length=leng=cnt=0;
           ^
0_0_37876148_10379.cpp:62:3: error: 'maxn' was not declared in this scope
   maxn=(i*(i+1))>>1;
   ^
0_0_37876148_10379.cpp:79:6: error: 'maxn' was not declared in this scope
      maxn=((n-1)*n)>>1;
      ^
0_0_37876148_10379.cpp:89:18: error: expected ')' before ';' token
       if (int i=x;i<=n-1;++i)
                  ^
0_0_37876148_10379.cpp:89:19: error: 'i' was not declared in this scope
       if (int i=x;i<=n-1;++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-26 22:03:25, Gzip enabled