結果

問題 No.272 NOT回路
ユーザー leos_caraxleos_carax
提出日時 2016-10-23 19:08:43
言語 PHP
(8.3.4)
結果
AC  
実行時間 45 ms / 1,000 ms
コード長 87 bytes
コンパイル時間 83 ms
コンパイル使用メモリ 32,268 KB
実行使用メモリ 31,440 KB
最終ジャッジ日時 2024-05-03 04:54:56
合計ジャッジ時間 1,255 ms
ジャッジサーバーID
(参考情報)
judge2 / judge4
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 45 ms
30,872 KB
testcase_01 AC 42 ms
31,136 KB
testcase_02 AC 41 ms
30,928 KB
testcase_03 AC 41 ms
30,888 KB
testcase_04 AC 41 ms
30,700 KB
testcase_05 AC 41 ms
30,832 KB
testcase_06 AC 41 ms
31,216 KB
testcase_07 AC 41 ms
31,440 KB
testcase_08 AC 41 ms
31,164 KB
testcase_09 AC 42 ms
30,896 KB
testcase_10 AC 41 ms
31,204 KB
testcase_11 AC 40 ms
31,012 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