Submission #3932194
Source Code Expand
var ax,ay,bx,by,cx,cy,a,b,c,s,r,m:double; begin read(ax,ay,bx,by,cx,cy); a:=sqrt((ax-bx)*(ax-bx)+(ay-by)*(ay-by)); b:=sqrt((bx-cx)*(bx-cx)+(by-cy)*(by-cy)); c:=sqrt((cx-ax)*(cx-ax)+(cy-ay)*(cy-ay)); m:=a; if m<b then m:=b; if m<c then m:=c; r:=(a+b+c)/2; s:=sqrt(r*(r-a)*(r-b)*(r-c)); r:=s/r; writeln(m/(2+m/r):0:15); end.
Submission Info
Submission Time | |
---|---|
Task | B - Inscribed Bicycle |
User | kotatsugame |
Language | Pascal (FPC 2.6.2) |
Score | 500 |
Code Size | 348 Byte |
Status | AC |
Exec Time | 0 ms |
Memory | 128 KB |
Compile Error
/usr/bin/ld.bfd: warning: ./link.res contains output sections; did you forget -T?
Judge Result
Set Name | Sample | All | ||||
---|---|---|---|---|---|---|
Score / Max Score | 0 / 0 | 500 / 500 | ||||
Status |
|
|
Set Name | Test Cases |
---|---|
Sample | example0.txt, example1.txt |
All | 000.txt, 001.txt, 002.txt, 003.txt, 004.txt, 005.txt, 006.txt, 007.txt, 008.txt, 009.txt, 010.txt, 011.txt, 012.txt, 013.txt, 014.txt, 015.txt, example0.txt, example1.txt |
Case Name | Status | Exec Time | Memory |
---|---|---|---|
000.txt | AC | 0 ms | 128 KB |
001.txt | AC | 0 ms | 128 KB |
002.txt | AC | 0 ms | 128 KB |
003.txt | AC | 0 ms | 128 KB |
004.txt | AC | 0 ms | 128 KB |
005.txt | AC | 0 ms | 128 KB |
006.txt | AC | 0 ms | 128 KB |
007.txt | AC | 0 ms | 128 KB |
008.txt | AC | 0 ms | 128 KB |
009.txt | AC | 0 ms | 128 KB |
010.txt | AC | 0 ms | 128 KB |
011.txt | AC | 0 ms | 128 KB |
012.txt | AC | 0 ms | 128 KB |
013.txt | AC | 0 ms | 128 KB |
014.txt | AC | 0 ms | 128 KB |
015.txt | AC | 0 ms | 128 KB |
example0.txt | AC | 0 ms | 128 KB |
example1.txt | AC | 0 ms | 128 KB |