結果

問題 No.311 z in FizzBuzzString
ユーザー togaerrortogaerror
提出日時 2016-10-19 22:51:38
言語 Raku
(rakudo v2024.02)
結果
AC  
実行時間 392 ms / 1,500 ms
コード長 111 bytes
コンパイル時間 391 ms
コンパイル使用メモリ 132,448 KB
実行使用メモリ 144,080 KB
最終ジャッジ日時 2023-10-25 02:47:25
合計ジャッジ時間 5,573 ms
ジャッジサーバーID
(参考情報)
judge12 / judge14
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 391 ms
142,708 KB
testcase_01 AC 392 ms
144,056 KB
testcase_02 AC 388 ms
144,052 KB
testcase_03 AC 387 ms
144,044 KB
testcase_04 AC 363 ms
142,260 KB
testcase_05 AC 379 ms
144,080 KB
testcase_06 AC 385 ms
142,700 KB
testcase_07 AC 384 ms
142,700 KB
testcase_08 AC 383 ms
144,080 KB
testcase_09 AC 390 ms
144,068 KB
testcase_10 AC 386 ms
142,700 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
Syntax OK

ソースコード

diff #

use v6;
my $n = get().chomp;
my $ans3 = ($n / 5).Int;
my $ans5 = ($n / 3).Int;

say ($ans3 + $ans5) * 2;

exit;
0