結果

問題 No.272 NOT回路
ユーザー kuuso1kuuso1
提出日時 2016-08-18 02:26:53
言語 F#
(F# 4.0)
結果
AC  
実行時間 52 ms / 1,000 ms
コード長 184 bytes
コンパイル時間 3,221 ms
コンパイル使用メモリ 168,640 KB
実行使用メモリ 23,688 KB
最終ジャッジ日時 2023-08-07 14:58:05
合計ジャッジ時間 4,597 ms
ジャッジサーバーID
(参考情報)
judge14 / judge13
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 51 ms
21,600 KB
testcase_01 AC 51 ms
23,668 KB
testcase_02 AC 51 ms
21,656 KB
testcase_03 AC 51 ms
21,804 KB
testcase_04 AC 51 ms
21,600 KB
testcase_05 AC 51 ms
19,660 KB
testcase_06 AC 51 ms
21,684 KB
testcase_07 AC 52 ms
23,572 KB
testcase_08 AC 51 ms
21,768 KB
testcase_09 AC 52 ms
23,648 KB
testcase_10 AC 51 ms
23,688 KB
testcase_11 AC 50 ms
21,592 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
Microsoft (R) F# Compiler version 11.0.0.0 for F# 5.0
Copyright (c) Microsoft Corporation. All Rights Reserved.

ソースコード

diff #

open System
type Sol() =
    member this.Solve() = 
        Console.WriteLine("{0}",( stdin.ReadLine() |> fun s -> if s = "1" then "0" else "1" ))

let mySol = new Sol()
mySol.Solve()
0