結果

問題 No.744 循環小数N桁目 Easy
ユーザー ayaaya
提出日時 2019-08-06 12:12:00
言語 PHP
(8.3.4)
結果
AC  
実行時間 18 ms / 2,000 ms
コード長 99 bytes
コンパイル時間 88 ms
コンパイル使用メモリ 18,736 KB
実行使用メモリ 18,844 KB
最終ジャッジ日時 2023-09-25 17:40:42
合計ジャッジ時間 927 ms
ジャッジサーバーID
(参考情報)
judge12 / judge15
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 16 ms
18,724 KB
testcase_01 AC 17 ms
18,736 KB
testcase_02 AC 16 ms
18,568 KB
testcase_03 AC 16 ms
18,828 KB
testcase_04 AC 18 ms
18,776 KB
testcase_05 AC 17 ms
18,796 KB
testcase_06 AC 17 ms
18,744 KB
testcase_07 AC 16 ms
18,832 KB
testcase_08 AC 16 ms
18,844 KB
testcase_09 AC 16 ms
18,772 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
No syntax errors detected in Main.php

ソースコード

diff #

<?php
$input=(int)trim(fgets(STDIN));
$array=array("4","2","8","5","7","1");
echo $array[$input%6];
0