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_38893085_18781.cpp:484:47: error: 'int64_t' is not a type
  484 |     static bool map(uint32_t z, node_type *x, int64_t len) {
      |                                               ^~~~~~~
0_0_38893085_18781.cpp:489:29: error: 'int64_t' is not a type
  489 |     void add_by(uint32_t z, int64_t len) {
      |                             ^~~~~~~
0_0_38893085_18781.cpp:501:14: error: 'int64_t' is not a type
  501 |     void set(int64_t val) { m_sum = m_max1 = val, m_max2 = 0, m_max_cnt = 1; }
      |              ^~~~~~~
0_0_38893085_18781.cpp:518:57: error: 'int64_t' is not a type
  518 |     void pushdown(node_type *lchild, node_type *rchild, int64_t len) {
      |                                                         ^~~~~~~
0_0_38893085_18781.cpp: In member function 'void Node::add_by(uint32_t, int)':
0_0_38893085_18781.cpp:493:29: error: expression cannot be used as a function
  493 |             m_sum -= int64_t(m_max1 - val) * m_max_cnt;
      |                      ~~~~~~~^~~~~~~~~~~~~~


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-12-03 01:41:41, Gzip enabled