結果
| 問題 |
No.2508 Discriminant
|
| コンテスト | |
| ユーザー |
horiesiniti
|
| 提出日時 | 2023-11-08 02:38:17 |
| 言語 | Ruby (3.4.1) |
| 結果 |
AC
|
| 実行時間 | 159 ms / 2,000 ms |
| コード長 | 101 bytes |
| コンパイル時間 | 71 ms |
| コンパイル使用メモリ | 7,296 KB |
| 実行使用メモリ | 13,312 KB |
| 最終ジャッジ日時 | 2024-09-25 23:33:15 |
| 合計ジャッジ時間 | 3,345 ms |
|
ジャッジサーバーID (参考情報) |
judge1 / judge2 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 22 |
コンパイルメッセージ
Main.rb:1: warning: assigned but unused variable - a Syntax OK
ソースコード
a,p,q=gets.split(" ").map{|e| e.to_i}
b=(p+q)
c=(p*q)
if b*b>4*c then
puts "Yes"
else
puts "No"
end
horiesiniti