結果

問題 No.2827 Enter User Name to Play
ユーザー osada-yum
提出日時 2024-11-03 22:49:42
言語 Fortran
(gFortran 14.2.0)
結果
AC  
実行時間 2 ms / 2,000 ms
コード長 565 bytes
コンパイル時間 520 ms
コンパイル使用メモリ 32,384 KB
実行使用メモリ 6,820 KB
最終ジャッジ日時 2024-11-03 22:49:44
合計ジャッジ時間 1,767 ms
ジャッジサーバーID
(参考情報)
judge1 / judge3
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3
other AC * 22
権限があれば一括ダウンロードができます

ソースコード

diff #

!> This file was processed by `fypp`.
!> Today's fortune: "Happy MLE", really OK?
!> ランダムウォーク猿「'ソート' で はっぴー.」
!> ギャンブラー猿「...」
program f902827
  use, intrinsic :: iso_fortran_env
  !> auto use module
  implicit none
  integer(int32) :: n
  character, allocatable :: cs(:)
  integer(int32), allocatable :: ps(:)
  read(input_unit, *) n
  allocate(cs(n))
  read(input_unit, '(*(a1))') cs(:)
  allocate(ps(n))
  read(input_unit, *) ps(:)
  cs(:) = cs(ps)
  write(output_unit, '(*(a1))') cs(:)
end program f902827
0