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_20532676_21438.cpp: In function 'Complex omega(int, int, bool)':
0_0_20532676_21438.cpp:12:13: error: lvalue required as left operand of assignment
  ret.real() = cos(2.0 * pi * k / n);
             ^
0_0_20532676_21438.cpp:13:13: error: lvalue required as left operand of assignment
  ret.imag() = sin(2.0 * pi * k / n);
             ^
0_0_20532676_21438.cpp: In function 'bool solve()':
0_0_20532676_21438.cpp:50:23: error: lvalue required as left operand of assignment
   a[i * M + j].real() = p[i][j];
                       ^
0_0_20532676_21438.cpp:55:44: error: lvalue required as left operand of assignment
    b[(i + bound) * M + (j + bound)].real() = 1.0 / (1.0 + sqrt(i * i + j * j));
                                            ^
0_0_20532676_21438.cpp:63:51: error: lvalue required as left operand of assignment
  for (int i = 0;i < (1 << level);i++) a[i].real() /= (1 << level);
                                                   ^


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-10-06 23:05:39, Gzip enabled