結果

問題 No.272 NOT回路
ユーザー yozayoza
提出日時 2016-12-10 16:16:57
言語 Vim script
(v9.1)
結果
AC  
実行時間 4 ms / 1,000 ms
コード長 140 bytes
コンパイル時間 191 ms
コンパイル使用メモリ 5,372 KB
実行使用メモリ 5,740 KB
最終ジャッジ日時 2023-08-19 09:29:33
合計ジャッジ時間 1,069 ms
ジャッジサーバーID
(参考情報)
judge9 / judge13
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 4 ms
5,608 KB
testcase_01 AC 3 ms
5,552 KB
testcase_02 AC 3 ms
5,740 KB
testcase_03 AC 3 ms
5,616 KB
testcase_04 AC 3 ms
5,640 KB
testcase_05 AC 3 ms
5,632 KB
testcase_06 AC 3 ms
5,532 KB
testcase_07 AC 3 ms
5,664 KB
testcase_08 AC 3 ms
5,552 KB
testcase_09 AC 3 ms
5,548 KB
testcase_10 AC 3 ms
5,548 KB
testcase_11 AC 3 ms
5,556 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