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_37803066_17133.cpp: In member function 'void segment<T>::poswithdis(const ld&, point<T>&, point<T>&)':
0_0_37803066_17133.cpp:142:9: error: missing template arguments before 'c'
   point c=(a+b)*0.5;
         ^
0_0_37803066_17133.cpp:143:9: error: missing template arguments before 'ca'
   point ca=a-c;
         ^
0_0_37803066_17133.cpp:144:8: error: 'ca' was not declared in this scope
   ld x=ca.len();
        ^
0_0_37803066_17133.cpp:146:9: error: missing template arguments before 'dc1'
   point dc1=ca.rotate90();
         ^
0_0_37803066_17133.cpp:147:9: error: missing template arguments before 'dc2'
   point dc2=ca.rotate270();
         ^
0_0_37803066_17133.cpp:148:3: error: 'dc1' was not declared in this scope
   dc1=dc1/dc1.len()*s;
   ^
0_0_37803066_17133.cpp:149:3: error: 'dc2' was not declared in this scope
   dc2=dc2/dc2.len()*s;
   ^
0_0_37803066_17133.cpp:150:6: error: 'c' was not declared in this scope
   d1=c+dc1;
      ^


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-17 10:30:00, Gzip enabled