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_37885555_13489.cpp: In member function 'Point<T>::P Point<T>::unit() const':
0_0_37885555_13489.cpp:71:7: error: 'is_integral_v' was not declared in this scope
   if (is_integral_v<T>) return *this; // for long long
       ^
0_0_37885555_13489.cpp:71:22: error: expected primary-expression before '>' token
   if (is_integral_v<T>) return *this; // for long long
                      ^
0_0_37885555_13489.cpp:71:23: error: expected primary-expression before ')' token
   if (is_integral_v<T>) return *this; // for long long
                       ^
0_0_37885555_13489.cpp: In member function 'T Point<T>::project_len(Point<T>::P, Point<T>::P) const':
0_0_37885555_13489.cpp:101:7: error: 'is_integral_v' was not declared in this scope
   if (is_integral_v<T>) return (*this - a).dot(b - a);
       ^
0_0_37885555_13489.cpp:101:22: error: expected primary-expression before '>' token
   if (is_integral_v<T>) return (*this - a).dot(b - a);
                      ^
0_0_37885555_13489.cpp:101:23: error: expected primary-expression before ')' token
   if (is_integral_v<T>) return (*this - a).dot(b - a);
                       ^
0_0_37885555_13489.cpp: In member function 'T Point<T>::dis_to_line(Point<T>::P, Point<T>::P) const':
0_0_37885555_13489.cpp:108:7: error: 'is_integral_v' was not declared in this scope
   if (is_integral_v<T>) return (*this - a).cross(b - a);
       ^
0_0_37885555_13489.cpp:108:22: error: expected primary-expression before '>' token
   if (is_integral_v<T>) return (*this - a).cross(b - a);
                      ^
0_0_37885555_13489.cpp:108:23: error: expected primary-expression before ')' token
   if (is_integral_v<T>) return (*this - a).cross(b - a);
                       ^


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 00:26:27, Gzip enabled