結果
| 問題 |
No.231 めぐるはめぐる (1)
|
| コンテスト | |
| ユーザー |
horiesiniti
|
| 提出日時 | 2016-06-14 11:30:46 |
| 言語 | Ruby (3.4.1) |
| 結果 |
AC
|
| 実行時間 | 89 ms / 1,000 ms |
| コード長 | 214 bytes |
| コンパイル時間 | 576 ms |
| コンパイル使用メモリ | 7,424 KB |
| 実行使用メモリ | 12,160 KB |
| 最終ジャッジ日時 | 2024-11-08 00:21:05 |
| 合計ジャッジ時間 | 1,966 ms |
|
ジャッジサーバーID (参考情報) |
judge1 / judge4 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 2 |
| other | AC * 11 |
コンパイルメッセージ
Syntax OK
ソースコード
n=STDIN.gets.to_i
e=0
no=-1
n.times do |i|
a,b=STDIN.gets.split(" ")
t=a.to_i-b.to_i*30000
if t>e then
e=t
no=i+1
end
end
if e*6>=3000000 then
puts "YES"
6.times do |i|
puts no
end
else
puts "NO"
end
horiesiniti