結果

問題 No.369 足し間違い
ユーザー leos_caraxleos_carax
提出日時 2016-10-22 11:38:23
言語 PHP
(8.3.4)
結果
AC  
実行時間 48 ms / 2,000 ms
コード長 120 bytes
コンパイル時間 93 ms
コンパイル使用メモリ 32,404 KB
実行使用メモリ 31,236 KB
最終ジャッジ日時 2024-05-02 22:08:33
合計ジャッジ時間 1,134 ms
ジャッジサーバーID
(参考情報)
judge5 / judge2
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 37 ms
30,924 KB
testcase_01 AC 38 ms
30,776 KB
testcase_02 AC 35 ms
31,236 KB
testcase_03 AC 48 ms
30,912 KB
testcase_04 AC 37 ms
31,120 KB
testcase_05 AC 36 ms
31,048 KB
testcase_06 AC 38 ms
31,004 KB
testcase_07 AC 37 ms
31,120 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
No syntax errors detected in Main.php

ソースコード

diff #

<?php
trim(fgets(STDIN));
$sum = array_sum(explode(" ",trim(fgets(STDIN))));
$a = trim(fgets(STDIN));
echo $sum - $a;
?>
0