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_39899932_32071.cpp:97:10: error: macro "CLR" requires 2 arguments, but only 1 given
   97 |   CLR(ans), CLR(f), CLR(res), CLR(sum), CLR(dis), CLR(a);
      |          ^
0_0_39899932_32071.cpp:14: note: macro "CLR" defined here
   14 | #define CLR(a, v) memset(a, v, sizeof(a))
      | 
0_0_39899932_32071.cpp:97:18: error: macro "CLR" requires 2 arguments, but only 1 given
   97 |   CLR(ans), CLR(f), CLR(res), CLR(sum), CLR(dis), CLR(a);
      |                  ^
0_0_39899932_32071.cpp:14: note: macro "CLR" defined here
   14 | #define CLR(a, v) memset(a, v, sizeof(a))
      | 
0_0_39899932_32071.cpp:97:28: error: macro "CLR" requires 2 arguments, but only 1 given
   97 |   CLR(ans), CLR(f), CLR(res), CLR(sum), CLR(dis), CLR(a);
      |                            ^
0_0_39899932_32071.cpp:14: note: macro "CLR" defined here
   14 | #define CLR(a, v) memset(a, v, sizeof(a))
      | 
0_0_39899932_32071.cpp:97:38: error: macro "CLR" requires 2 arguments, but only 1 given
   97 |   CLR(ans), CLR(f), CLR(res), CLR(sum), CLR(dis), CLR(a);
      |                                      ^
0_0_39899932_32071.cpp:14: note: macro "CLR" defined here
   14 | #define CLR(a, v) memset(a, v, sizeof(a))
      | 
0_0_39899932_32071.cpp:97:48: error: macro "CLR" requires 2 arguments, but only 1 given
   97 |   CLR(ans), CLR(f), CLR(res), CLR(sum), CLR(dis), CLR(a);
      |                                                ^
0_0_39899932_32071.cpp:14: note: macro "CLR" defined here
   14 | #define CLR(a, v) memset(a, v, sizeof(a))
      | 
0_0_39899932_32071.cpp:97:56: error: macro "CLR" requires 2 arguments, but only 1 given
   97 |   CLR(ans), CLR(f), CLR(res), CLR(sum), CLR(dis), CLR(a);
      |                                                        ^
0_0_39899932_32071.cpp:14: note: macro "CLR" defined here
   14 | #define CLR(a, v) memset(a, v, sizeof(a))
      | 
0_0_39899932_32071.cpp: In function 'void Main()':
0_0_39899932_32071.cpp:97:3: error: 'CLR' was not declared in this scope
   97 |   CLR(ans), CLR(f), CLR(res), CLR(sum), CLR(dis), CLR(a);
      |   ^~~


Hangzhou Dianzi University Online Judge 3.0
Copyright © 2005-2025 HDU ACM Team. All Rights Reserved.
Designer & Developer : Wang Rongtao LinLe GaoJie GanLu
Total 0.001000(s) query 1, Server time : 2025-04-15 18:05:39, Gzip enabled