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_20767656_31872.cpp: In constructor 'node::node()':
0_0_20767656_31872.cpp:13:38: error: 'memset' was not declared in this scope
 #define mst(a,b) memset(a,b,sizeof(a))
                                      ^
0_0_20767656_31872.cpp:40:16: note: in expansion of macro 'mst'
  node(){now="";mst(ta,0);mst(tb,0);val=0;};
                ^
0_0_20767656_31872.cpp: In constructor 'node::node(std::string)':
0_0_20767656_31872.cpp:13:38: error: 'memset' was not declared in this scope
 #define mst(a,b) memset(a,b,sizeof(a))
                                      ^
0_0_20767656_31872.cpp:41:24: note: in expansion of macro 'mst'
  node(string s):now(s){mst(ta,0);mst(tb,0);val=cal(now);}//pt(now);pt(val);pt(occ[now]);}
                        ^


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