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");
^
|