실행 실패 (제출 코드 컴파일 에러)
Main.c: In function ‘main’: Main.c:4:13: warning: format ‘%d’ expects argument of type ‘int *’, but argument 2 has type ‘long int *’ [-Wformat=] 4 | scanf("%d %d %d",&a[1000000000000],&b[1000000000000],&c[1000000000000]); | ~^ ~~~~~~~~~~~~~~~~~ | | | | int * long int * | %ld Main.c:4:16: warning: format ‘%d’ expects argument of type ‘int *’, but argument 3 has type ‘long int *’ [-Wformat=] 4 | scanf("%d %d %d",&a[1000000000000],&b[1000000000000],&c[1000000000000]); | ~^ ~~~~~~~~~~~~~~~~~ | | | | int * long int * | %ld Main.c:4:19: warning: format ‘%d’ expects argument of type ‘int *’, but argument 4 has type ‘long int *’ [-Wformat=] 4 | scanf("%d %d %d",&a[1000000000000],&b[1000000000000],&c[1000000000000]); | ~^ ~~~~~~~~~~~~~~~~~ | | | | int * long int * | %ld Main.c:7:18: error: invalid operands to binary + (have ‘long int *’ and ‘long int *’) 7 | printf("%d",a+b+c); | ~^ | || | |long int * | long 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[1000000000000],&b[1000000000000],&c[1000000000000]); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
정답 개수:
-
틀린 개수:
-
실행 실패 개수:
-
반례를 발견하지 못했습니다.