실행 실패 (제출 코드 컴파일 에러)
Main.c: In function ‘main’: Main.c:37:32: error: too few arguments to function ‘calloc’ 37 | Coord* coord = (Coord*)calloc(N*sizeof(Coord)); | ^~~~~~ In file included from Main.c:2: /usr/include/stdlib.h:543:14: note: declared here 543 | extern void *calloc (size_t __nmemb, size_t __size) | ^~~~~~ Main.c:36:9: warning: ignoring return value of ‘scanf’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 36 | scanf("%d", &N); | ^~~~~~~~~~~~~~~ Main.c:39:17: warning: ignoring return value of ‘scanf’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 39 | scanf("%d", &coord[i].x); | ^~~~~~~~~~~~~~~~~~~~~~~~
정답 개수:
-
틀린 개수:
-
실행 실패 개수:
-
반례를 발견하지 못했습니다.