結果
問題 |
No.201 yukicoderじゃんけん
|
ユーザー |
|
提出日時 | 2020-06-21 01:29:10 |
言語 | OCaml (5.2.1) |
結果 |
AC
|
実行時間 | 2 ms / 5,000 ms |
コード長 | 279 bytes |
コンパイル時間 | 322 ms |
コンパイル使用メモリ | 21,444 KB |
実行使用メモリ | 5,248 KB |
最終ジャッジ日時 | 2024-10-09 01:32:37 |
合計ジャッジ時間 | 1,051 ms |
ジャッジサーバーID (参考情報) |
judge4 / judge3 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 20 |
ソースコード
Scanf.scanf "%s %s %c %s %s %c" (fun sa pa xa sb pb xb -> let la = String.length pa in let lb = String.length pb in print_endline @@ if la < lb then sb else if la > lb then sa else if pa < pb then sb else if pa > pb then sa else "-1" )