結果

問題 No.1223 I hate Golf
ユーザー hiramarihiramari
提出日時 2020-11-30 20:44:19
言語 PHP
(8.3.4)
結果
AC  
実行時間 16 ms / 2,000 ms
コード長 250 bytes
コンパイル時間 168 ms
コンパイル使用メモリ 18,672 KB
実行使用メモリ 19,116 KB
最終ジャッジ日時 2023-10-11 03:02:41
合計ジャッジ時間 1,189 ms
ジャッジサーバーID
(参考情報)
judge13 / judge14
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 16 ms
18,880 KB
testcase_01 AC 15 ms
19,068 KB
testcase_02 AC 15 ms
18,812 KB
testcase_03 AC 15 ms
19,100 KB
testcase_04 AC 15 ms
18,804 KB
testcase_05 AC 15 ms
19,072 KB
testcase_06 AC 16 ms
19,116 KB
testcase_07 AC 16 ms
19,088 KB
testcase_08 AC 16 ms
18,892 KB
testcase_09 AC 16 ms
18,840 KB
testcase_10 AC 16 ms
18,916 KB
testcase_11 AC 15 ms
19,116 KB
testcase_12 AC 15 ms
19,100 KB
testcase_13 AC 15 ms
19,020 KB
testcase_14 AC 15 ms
18,844 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
No syntax errors detected in Main.php

ソースコード

diff #

<?php
    list($N,$K,$T) = explode(" ", trim(fgets(STDIN)));
    //マイナスをプラスに
    if ($N < 0){
        $N = gmp_neg($N);
    }
    //距離判定
    if ($N <= $T * $K){
        printf('Yes');
    } else {
        printf('No');
    }
0