結果

問題 No.272 NOT回路
ユーザー leos_caraxleos_carax
提出日時 2016-10-23 19:08:43
言語 PHP
(8.3.4)
結果
AC  
実行時間 15 ms / 1,000 ms
コード長 87 bytes
コンパイル時間 134 ms
コンパイル使用メモリ 18,712 KB
実行使用メモリ 18,812 KB
最終ジャッジ日時 2023-08-15 18:03:55
合計ジャッジ時間 981 ms
ジャッジサーバーID
(参考情報)
judge15 / judge12
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 15 ms
18,788 KB
testcase_01 AC 14 ms
18,584 KB
testcase_02 AC 14 ms
18,704 KB
testcase_03 AC 13 ms
18,708 KB
testcase_04 AC 13 ms
18,812 KB
testcase_05 AC 12 ms
18,752 KB
testcase_06 AC 13 ms
18,764 KB
testcase_07 AC 14 ms
18,744 KB
testcase_08 AC 14 ms
18,752 KB
testcase_09 AC 13 ms
18,756 KB
testcase_10 AC 12 ms
18,716 KB
testcase_11 AC 13 ms
18,672 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
No syntax errors detected in Main.php

ソースコード

diff #

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

if($n == 1){
    echo 0;
}else{
    echo 1;
}
echo"\n";
0