실행 실패 (제출 코드 컴파일 에러)
Main.c:9:6: error: conflicting types for ‘qsort’; have ‘void(int, int)’ 9 | void qsort(int i, int f){ // qsort(i,f)는 배열의 i부터 f-1까지 정렬하겠다는 뜻임 | ^~~~~ In file included from Main.c:2: /usr/include/stdlib.h:838:13: note: previous declaration of ‘qsort’ with type ‘void(void *, size_t, size_t, int (*)(const void *, const void *))’ {aka ‘void(void *, long unsigned int, long unsigned int, int (*)(const void *, const void *))’} 838 | extern void qsort (void *__base, size_t __nmemb, size_t __size, | ^~~~~ Main.c: In function ‘main’: Main.c:39:5: warning: ignoring return value of ‘scanf’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 39 | scanf("%d", &n); | ^~~~~~~~~~~~~~~ Main.c:41:9: warning: ignoring return value of ‘scanf’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 41 | scanf("%d", &Arr[i]); | ^~~~~~~~~~~~~~~~~~~~
정답 개수:
-
틀린 개수:
-
실행 실패 개수:
-
반례를 발견하지 못했습니다.