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_36070430_15379.cpp: In function 'int main()':
0_0_36070430_15379.cpp:57:11: error: no match for 'operator=' (operand types are 'E' and '<brace-enclosed initializer list>')
    arr[i] = {a, b, 0, false};
           ^
0_0_36070430_15379.cpp:57:11: note: candidates are:
0_0_36070430_15379.cpp:18:8: note: E& E::operator=(const E&)
 struct E
        ^
0_0_36070430_15379.cpp:18:8: note:   no known conversion for argument 1 from '<brace-enclosed initializer list>' to 'const E&'
0_0_36070430_15379.cpp:18:8: note: E& E::operator=(E&&)
0_0_36070430_15379.cpp:18:8: note:   no known conversion for argument 1 from '<brace-enclosed initializer list>' to 'E&&'
0_0_36070430_15379.cpp:64:15: error: no match for 'operator=' (operand types are 'E' and '<brace-enclosed initializer list>')
    arr[n + i] = {x, 0, i, true};
               ^
0_0_36070430_15379.cpp:64:15: note: candidates are:
0_0_36070430_15379.cpp:18:8: note: E& E::operator=(const E&)
 struct E
        ^
0_0_36070430_15379.cpp:18:8: note:   no known conversion for argument 1 from '<brace-enclosed initializer list>' to 'const E&'
0_0_36070430_15379.cpp:18:8: note: E& E::operator=(E&&)
0_0_36070430_15379.cpp:18:8: note:   no known conversion for argument 1 from '<brace-enclosed initializer list>' to 'E&&'
0_0_36070430_15379.cpp:82:62: error: 'M_PI' was not declared in this scope
     f[arr[i].id] = get ({arr[i].x, arr[i].y}, q[tt]) * 180 / M_PI;
                                                              ^
0_0_36070430_15379.cpp:102:61: error: 'M_PI' was not declared in this scope
     s[arr[i].id] = get ({arr[i].x, arr[i].y}, q[tt])* 180 / M_PI;
                                                             ^


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 08:24:35, Gzip enabled