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_33505586_31916.cpp: In function 'int main()':
0_0_33505586_31916.cpp:4:16: error: 'scanf' was not declared in this scope
     scanf("%*d");
                ^
0_0_33505586_31916.cpp:7:17: error: 'getchar' was not declared in this scope
         getchar();
                 ^
0_0_33505586_31916.cpp:10:37: error: 'sscanf' was not declared in this scope
         if (sscanf(s, "%d%n", &d, &p) != 1) {
                                     ^
0_0_33505586_31916.cpp:11:22: error: 'puts' was not declared in this scope
             puts("no");
                      ^
0_0_33505586_31916.cpp:17:27: error: 'puts' was not declared in this scope
                 puts("yes");
                           ^
0_0_33505586_31916.cpp:21:26: error: 'puts' was not declared in this scope
                 puts("no");
                          ^
0_0_33505586_31916.cpp:1:51: error: 'strchr' was not declared in this scope
 #define ANY(a) if (*ptr == '\0' || !strchr(a, *ptr)) { puts("no"); goto done; } ++ptr;
                                                   ^
0_0_33505586_31916.cpp:24:13: note: in expansion of macro 'ANY'
             ANY("#");
             ^
0_0_33505586_31916.cpp:1:65: error: 'puts' was not declared in this scope
 #define ANY(a) if (*ptr == '\0' || !strchr(a, *ptr)) { puts("no"); goto done; } ++ptr;
                                                                 ^
0_0_33505586_31916.cpp:24:13: note: in expansion of macro 'ANY'
             ANY("#");
             ^
0_0_33505586_31916.cpp:25:41: error: 'strcpy' was not declared in this scope
             strcpy(t, "0123456789abcdef");
                                         ^
0_0_33505586_31916.cpp:29:42: error: 'strchr' was not declared in this scope
                 char *pt = strchr(t, *ptr);
                                          ^
0_0_33505586_31916.cpp:33:30: error: 'puts' was not declared in this scope
                     puts("no");
                              ^
0_0_33505586_31916.cpp:1:51: error: 'strchr' was not declared in this scope
 #define ANY(a) if (*ptr == '\0' || !strchr(a, *ptr)) { puts("no"); goto done; } ++ptr;
                                                   ^
0_0_33505586_31916.cpp:39:13: note: in expansion of macro 'ANY'
             ANY("#");
             ^
0_0_33505586_31916.cpp:1:65: error: 'puts' was not declared in this scope
 #define ANY(a) if (*ptr == '\0' || !strchr(a, *ptr)) { puts("no"); goto done; } ++ptr;
                                                                 ^
0_0_33505586_31916.cpp:39:13: note: in expansion of macro 'ANY'
             ANY("#");
             ^
0_0_33505586_31916.cpp:43:23: error: 'puts' was not declared in this scope
             puts("yes");
                       ^
0_0_33505586_31916.cpp:45:22: error: 'puts' was not declared in this scope
             puts("no");
                      ^


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-28 15:03:49, Gzip enabled