結果

問題 No.2937 Sigma Plus Problem
ユーザー osada-yum
提出日時 2024-11-05 22:14:11
言語 Fortran
(gFortran 14.2.0)
結果
AC  
実行時間 2 ms / 300 ms
コード長 395 bytes
コンパイル時間 700 ms
コンパイル使用メモリ 30,208 KB
実行使用メモリ 6,820 KB
最終ジャッジ日時 2024-11-05 22:14:13
合計ジャッジ時間 2,267 ms
ジャッジサーバーID
(参考情報)
judge1 / judge3
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3
other AC * 20
権限があれば一括ダウンロードができます

ソースコード

diff #

!> This file was processed by `fypp`.
!> Today's fortune: "Sad CE", really OK?
!> ランダムウォーク猿「'貪欲' で はっぴー.」
!> ギャンブラー猿「流れが来てる...!」
program f902937
  use, intrinsic :: iso_fortran_env
  !> auto use module
  implicit none
  integer(16) :: n
  read(input_unit, *) n
  write(output_unit, '(i0)') n * (n + 1) / 2_16
end program f902937
0