結果
問題 |
No.328 きれいな連立方程式
|
ユーザー |
|
提出日時 | 2015-12-21 01:33:06 |
言語 | Python2 (2.7.18) |
結果 |
WA
|
実行時間 | - |
コード長 | 194 bytes |
コンパイル時間 | 247 ms |
コンパイル使用メモリ | 6,948 KB |
実行使用メモリ | 6,944 KB |
最終ジャッジ日時 | 2024-09-17 21:14:02 |
合計ジャッジ時間 | 1,516 ms |
ジャッジサーバーID (参考情報) |
judge2 / judge4 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 24 WA * 7 |
ソースコード
def sign(a): return a/abs(a) if a != 0 else 0 c1, c2, c3, c4 = map(int, raw_input().split()) d1 = c1*c3 - c2*c2 d2 = c2*c4 - c3*c3 if sign(d1) != sign(d2): print "R" else: print "I"