실행 실패 (제출 코드 컴파일 에러)
Main.c: In function ‘main’: Main.c:7:18: error: expected ‘)’ before ‘and’ 7 | if(x1==x2 and y1==y2 and r1!=r2){ | ~ ^~~~ | ) Main.c:10:18: error: expected ‘)’ before ‘and’ 10 | if(x1==x2 and y1==y2 and r1==r2){ | ~ ^~~~ | ) Main.c:13:12: error: expected expression before ‘int’ 13 | if(int(sqrt(pow(x1-x2,2)+pow(y1-y2,2)))==(r1+r2)){ | ^~~ Main.c:17:12: error: expected expression before ‘int’ 17 | 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 %d %d %d %d %d",&x1,&y1,&r1,&x2,&y2,&r2); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
정답 개수:
-
틀린 개수:
-
실행 실패 개수:
-
반례를 발견하지 못했습니다.