실행 실패 (제출 코드 컴파일 에러)
Main.c: In function ‘multi’: Main.c:17:15: warning: implicit declaration of function ‘nmod’; did you mean ‘mmod’? [-Wimplicit-function-declaration] 17 | ret.f11 = nmod((A.f11*B.f11 + A.f12*B.f21)); | ^~~~ | mmod Main.c: At top level: Main.c:24:5: warning: conflicting types for built-in function ‘pow’; expected ‘double(double, double)’ [-Wbuiltin-declaration-mismatch] 24 | MAT pow(long long N,MAT M){ | ^~~ Main.c:2:1: note: ‘pow’ is declared in header ‘<math.h>’ 1 | #include <stdio.h> +++ |+#include <math.h> 2 | Main.c: In function ‘main’: Main.c:37:30: warning: format ‘%d’ expects argument of type ‘int *’, but argument 2 has type ‘long long int *’ [-Wformat=] 37 | long long N; scanf("%d",&N); | ~^ ~~ | | | | | long long int * | int * | %lld Main.c:35:12: warning: ignoring return value of ‘scanf’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 35 | int T; scanf("%d",&T); | ^~~~~~~~~~~~~~ Main.c:37:22: warning: ignoring return value of ‘scanf’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 37 | long long N; scanf("%d",&N); | ^~~~~~~~~~~~~~ /usr/bin/ld: /tmp/ccEuMjHO.o: in function `multi': Main.c:(.text+0x58): undefined reference to `nmod' /usr/bin/ld: Main.c:(.text+0x68): undefined reference to `nmod' /usr/bin/ld: Main.c:(.text+0x7c): undefined reference to `nmod' /usr/bin/ld: Main.c:(.text+0x88): undefined reference to `nmod' /usr/bin/ld: /tmp/ccEuMjHO.o: in function `main': Main.c:(.text.startup+0xa4): undefined reference to `nmod' collect2: error: ld returned 1 exit status
정답 개수:
-
틀린 개수:
-
실행 실패 개수:
-
반례를 발견하지 못했습니다.