結果
| 問題 | 
                            No.1027 U+1F4A0
                             | 
                    
| コンテスト | |
| ユーザー | 
                             rythem00359
                         | 
                    
| 提出日時 | 2020-08-14 10:25:04 | 
| 言語 | Python3  (3.13.1 + numpy 2.2.1 + scipy 1.14.1)  | 
                    
| 結果 | 
                             
                                WA
                                 
                             
                            
                         | 
                    
| 実行時間 | - | 
| コード長 | 159 bytes | 
| コンパイル時間 | 141 ms | 
| コンパイル使用メモリ | 12,544 KB | 
| 実行使用メモリ | 11,136 KB | 
| 最終ジャッジ日時 | 2024-10-10 11:32:55 | 
| 合計ジャッジ時間 | 1,816 ms | 
| 
                            ジャッジサーバーID (参考情報)  | 
                        judge5 / judge2 | 
(要ログイン)
| ファイルパターン | 結果 | 
|---|---|
| sample | AC * 2 | 
| other | AC * 20 WA * 2 | 
ソースコード
from math import sin,pi,sqrt D1,D2=map(lambda d:sqrt(int(d)),input().split()) print(4 if D1==D2 or D1==D2*sin(pi/4) else 8 if D1<D2 and D1>D2*sin(pi/4) else 0)
            
rythem00359