結果

問題 No.272 NOT回路
ユーザー kuuso1kuuso1
提出日時 2016-08-18 02:26:53
言語 F#
(F# 4.0)
結果
AC  
実行時間 53 ms / 1,000 ms
コード長 184 bytes
コンパイル時間 7,949 ms
コンパイル使用メモリ 188,164 KB
実行使用メモリ 27,240 KB
最終ジャッジ日時 2024-04-25 08:41:24
合計ジャッジ時間 10,176 ms
ジャッジサーバーID
(参考情報)
judge5 / judge1
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 50 ms
27,008 KB
testcase_01 AC 52 ms
27,000 KB
testcase_02 AC 52 ms
27,136 KB
testcase_03 AC 50 ms
27,136 KB
testcase_04 AC 49 ms
27,008 KB
testcase_05 AC 49 ms
27,240 KB
testcase_06 AC 50 ms
27,136 KB
testcase_07 AC 51 ms
27,008 KB
testcase_08 AC 51 ms
27,136 KB
testcase_09 AC 53 ms
27,236 KB
testcase_10 AC 50 ms
27,136 KB
testcase_11 AC 47 ms
27,008 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
  復元対象のプロジェクトを決定しています...
  /home/judge/data/code/main.fsproj を復元しました (266 ms)。
MSBuild のバージョン 17.9.6+a4ecab324 (.NET)
  main -> /home/judge/data/code/bin/Release/net8.0/main.dll
  main -> /home/judge/data/code/bin/Release/net8.0/publish/

ソースコード

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