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_38795976_22140.cpp: In function 'int main()':
0_0_38795976_22140.cpp:30:19: error: '::strcat' has not been declared
   30 |                 ::strcat(input,"#");
      |                   ^~~~~~
0_0_38795976_22140.cpp:4:1: note: 'strcat' is defined in header '<cstring>'; did you forget to '#include <cstring>'?
    3 | #include <iomanip>
  +++ |+#include <cstring>
    4 | using namespace std;
0_0_38795976_22140.cpp:31:33: error: '::strlen' has not been declared
   31 |                 for(int i=0;i<::strlen(input);i++)
      |                                 ^~~~~~
0_0_38795976_22140.cpp:31:33: note: 'strlen' is defined in header '<cstring>'; did you forget to '#include <cstring>'?
0_0_38795976_22140.cpp:56:51: error: '::strcat' has not been declared
   56 |                                                 ::strcat(n_exp.exp,expA);
      |                                                   ^~~~~~
0_0_38795976_22140.cpp:56:51: note: 'strcat' is defined in header '<cstring>'; did you forget to '#include <cstring>'?
0_0_38795976_22140.cpp:57:51: error: '::strcat' has not been declared
   57 |                                                 ::strcat(n_exp.exp,topOp=='+'?"+":"-");
      |                                                   ^~~~~~
0_0_38795976_22140.cpp:57:51: note: 'strcat' is defined in header '<cstring>'; did you forget to '#include <cstring>'?
0_0_38795976_22140.cpp:60:59: error: '::strcat' has not been declared
   60 |                                                         ::strcat(n_exp.exp,"(");
      |                                                           ^~~~~~
0_0_38795976_22140.cpp:60:59: note: 'strcat' is defined in header '<cstring>'; did you forget to '#include <cstring>'?
0_0_38795976_22140.cpp:61:59: error: '::strcat' has not been declared
   61 |                                                         ::strcat(n_exp.exp,expB);
      |                                                           ^~~~~~
0_0_38795976_22140.cpp:61:59: note: 'strcat' is defined in header '<cstring>'; did you forget to '#include <cstring>'?
0_0_38795976_22140.cpp:62:59: error: '::strcat' has not been declared
   62 |                                                         ::strcat(n_exp.exp,")");
      |                                                           ^~~~~~
0_0_38795976_22140.cpp:62:59: note: 'strcat' is defined in header '<cstring>'; did you forget to '#include <cstring>'?
0_0_38795976_22140.cpp:65:59: error: '::strcat' has not been declared
   65 |                                                         ::strcat(n_exp.exp,expB);
      |                                                           ^~~~~~
0_0_38795976_22140.cpp:65:59: note: 'strcat' is defined in header '<cstring>'; did you forget to '#include <cstring>'?
0_0_38795976_22140.cpp:73:59: error: '::strcat' has not been declared
   73 |                                                         ::strcat(n_exp.exp,"(");
      |                                                           ^~~~~~
0_0_38795976_22140.cpp:73:59: note: 'strcat' is defined in header '<cstring>'; did you forget to '#include <cstring>'?
0_0_38795976_22140.cpp:74:59: error: '::strcat' has not been declared
   74 |                                                         ::strcat(n_exp.exp,expA);
      |                                                           ^~~~~~
0_0_38795976_22140.cpp:74:59: note: 'strcat' is defined in header '<cstring>'; did you forget to '#include <cstring>'?
0_0_38795976_22140.cpp:75:59: error: '::strcat' has not been declared
   75 |                                                         ::strcat(n_exp.exp,")");
      |                                                           ^~~~~~
0_0_38795976_22140.cpp:75:59: note: 'strcat' is defined in header '<cstring>'; did you forget to '#include <cstring>'?
0_0_38795976_22140.cpp:78:59: error: '::strcat' has not been declared
   78 |                                                         ::strcat(n_exp.exp,expA);
      |                                                           ^~~~~~
0_0_38795976_22140.cpp:78:59: note: 'strcat' is defined in header '<cstring>'; did you forget to '#include <cstring>'?
0_0_38795976_22140.cpp:79:51: error: '::strcat' has not been declared
   79 |                                                 ::strcat(n_exp.exp,topOp=='*'?"*":"/");
      |                                                   ^~~~~~
0_0_38795976_22140.cpp:79:51: note: 'strcat' is defined in header '<cstring>'; did you forget to '#include <cstring>'?
0_0_38795976_22140.cpp:82:59: error: '::strcat' has not been declared
   82 |                                                         ::strcat(n_exp.exp,"(");
      |                                                           ^~~~~~
0_0_38795976_22140.cpp:82:59: note: 'strcat' is defined in header '<cstring>'; did you forget to '#include <cstring>'?
0_0_38795976_22140.cpp:83:59: error: '::strcat' has not been declared
   83 |                                                         ::strcat(n_exp.exp,expB);
      |                                                           ^~~~~~
0_0_38795976_22140.cpp:83:59: note: 'strcat' is defined in header '<cstring>'; did you forget to '#include <cstring>'?
0_0_38795976_22140.cpp:84:59: error: '::strcat' has not been declared
   84 |                                                         ::strcat(n_exp.exp,")");
      |                                                           ^~~~~~
0_0_38795976_22140.cpp:84:59: note: 'strcat' is defined in header '<cstring>'; did you forget to '#include <cstring>'?
0_0_38795976_22140.cpp:87:59: error: '::strcat' has not been declared
   87 |                                                         ::strcat(n_exp.exp,expB);
      |                                                           ^~~~~~
0_0_38795976_22140.cpp:87:59: note: 'strcat' is defined in header '<cstring>'; did you forget to '#include <cstring>'?
0_0_38795976_22140.cpp:98:167: error: '::strlen' has not been declared
   98 |                                 while(!(input[i] == '#'||input[i] == '+'||input[i] == '-'||input[i] == '*'||input[i] == '/'||input[i] == '('||input[i] == ')') && i<::strlen(input))
      |                                                                                                                                                                       ^~~~~~
0_0_38795976_22140.cpp:98:167: note: 'strlen' is defined in header '<cstring>'; did you forget to '#include <cstring>'?


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 16:28:35, Gzip enabled