提出 #5700425


ソースコード 拡げる

let () =
  let (n, i) = Scanf.scanf "%d %d" (fun n i -> (n, i)) in
    print_string @@ string_of_int @@ n - i + 1

提出情報

提出日時
問題 A - Train
ユーザ nobita0918
言語 OCaml (4.02.3)
得点 100
コード長 117 Byte
結果 AC
実行時間 1 ms
メモリ 384 KiB

ジャッジ結果

セット名 Sample All
得点 / 配点 0 / 0 100 / 100
結果
AC × 3
AC × 8
セット名 テストケース
Sample 0_00.txt, 0_01.txt, 0_02.txt
All 0_00.txt, 0_01.txt, 0_02.txt, 1_00.txt, 1_01.txt, 1_02.txt, 1_03.txt, 1_04.txt
ケース名 結果 実行時間 メモリ
0_00.txt AC 1 ms 384 KiB
0_01.txt AC 1 ms 384 KiB
0_02.txt AC 1 ms 384 KiB
1_00.txt AC 1 ms 384 KiB
1_01.txt AC 1 ms 384 KiB
1_02.txt AC 1 ms 384 KiB
1_03.txt AC 1 ms 384 KiB
1_04.txt AC 1 ms 384 KiB