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_39459623_17825.cpp: In function 'void work(int, int)':
0_0_39459623_17825.cpp:20:13: error: expected primary-expression before 'long'
   20 | #define ull long long unsigned int
      |             ^~~~
0_0_39459623_17825.cpp:64:22: note: in expansion of macro 'ull'
   64 |     CNT.update(w[u], ull(mv)); SUM.update(w[u], ull(mv) * w[u]); SQR.update(w[u], ull(mv) * w[u] * w[u]);
      |                      ^~~
0_0_39459623_17825.cpp:20:13: error: expected primary-expression before 'long'
   20 | #define ull long long unsigned int
      |             ^~~~
0_0_39459623_17825.cpp:64:49: note: in expansion of macro 'ull'
   64 |     CNT.update(w[u], ull(mv)); SUM.update(w[u], ull(mv) * w[u]); SQR.update(w[u], ull(mv) * w[u] * w[u]);
      |                                                 ^~~
0_0_39459623_17825.cpp:20:13: error: expected primary-expression before 'long'
   20 | #define ull long long unsigned int
      |             ^~~~
0_0_39459623_17825.cpp:64:83: note: in expansion of macro 'ull'
   64 |     CNT.update(w[u], ull(mv)); SUM.update(w[u], ull(mv) * w[u]); SQR.update(w[u], ull(mv) * w[u] * w[u]);
      |                                                                                   ^~~


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-15 01:04:14, Gzip enabled