結果

問題 No.272 NOT回路
ユーザー yuki2006yuki2006
提出日時 2016-12-10 03:48:36
言語 Vim script
(v9.1)
結果
AC  
実行時間 4 ms / 1,000 ms
コード長 139 bytes
コンパイル時間 259 ms
コンパイル使用メモリ 5,296 KB
実行使用メモリ 5,776 KB
最終ジャッジ日時 2023-09-07 22:50:46
合計ジャッジ時間 1,261 ms
ジャッジサーバーID
(参考情報)
judge2 / judge14
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 4 ms
5,680 KB
testcase_01 AC 4 ms
5,680 KB
testcase_02 AC 3 ms
5,776 KB
testcase_03 AC 3 ms
5,696 KB
testcase_04 AC 3 ms
5,680 KB
testcase_05 AC 3 ms
5,728 KB
testcase_06 AC 3 ms
5,672 KB
testcase_07 AC 3 ms
5,760 KB
testcase_08 AC 3 ms
5,684 KB
testcase_09 AC 3 ms
5,676 KB
testcase_10 AC 4 ms
5,672 KB
testcase_11 AC 3 ms
5,768 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

function! s:main(input) abort
  return a:input[0] == 0 ? 1 : 0
endfunction
let s:input = getline(1, '$')
enew
put =s:main(s:input)
2,$print
0