結果

問題 No.311 z in FizzBuzzString
ユーザー 簡易ログイン簡易ログイン
提出日時 2015-12-05 08:07:43
言語 Crystal
(1.11.2)
結果
WA  
実行時間 -
コード長 77 bytes
コンパイル時間 12,990 ms
コンパイル使用メモリ 295,792 KB
実行使用メモリ 4,372 KB
最終ジャッジ日時 2023-10-25 02:36:36
合計ジャッジ時間 13,786 ms
ジャッジサーバーID
(参考情報)
judge15 / judge13
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 1 ms
4,372 KB
testcase_01 WA -
testcase_02 AC 2 ms
4,372 KB
testcase_03 WA -
testcase_04 AC 2 ms
4,372 KB
testcase_05 WA -
testcase_06 AC 1 ms
4,372 KB
testcase_07 RE -
testcase_08 RE -
testcase_09 RE -
testcase_10 RE -
権限があれば一括ダウンロードができます

ソースコード

diff #

n = gets.to_s.chomp.to_i

ans = n./(3).*(2).+(n./(5).*(2))

puts "%d" % [ans]
0