結果

問題 No.311 z in FizzBuzzString
ユーザー leos_caraxleos_carax
提出日時 2016-10-26 23:08:31
言語 PHP
(8.3.4)
結果
WA  
実行時間 -
コード長 93 bytes
コンパイル時間 536 ms
コンパイル使用メモリ 32,764 KB
実行使用メモリ 32,828 KB
最終ジャッジ日時 2023-10-25 02:47:30
合計ジャッジ時間 1,291 ms
ジャッジサーバーID
(参考情報)
judge11 / judge14
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 45 ms
32,824 KB
testcase_01 AC 45 ms
32,824 KB
testcase_02 AC 41 ms
32,824 KB
testcase_03 AC 42 ms
32,824 KB
testcase_04 AC 40 ms
32,824 KB
testcase_05 AC 41 ms
32,824 KB
testcase_06 AC 41 ms
32,824 KB
testcase_07 WA -
testcase_08 WA -
testcase_09 WA -
testcase_10 WA -
権限があれば一括ダウンロードができます
コンパイルメッセージ
No syntax errors detected in Main.php

ソースコード

diff #

<?php
$n = trim(fgets(STDIN));

$a = floor($n / 3);
$b = floor($n / 5);

echo $a *2 + $b * 2;
0