結果

問題 No.369 足し間違い
ユーザー takoshi186takoshi186
提出日時 2016-08-01 17:43:30
言語 PHP
(8.3.4)
結果
AC  
実行時間 43 ms / 2,000 ms
コード長 137 bytes
コンパイル時間 147 ms
コンパイル使用メモリ 31,108 KB
実行使用メモリ 31,372 KB
最終ジャッジ日時 2024-04-24 13:36:44
合計ジャッジ時間 1,042 ms
ジャッジサーバーID
(参考情報)
judge5 / judge4
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 42 ms
31,172 KB
testcase_01 AC 40 ms
31,160 KB
testcase_02 AC 41 ms
31,104 KB
testcase_03 AC 40 ms
30,996 KB
testcase_04 AC 41 ms
31,372 KB
testcase_05 AC 41 ms
31,232 KB
testcase_06 AC 42 ms
31,120 KB
testcase_07 AC 43 ms
31,248 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
No syntax errors detected in Main.php

ソースコード

diff #

<?php
$N = trim( fgets (STDIN ) );
$sum = array_sum(explode( " ", trim(fgets(STDIN) ) ) );
$A = trim( fgets (STDIN ) );
echo $sum - $A;

0