結果
問題 | No.1178 Can you draw a Circle? |
ユーザー | tonnnura172 |
提出日時 | 2020-10-21 02:46:04 |
言語 | Python3 (3.12.2 + numpy 1.26.4 + scipy 1.12.0) |
結果 |
WA
|
実行時間 | - |
コード長 | 851 bytes |
コンパイル時間 | 138 ms |
コンパイル使用メモリ | 10,888 KB |
実行使用メモリ | 29,892 KB |
最終ジャッジ日時 | 2023-09-28 14:02:46 |
合計ジャッジ時間 | 5,899 ms |
ジャッジサーバーID (参考情報) |
judge15 / judge14 |
(要ログイン)
テストケース
テストケース表示入力 | 結果 | 実行時間 実行使用メモリ |
---|---|---|
testcase_00 | WA | - |
testcase_01 | AC | 143 ms
29,552 KB |
testcase_02 | AC | 143 ms
29,692 KB |
testcase_03 | WA | - |
testcase_04 | AC | 140 ms
29,824 KB |
testcase_05 | WA | - |
testcase_06 | WA | - |
testcase_07 | AC | 144 ms
29,804 KB |
testcase_08 | AC | 145 ms
29,780 KB |
testcase_09 | AC | 144 ms
29,828 KB |
testcase_10 | AC | 142 ms
29,776 KB |
testcase_11 | WA | - |
testcase_12 | WA | - |
testcase_13 | WA | - |
testcase_14 | WA | - |
testcase_15 | WA | - |
testcase_16 | WA | - |
ソースコード
import sys, re from collections import deque, defaultdict, Counter from math import ceil, sqrt, hypot, factorial, pi, sin, cos, radians, gcd, log2 from itertools import accumulate, permutations, combinations, product from operator import itemgetter, mul, add from copy import deepcopy from string import ascii_lowercase, ascii_uppercase, digits from bisect import bisect, bisect_left from heapq import heappush, heappop from functools import reduce, lru_cache import numpy as np def input(): return sys.stdin.buffer.readline()[:-1] def INT(): return int(input()) def MAP(): return map(int, input().split()) def LIST(): return list(map(int, input().split())) def ZIP(n): return zip(*(MAP() for _ in range(n))) sys.setrecursionlimit(10 ** 9) INF = float('inf') mod = 10 ** 9 + 7 a, b, c, d, e, f = MAP() t = ((4*a*(f-e)+c**2+d**2)/4*a*a) print(t**0.5)