실행 실패 (제출 코드 컴파일 에러)
{"stderr": "Main.c: In function \u2018deq\u2019:\nMain.c:26:16: warning: assignment to \u2018vertex *\u2019 {aka \u2018struct vert *\u2019} from incompatible pointer type \u2018struct vertex *\u2019 [-Wincompatible-pointer-types]\n 26 | mola = bird[temp->node].next;\n | ^\nMain.c:33:30: warning: assignment to \u2018vertex *\u2019 {aka \u2018struct vert *\u2019} from incompatible pointer type \u2018struct vertex *\u2019 [-Wincompatible-pointer-types]\n 33 | mola = mola->next;\n | ^\nMain.c:37:21: warning: assignment to \u2018vertex *\u2019 {aka \u2018struct vert *\u2019} from incompatible pointer type \u2018struct vertex *\u2019 [-Wincompatible-pointer-types]\n 37 | temp=temp->next;\n | ^\nMain.c: In function \u2018main\u2019:\nMain.c:48:17: error: \u2018k\u2019 undeclared (first use in this function)\n 48 | k++;\n | ^\nMain.c:48:17: note: each undeclared identifier is reported only once for each function it appears in\nMain.c:62:49: warning: assignment to \u2018struct vertex *\u2019 from incompatible pointer type \u2018vertex *\u2019 {aka \u2018struct vert *\u2019} [-Wincompatible-pointer-types]\n 62 | bird[from].next = new;\n | ^\nMain.c:67:38: warning: assignment to \u2018vertex *\u2019 {aka \u2018struct vert *\u2019} from incompatible pointer type \u2018struct vertex *\u2019 [-Wincompatible-pointer-types]\n 67 | temp = bird[from].next;\n | ^\nMain.c:70:46: warning: assignment to \u2018vertex *\u2019 {aka \u2018struct vert *\u2019} from incompatible pointer type \u2018struct vertex *\u2019 [-Wincompatible-pointer-types]\n 70 | temp = temp->next;\n | ^\nMain.c:75:44: warning: assignment to \u2018struct vertex *\u2019 from incompatible pointer type \u2018vertex *\u2019 {aka \u2018struct vert *\u2019} [-Wincompatible-pointer-types]\n 75 | temp->next = new;\n | ^\nMain.c:105:60: warning: assignment to \u2018struct vertex *\u2019 from incompatible pointer type \u2018vertex *\u2019 {aka \u2018struct vert *\u2019} [-Wincompatible-pointer-types]\n 105 | temp->next = new;\n | ^\nMain.c:106:54: warning: assignment to \u2018vertex *\u2019 {aka \u2018struct vert *\u2019} from incompatible pointer type \u2018struct vertex *\u2019 [-Wincompatible-pointer-types]\n 106 | temp = temp->next;\n | ^\nMain.c: In function \u2018reset\u2019:\nMain.c:21:1: warning: control reaches end of non-void function [-Wreturn-type]\n 21 | }\n | ^\nMain.c: In function \u2018deq\u2019:\nMain.c:41:1: warning: control reaches end of non-void function [-Wreturn-type]\n 41 | }\n | ^\nMain.c: In function \u2018main\u2019:\nMain.c:45:9: warning: ignoring return value of \u2018scanf\u2019 declared with attribute \u2018warn_unused_result\u2019 [-Wunused-result]\n 45 | scanf(\"%d\", &t);\n | ^~~~~~~~~~~~~~~\nMain.c:49:17: warning: ignoring return value of \u2018scanf\u2019 declared with attribute \u2018warn_unused_result\u2019 [-Wunused-result]\n 49 | scanf(\"%d%d\", &building, &rule);\n | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\nMain.c:52:25: warning: ignoring return value of \u2018scanf\u2019 declared with attribute \u2018warn_unused_result\u2019 [-Wunused-result]\n 52 | scanf(\"%d\", &buildtime[i]);\n | ^~~~~~~~~~~~~~~~~~~~~~~~~~(...truncated, total 4494 characters)
정답 개수:
-
틀린 개수:
-
실행 실패 개수:
-
반례를 발견하지 못했습니다.