結果

問題 No.581 XOR
コンテスト
ユーザー tanson
提出日時 2025-10-24 00:54:39
言語 Standard ML
(MLton 20210117)
結果
AC  
実行時間 1 ms / 2,000 ms
コード長 349 bytes
コンパイル時間 3,586 ms
コンパイル使用メモリ 689,656 KB
実行使用メモリ 7,720 KB
最終ジャッジ日時 2025-10-24 00:54:44
合計ジャッジ時間 4,408 ms
ジャッジサーバーID
(参考情報)
judge2 / judge3
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 1
other AC * 8
権限があれば一括ダウンロードができます

ソースコード

diff #

fun readLargeInt () =
    valOf (TextIO.scanStream (LargeInt.scan StringCvt.DEC) TextIO.stdIn)


val () =
    let
        val a = LargeWord.fromLargeInt (readLargeInt ())
        val c = LargeWord.fromLargeInt (readLargeInt ())

        val b = LargeWord.xorb (a, c)
    in
        print (LargeInt.toString (LargeWord.toLargeIntX b) ^ "\n")
    end
0