結果

問題 No.64 XORフィボナッチ数列
ユーザー jj
提出日時 2016-07-28 21:17:51
言語 Fortran
(gFortran 14.2.0)
結果
AC  
実行時間 2 ms / 5,000 ms
コード長 218 bytes
コンパイル時間 217 ms
コンパイル使用メモリ 30,720 KB
実行使用メモリ 6,820 KB
最終ジャッジ日時 2024-11-06 18:14:12
合計ジャッジ時間 990 ms
ジャッジサーバーID
(参考情報)
judge5 / judge3
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3
other AC * 11
権限があれば一括ダウンロードができます

ソースコード

diff #

  integer(kind=8)::F0,F1,N,modn,res
  read *, F0, F1, N
  modn=MOD(N,3)
  select case (modn)
  case(0)
     res = F0
  case(1)
     res = F1
  case(2)
     res = IEOR(F0,F1)
  end select
  print '(i0)',res
end program
0