結果

問題 No.272 NOT回路
コンテスト
ユーザー kuuso1
提出日時 2016-08-18 02:26:53
言語 F#
(F# 10.0)
コンパイル:
fsharp_c _filename_
実行:
/usr/bin/dotnet_wrap
結果
AC  
実行時間 70 ms / 1,000 ms
コード長 184 bytes
記録
記録タグの例:
初AC ショートコード 純ショートコード 純主流ショートコード 最速実行時間
コンパイル時間 5,044 ms
コンパイル使用メモリ 208,516 KB
実行使用メモリ 29,224 KB
最終ジャッジ日時 2026-05-08 02:41:35
合計ジャッジ時間 6,587 ms
ジャッジサーバーID
(参考情報)
judge1_0 / judge3_1
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 1
other AC * 11
権限があれば一括ダウンロードができます
コンパイルメッセージ
  復元対象のプロジェクトを決定しています...
  /home/judge/data/code/main.fsproj を復元しました (168 ミリ秒)。
  main -> /home/judge/data/code/bin/Release/net10.0/main.dll
  main -> /home/judge/data/code/bin/Release/net10.0/publish/

ソースコード

diff #
raw source code

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