結果

問題 No.2400 Product of Gaussian Integer
ユーザー osada-yumosada-yum
提出日時 2023-10-09 16:30:09
言語 Fortran
(gFortran 14.2.0)
結果
AC  
実行時間 2 ms / 2,000 ms
コード長 300 bytes
コンパイル時間 200 ms
コンパイル使用メモリ 30,208 KB
実行使用メモリ 6,944 KB
最終ジャッジ日時 2024-07-26 18:34:40
合計ジャッジ時間 862 ms
ジャッジサーバーID
(参考情報)
judge5 / judge2
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3
other AC * 13
権限があれば一括ダウンロードができます

ソースコード

diff #

program yukicoder_2400
  use, intrinsic :: iso_fortran_env
  implicit none
  integer(int64) :: a_re, a_im, b_re, b_im
  read(input_unit, *) a_re, a_im
  read(input_unit, *) b_re, b_im
  write(output_unit, '(*(i0, 1x))') a_re * b_re - a_im * b_im, a_re * b_im + a_im * b_re
end program yukicoder_2400
0