실행 실패 (제출 코드 컴파일 에러)
Main.c:7:5: error: unknown type name ‘Node’ 7 | Node* children[10]; | ^~~~ Main.c: In function ‘insert’: Main.c:27:51: warning: assignment to ‘int *’ from incompatible pointer type ‘Node *’ [-Wincompatible-pointer-types] 27 | node->children[phone_number[i] - '0'] = init_node(); | ^ Main.c:29:14: warning: assignment to ‘Node *’ from incompatible pointer type ‘int *’ [-Wincompatible-pointer-types] 29 | node = node->children[phone_number[i] - '0']; | ^ Main.c: In function ‘main’: Main.c:36:5: warning: ignoring return value of ‘scanf’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 36 | scanf("%d", &testcase); | ^~~~~~~~~~~~~~~~~~~~~~ Main.c:40:9: warning: ignoring return value of ‘scanf’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 40 | scanf("%d", &num_numbers); | ^~~~~~~~~~~~~~~~~~~~~~~~~ Main.c:45:13: warning: ignoring return value of ‘scanf’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 45 | scanf(" %s", phone_number); | ^~~~~~~~~~~~~~~~~~~~~~~~~~
정답 개수:
-
틀린 개수:
-
실행 실패 개수:
-
반례를 발견하지 못했습니다.