실행 실패 (제출 코드 컴파일 에러)
Main.c: In function ‘main’: Main.c:10:26: error: expected ‘)’ before ‘and’ 10 | if(x1==x2 and y1==y2 and r1!=r2){ | ~ ^~~~ | ) Main.c:13:26: error: expected ‘)’ before ‘and’ 13 | if(x1==x2 and y1==y2 and r1==r2){ | ~ ^~~~ | ) Main.c:16:20: error: expected expression before ‘int’ 16 | if(int(sqrt(pow(x1-x2,2)+pow(y1-y2,2)))==(r1+r2)){ | ^~~ Main.c:20:20: error: expected expression before ‘int’ 20 | if(int(sqrt(pow(x1-x2,2)+pow(y1-y2,2)))>(r1+r2)){ | ^~~ Main.c:6:9: warning: ignoring return value of ‘scanf’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 6 | scanf("%d",&n); | ^~~~~~~~~~~~~~ Main.c:9:17: warning: ignoring return value of ‘scanf’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 9 | scanf("%d %d %d %d %d %d",&x1,&y1,&r1,&x2,&y2,&r2); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
정답 개수:
-
틀린 개수:
-
실행 실패 개수:
-
반례를 발견하지 못했습니다.