실행 실패 (제출 코드 컴파일 에러)
Main.c: In function ‘main’: Main.c:3:9: error: array size missing in ‘a’ 3 | int a[],b[],c[]; | ^ Main.c:3:13: error: array size missing in ‘b’ 3 | int a[],b[],c[]; | ^ Main.c:3:17: error: array size missing in ‘c’ 3 | int a[],b[],c[]; | ^ Main.c:4:13: warning: format ‘%d’ expects argument of type ‘int *’, but argument 2 has type ‘int (*)[1]’ [-Wformat=] 4 | scanf("%d %d %d",&a,&b,&c); | ~^ ~~ | | | | int * int (*)[1] Main.c:4:16: warning: format ‘%d’ expects argument of type ‘int *’, but argument 3 has type ‘int (*)[1]’ [-Wformat=] 4 | scanf("%d %d %d",&a,&b,&c); | ~^ ~~ | | | | int * int (*)[1] Main.c:4:19: warning: format ‘%d’ expects argument of type ‘int *’, but argument 4 has type ‘int (*)[1]’ [-Wformat=] 4 | scanf("%d %d %d",&a,&b,&c); | ~^ ~~ | | | | int * int (*)[1] Main.c:6:18: error: invalid operands to binary + (have ‘int *’ and ‘int *’) 6 | printf("%d",a+b+c); | ~^ | || | |int * | int * Main.c:4:5: warning: ignoring return value of ‘scanf’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 4 | scanf("%d %d %d",&a,&b,&c); | ^~~~~~~~~~~~~~~~~~~~~~~~~~
정답 개수:
-
틀린 개수:
-
실행 실패 개수:
-
반례를 발견하지 못했습니다.