結果

問題 No.1883 SLASH
ユーザー kwkkwk
提出日時 2022-12-13 10:22:31
言語 PHP
(8.3.4)
結果
AC  
実行時間 40 ms / 2,000 ms
コード長 80 bytes
コンパイル時間 89 ms
コンパイル使用メモリ 30,820 KB
実行使用メモリ 31,304 KB
最終ジャッジ日時 2024-04-24 21:20:33
合計ジャッジ時間 1,219 ms
ジャッジサーバーID
(参考情報)
judge3 / judge5
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 40 ms
31,176 KB
testcase_01 AC 40 ms
30,908 KB
testcase_02 AC 39 ms
30,940 KB
testcase_03 AC 37 ms
30,952 KB
testcase_04 AC 35 ms
31,200 KB
testcase_05 AC 35 ms
31,124 KB
testcase_06 AC 36 ms
30,864 KB
testcase_07 AC 35 ms
30,904 KB
testcase_08 AC 36 ms
30,776 KB
testcase_09 AC 37 ms
30,916 KB
testcase_10 AC 38 ms
30,916 KB
testcase_11 AC 33 ms
31,304 KB
testcase_12 AC 36 ms
30,824 KB
testcase_13 AC 34 ms
30,800 KB
testcase_14 AC 35 ms
31,212 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
No syntax errors detected in Main.php

ソースコード

diff #

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

sort($N);

echo $N[2]-$N[0];
0