結果

問題 No.328 きれいな連立方程式
ユーザー fumofumofunifumofumofuni
提出日時 2021-09-14 16:22:07
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 222 ms / 2,000 ms
コード長 191 bytes
コンパイル時間 1,012 ms
コンパイル使用メモリ 86,916 KB
実行使用メモリ 89,092 KB
最終ジャッジ日時 2023-09-09 13:47:57
合計ジャッジ時間 9,369 ms
ジャッジサーバーID
(参考情報)
judge14 / judge11
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 218 ms
88,752 KB
testcase_01 AC 217 ms
89,068 KB
testcase_02 AC 212 ms
88,828 KB
testcase_03 AC 211 ms
89,000 KB
testcase_04 AC 216 ms
88,968 KB
testcase_05 AC 213 ms
89,048 KB
testcase_06 AC 211 ms
89,072 KB
testcase_07 AC 212 ms
88,968 KB
testcase_08 AC 215 ms
88,896 KB
testcase_09 AC 213 ms
88,812 KB
testcase_10 AC 209 ms
88,816 KB
testcase_11 AC 212 ms
88,996 KB
testcase_12 AC 213 ms
88,964 KB
testcase_13 AC 208 ms
88,744 KB
testcase_14 AC 208 ms
88,816 KB
testcase_15 AC 205 ms
88,784 KB
testcase_16 AC 210 ms
89,068 KB
testcase_17 AC 222 ms
89,016 KB
testcase_18 AC 212 ms
89,036 KB
testcase_19 AC 213 ms
88,744 KB
testcase_20 AC 215 ms
89,024 KB
testcase_21 AC 208 ms
89,092 KB
testcase_22 AC 208 ms
89,012 KB
testcase_23 AC 206 ms
88,756 KB
testcase_24 AC 209 ms
88,756 KB
testcase_25 AC 207 ms
88,868 KB
testcase_26 AC 208 ms
89,016 KB
testcase_27 AC 207 ms
89,036 KB
testcase_28 AC 208 ms
89,076 KB
testcase_29 AC 206 ms
88,984 KB
testcase_30 AC 209 ms
89,040 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import decimal
C=list(map(decimal.Decimal,input().split()))
num=C[0]*C[2]-C[1]*C[1]
B=(C[1]*C[3]-C[2]*C[2])/num
A=(C[0]*C[3]-C[1]*C[2])/num
if A*A-B*4>=0:
    print('R')
else :
    print('I')
0