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_16089363_22032.cpp: In function 'void prepare()':
0_0_16089363_22032.cpp:32:22: error: 'strcat' was not declared in this scope
         strcat(s, " ");
                      ^
0_0_16089363_22032.cpp:38:39: error: 'strtok' was not declared in this scope
     for (char* tok = strtok(s, "{}=; "); tok != NULL; tok = strtok(NULL, "{}=; ")) {
                                       ^
0_0_16089363_22032.cpp:39:24: error: 'strcpy' was not declared in this scope
         strcpy(tmp, tok);
                        ^
0_0_16089363_22032.cpp:41:40: error: 'strcmp' was not declared in this scope
             if (!strcmp(tmp, "required")) type[++n] = 1;
                                        ^
0_0_16089363_22032.cpp: In function 'bool solve()':
0_0_16089363_22032.cpp:84:35: error: 'strtok' was not declared in this scope
     for (char *tok = strtok(t, " "); tok != NULL; tok = strtok(NULL, " ")) {
                                   ^
0_0_16089363_22032.cpp:85:24: error: 'strcpy' was not declared in this scope
         strcpy(tmp, tok);
                        ^


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-01-12 10:50:46, Gzip enabled