結果
問題 |
No.8001 確率論ってこういうものですよね
|
ユーザー |
|
提出日時 | 2015-03-24 02:53:28 |
言語 | Ruby (3.4.1) |
結果 |
WA
|
実行時間 | - |
コード長 | 67 bytes |
コンパイル時間 | 587 ms |
コンパイル使用メモリ | 7,424 KB |
実行使用メモリ | 12,416 KB |
最終ジャッジ日時 | 2024-06-29 00:27:50 |
合計ジャッジ時間 | 2,461 ms |
ジャッジサーバーID (参考情報) |
judge1 / judge3 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 1 WA * 9 |
コンパイルメッセージ
Main.rb:2: warning: assigned but unused variable - z Main.rb:3: warning: assigned but unused variable - w Syntax OK
ソースコード
x,y=gets.split.map &:to_f z=[x,1-y].min w=x-[x,y].min print x,' ',y