Home STD Contest Notification Clarification Problems Ranklist Status Print Sign Out

View Compilation Error

1_728_4432_31647.cpp: In constructor 'Bignum::Bignum()':
1_728_4432_31647.cpp:16:42: error: 'memset' was not declared in this scope
  Bignum(){ len = 1; memset(a, 0, sizeof a); }
                                          ^
1_728_4432_31647.cpp: In constructor 'Bignum::Bignum(const char*)':
1_728_4432_31647.cpp:19:25: error: 'memset' was not declared in this scope
   memset(a, 0, sizeof(a));
                         ^
1_728_4432_31647.cpp:20:15: error: 'strlen' was not declared in this scope
   L = strlen(s);
               ^
1_728_4432_31647.cpp: In member function 'void Bignum::tostring(char*)':
1_728_4432_31647.cpp:87:22: error: 'strlen' was not declared in this scope
   int le = strlen(buf);
                      ^
1_728_4432_31647.cpp: In function 'int main()':
1_728_4432_31647.cpp:111:23: error: 'strlen' was not declared in this scope
   int len = strlen(str);
                       ^


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-24 18:57:52, Gzip enabled