結果

問題 No.311 z in FizzBuzzString
ユーザー 簡易ログイン簡易ログイン
提出日時 2015-12-05 07:56:13
言語 Scala(Beta)
(3.4.0)
結果
AC  
実行時間 860 ms / 1,500 ms
コード長 123 bytes
コンパイル時間 7,460 ms
コンパイル使用メモリ 234,580 KB
実行使用メモリ 63,400 KB
最終ジャッジ日時 2023-10-25 02:35:57
合計ジャッジ時間 18,093 ms
ジャッジサーバーID
(参考情報)
judge14 / judge11
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 838 ms
63,376 KB
testcase_01 AC 838 ms
63,372 KB
testcase_02 AC 860 ms
63,376 KB
testcase_03 AC 849 ms
63,396 KB
testcase_04 AC 846 ms
63,396 KB
testcase_05 AC 844 ms
63,380 KB
testcase_06 AC 841 ms
63,396 KB
testcase_07 AC 845 ms
63,364 KB
testcase_08 AC 849 ms
63,360 KB
testcase_09 AC 850 ms
63,372 KB
testcase_10 AC 846 ms
63,400 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

object No311_z_in_FizzBuzzString extends App {
val n = scala.io.StdIn.readLong
val ans = n/3*2+n/5*2
Console.println(ans)
}
0