結果

問題 No.272 NOT回路
ユーザー yozayoza
提出日時 2016-12-10 16:16:57
言語 Vim script
(v9.1)
結果
AC  
実行時間 11 ms / 1,000 ms
コード長 140 bytes
コンパイル時間 34 ms
コンパイル使用メモリ 5,120 KB
実行使用メモリ 11,648 KB
最終ジャッジ日時 2024-05-06 16:43:00
合計ジャッジ時間 837 ms
ジャッジサーバーID
(参考情報)
judge3 / judge2
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 10 ms
11,520 KB
testcase_01 AC 11 ms
11,648 KB
testcase_02 AC 9 ms
11,392 KB
testcase_03 AC 10 ms
11,520 KB
testcase_04 AC 11 ms
11,520 KB
testcase_05 AC 10 ms
11,392 KB
testcase_06 AC 11 ms
11,520 KB
testcase_07 AC 10 ms
11,392 KB
testcase_08 AC 10 ms
11,648 KB
testcase_09 AC 10 ms
11,392 KB
testcase_10 AC 11 ms
11,136 KB
testcase_11 AC 10 ms
11,264 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