結果

問題 No.272 NOT回路
コンテスト
ユーザー kuuso1
提出日時 2016-08-18 02:26:53
言語 F#
(F# 10.0 + ACL)
コンパイル:
fsharp_c _filename_
実行:
/usr/bin/dotnet_wrap
結果
AC  
実行時間 29 ms / 1,000 ms
+ 103µs
コード長 184 bytes
記録
記録タグの例:
初AC ショートコード 純ショートコード 純主流ショートコード 最速実行時間
コンパイル時間 4,781 ms
コンパイル使用メモリ 211,588 KB
実行使用メモリ 29,312 KB
最終ジャッジ日時 2026-09-20 19:40:28
合計ジャッジ時間 6,418 ms
ジャッジサーバーID
(参考情報)
judge1_0 / judge4_0
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 1
other AC * 11
権限があれば一括ダウンロードができます
コンパイルメッセージ
  復元対象のプロジェクトを決定しています...
  /home/judge/data/code/main.fsproj を復元しました (165 ミリ秒)。
  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