結果
問題 |
No.1699 Unfair RPS
|
ユーザー |
![]() |
提出日時 | 2021-09-18 01:21:39 |
言語 | Standard ML (MLton 20210117) |
結果 |
AC
|
実行時間 | 1 ms / 2,000 ms |
コード長 | 180 bytes |
コンパイル時間 | 8,432 ms |
コンパイル使用メモリ | 687,160 KB |
実行使用メモリ | 6,944 KB |
最終ジャッジ日時 | 2024-07-23 18:47:43 |
合計ジャッジ時間 | 9,123 ms |
ジャッジサーバーID (参考情報) |
judge4 / judge2 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 2 |
other | AC * 9 |
コンパイルメッセージ
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 ()
ソースコード
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")