评测信息
运行ID: 7414
src.c:11:1: error: expected identifier or '(' before numeric constant
2)
^
In file included from src.c:12:0:
E:/OpenJudger2/Compilers/mingw/include/stdio.h:191:65: error: unknown type name 'size_t'
_CRTIMP int __cdecl __MINGW_NOTHROW setvbuf (FILE*, char*, int, size_t);
^
E:/OpenJudger2/Compilers/mingw/include/stdio.h:207:54: error: unknown type name 'size_t'
extern int __mingw_stdio_redirect__(snprintf)(char*, size_t, const char*, ...);
^
E:/OpenJudger2/Compilers/mingw/include/stdio.h:211:55: error: unknown type name 'size_t'
extern int __mingw_stdio_redirect__(vsnprintf)(char*, size_t, const char*, __VALIST);
^
E:/OpenJudger2/Compilers/mingw/include/stdio.h:319:55: error: unknown type name 'size_t'
_CRTIMP int __cdecl __MINGW_NOTHROW _snprintf (char*, size_t, const char*, ...);
^
E:/OpenJudger2/Compilers/mingw/include/stdio.h:320:56: error: unknown type name 'size_t'
_CRTIMP int __cdecl __MINGW_NOTHROW _vsnprintf (char*, size_t, const char*, __VALIST);
^
E:/OpenJudger2/Compilers/mingw/include/stdio.h:331:47: error: unknown type name 'size_t'
int __cdecl __MINGW_NOTHROW snprintf (char *, size_t, const char *, ...);
^
E:/OpenJudger2/Compilers/mingw/include/stdio.h:332:48: error: unknown type name 'size_t'
int __cdecl __MINGW_NOTHROW vsnprintf (char *, size_t, const char *, __VALIST);
^
E:/OpenJudger2/Compilers/mingw/include/stdio.h:412:40: error: expected ',' or ';' before 'fread'
_CRTIMP size_t __cdecl __MINGW_NOTHROW fread (void*, size_t, size_t, FILE*);
^
E:/OpenJudger2/Compilers/mingw/include/stdio.h:413:40: error: expected ',' or ';' before 'fwrite'
_CRTIMP size_t __cdecl __MINGW_NOTHROW fwrite (const void*, size_t, size_t, FILE*);
^
In file included from src.c:12:0:
E:/OpenJudger2/Compilers/mingw/include/stdio.h:565:59: error: expected declaration specifiers or '...' before 'size_t'
_CRTIMP int __cdecl __MINGW_NOTHROW _snwprintf (wchar_t*, size_t, const wchar_t*, ...);
^
E:/OpenJudger2/Compilers/mingw/include/stdio.h:568:60: error: expected declaration specifiers or '...' before 'size_t'
_CRTIMP int __cdecl __MINGW_NOTHROW _vsnwprintf (wchar_t*, size_t, const wchar_t*, __VALIST);
^
E:/OpenJudger2/Compilers/mingw/include/stdio.h:605:52: error: expected declaration specifiers or '...' before 'size_t'
int __cdecl __MINGW_NOTHROW snwprintf (wchar_t* s, size_t n, const wchar_t* format, ...);
^
E:/OpenJudger2/Compilers/mingw/include/stdio.h:606:53: error: expected declaration specifiers or '...' before 'size_t'
int __cdecl __MINGW_NOTHROW vsnwprintf (wchar_t* s, size_t n, const wchar_t* format, __VALIST arg);
^
src.c:17:6: error: redefinition of 'main'
void main()
^
src.c:1:6: note: previous definition of 'main' was here
void main()
^
src.c:22:1: error: stray '\32' in program
}
^
src.c:24:1: error: expected identifier or '(' before numeric constant
src.c:26:5: error: redefinition of 'max'
src.c:13:5: note: previous definition of 'max' was here
int max(int a,int b)
^
src.c: In function 'max':
src.c:28:2: error: 'maxx' undeclared (first use in this function)
src.c:28:2: note: each undeclared identifier is reported only once for each function it appears in
src.c: At top level:
src.c:30:6: error: redefinition of 'main'
src.c:1:6: note: previous definition of 'main' was here
void main()
^
src.c: In function 'main':
src.c:35:6: error: 'maxx' undeclared (first use in this function)
src.c: At top level:
src.c:37:1: error: stray '\32' in program
2)
^
In file included from src.c:12:0:
E:/OpenJudger2/Compilers/mingw/include/stdio.h:191:65: error: unknown type name 'size_t'
_CRTIMP int __cdecl __MINGW_NOTHROW setvbuf (FILE*, char*, int, size_t);
^
E:/OpenJudger2/Compilers/mingw/include/stdio.h:207:54: error: unknown type name 'size_t'
extern int __mingw_stdio_redirect__(snprintf)(char*, size_t, const char*, ...);
^
E:/OpenJudger2/Compilers/mingw/include/stdio.h:211:55: error: unknown type name 'size_t'
extern int __mingw_stdio_redirect__(vsnprintf)(char*, size_t, const char*, __VALIST);
^
E:/OpenJudger2/Compilers/mingw/include/stdio.h:319:55: error: unknown type name 'size_t'
_CRTIMP int __cdecl __MINGW_NOTHROW _snprintf (char*, size_t, const char*, ...);
^
E:/OpenJudger2/Compilers/mingw/include/stdio.h:320:56: error: unknown type name 'size_t'
_CRTIMP int __cdecl __MINGW_NOTHROW _vsnprintf (char*, size_t, const char*, __VALIST);
^
E:/OpenJudger2/Compilers/mingw/include/stdio.h:331:47: error: unknown type name 'size_t'
int __cdecl __MINGW_NOTHROW snprintf (char *, size_t, const char *, ...);
^
E:/OpenJudger2/Compilers/mingw/include/stdio.h:332:48: error: unknown type name 'size_t'
int __cdecl __MINGW_NOTHROW vsnprintf (char *, size_t, const char *, __VALIST);
^
E:/OpenJudger2/Compilers/mingw/include/stdio.h:412:40: error: expected ',' or ';' before 'fread'
_CRTIMP size_t __cdecl __MINGW_NOTHROW fread (void*, size_t, size_t, FILE*);
^
E:/OpenJudger2/Compilers/mingw/include/stdio.h:413:40: error: expected ',' or ';' before 'fwrite'
_CRTIMP size_t __cdecl __MINGW_NOTHROW fwrite (const void*, size_t, size_t, FILE*);
^
In file included from src.c:12:0:
E:/OpenJudger2/Compilers/mingw/include/stdio.h:565:59: error: expected declaration specifiers or '...' before 'size_t'
_CRTIMP int __cdecl __MINGW_NOTHROW _snwprintf (wchar_t*, size_t, const wchar_t*, ...);
^
E:/OpenJudger2/Compilers/mingw/include/stdio.h:568:60: error: expected declaration specifiers or '...' before 'size_t'
_CRTIMP int __cdecl __MINGW_NOTHROW _vsnwprintf (wchar_t*, size_t, const wchar_t*, __VALIST);
^
E:/OpenJudger2/Compilers/mingw/include/stdio.h:605:52: error: expected declaration specifiers or '...' before 'size_t'
int __cdecl __MINGW_NOTHROW snwprintf (wchar_t* s, size_t n, const wchar_t* format, ...);
^
E:/OpenJudger2/Compilers/mingw/include/stdio.h:606:53: error: expected declaration specifiers or '...' before 'size_t'
int __cdecl __MINGW_NOTHROW vsnwprintf (wchar_t* s, size_t n, const wchar_t* format, __VALIST arg);
^
src.c:17:6: error: redefinition of 'main'
void main()
^
src.c:1:6: note: previous definition of 'main' was here
void main()
^
src.c:22:1: error: stray '\32' in program
}
^
src.c:24:1: error: expected identifier or '(' before numeric constant
src.c:26:5: error: redefinition of 'max'
src.c:13:5: note: previous definition of 'max' was here
int max(int a,int b)
^
src.c: In function 'max':
src.c:28:2: error: 'maxx' undeclared (first use in this function)
src.c:28:2: note: each undeclared identifier is reported only once for each function it appears in
src.c: At top level:
src.c:30:6: error: redefinition of 'main'
src.c:1:6: note: previous definition of 'main' was here
void main()
^
src.c: In function 'main':
src.c:35:6: error: 'maxx' undeclared (first use in this function)
src.c: At top level:
src.c:37:1: error: stray '\32' in program