結果

問題 No.1699 Unfair RPS
ユーザー harurunharurun
提出日時 2021-09-18 01:21:39
言語 Standard ML
(MLton 20210117)
結果
AC  
実行時間 1 ms / 2,000 ms
コード長 180 bytes
コンパイル時間 7,513 ms
コンパイル使用メモリ 699,316 KB
実行使用メモリ 4,364 KB
最終ジャッジ日時 2023-10-01 01:12:48
合計ジャッジ時間 9,079 ms
ジャッジサーバーID
(参考情報)
judge15 / judge14
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 1 ms
4,328 KB
testcase_01 AC 1 ms
4,336 KB
testcase_02 AC 1 ms
4,364 KB
testcase_03 AC 0 ms
4,336 KB
testcase_04 AC 1 ms
4,336 KB
testcase_05 AC 1 ms
4,336 KB
testcase_06 AC 1 ms
4,332 KB
testcase_07 AC 1 ms
4,336 KB
testcase_08 AC 1 ms
4,340 KB
testcase_09 AC 1 ms
4,336 KB
testcase_10 AC 1 ms
4,336 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
Warning: main.sml 3.5-3.10.
  Declaration is not exhaustive.
    missing pattern: NONE
    in: val SOME b = readInt ()
Warning: main.sml 4.5-4.10.
  Declaration is not exhaustive.
    missing pattern: NONE
    in: val SOME c = readInt ()

ソースコード

diff #

fun readInt () =  TextIO.scanStream (Int.scan StringCvt.DEC) TextIO.stdIn

val SOME b = readInt ()
val SOME c = readInt ()

val () = print (if (b - c) = 0 then "Yes\n" else "No\n")
0