結果
問題 | No.744 循環小数N桁目 Easy |
ユーザー | aya |
提出日時 | 2019-08-06 12:07:57 |
言語 | PHP (8.3.4) |
結果 |
WA
|
実行時間 | - |
コード長 | 128 bytes |
コンパイル時間 | 75 ms |
コンパイル使用メモリ | 18,512 KB |
実行使用メモリ | 19,360 KB |
最終ジャッジ日時 | 2023-09-25 17:40:23 |
合計ジャッジ時間 | 1,182 ms |
ジャッジサーバーID (参考情報) |
judge12 / judge11 |
(要ログイン)
テストケース
テストケース表示入力 | 結果 | 実行時間 実行使用メモリ |
---|---|---|
testcase_00 | AC | 17 ms
18,872 KB |
testcase_01 | AC | 16 ms
18,860 KB |
testcase_02 | WA | - |
testcase_03 | WA | - |
testcase_04 | WA | - |
testcase_05 | AC | 17 ms
18,680 KB |
testcase_06 | WA | - |
testcase_07 | WA | - |
testcase_08 | WA | - |
testcase_09 | WA | - |
コンパイルメッセージ
No syntax errors detected in Main.php
ソースコード
<?php $input=(int)trim(fgets(STDIN)); $num1=floor(2*pow(10,$input)/7); $num2=(floor(2*pow(10,$input-1)/7))*10; echo $num1-$num2;