結果
問題 |
No.280 歯車の問題(1)
|
ユーザー |
![]() |
提出日時 | 2016-04-15 04:12:48 |
言語 | Python2 (2.7.18) |
結果 |
WA
|
実行時間 | - |
コード長 | 132 bytes |
コンパイル時間 | 75 ms |
コンパイル使用メモリ | 6,912 KB |
実行使用メモリ | 6,824 KB |
最終ジャッジ日時 | 2024-10-04 09:20:51 |
合計ジャッジ時間 | 2,932 ms |
ジャッジサーバーID (参考情報) |
judge2 / judge5 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 25 WA * 6 |
ソースコード
n=input() z=map(float,raw_input().split()) x=1 for i in range(n-1): x=x*z[i]/z[i+1] #print x print `int(1/x*z[0])`+"/"+`int(z[0])`