結果
問題 | No.250 atetubouのzetubou |
ユーザー |
|
提出日時 | 2024-02-20 16:01:38 |
言語 | Ruby (3.4.1) |
結果 |
AC
|
実行時間 | 391 ms / 5,000 ms |
コード長 | 294 bytes |
コンパイル時間 | 49 ms |
コンパイル使用メモリ | 7,552 KB |
実行使用メモリ | 12,544 KB |
最終ジャッジ日時 | 2024-09-29 03:46:01 |
合計ジャッジ時間 | 4,793 ms |
ジャッジサーバーID (参考情報) |
judge2 / judge4 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 2 |
other | AC * 20 |
コンパイルメッセージ
Main.rb:2: warning: assigned but unused variable - ans Main.rb:3: warning: assigned but unused variable - u Syntax OK
ソースコード
q = readline().to_ians = []for u in 1..q doc = readline().split()d = c[0].to_ix = c[1].to_it = c[2].to_icount = 1for i in 1..(d-1) docount = count * (x + i) / iif count > tbreakendendif count > tputs "ZETUBOU"elseputs "AC"endend