Skip to content

Conversation

jj1guj
Copy link

@jj1guj jj1guj commented Dec 19, 2022

ojの実装上Fortran 2008のコードをFortranだと認識できないようになっていたのでFortran 2008の拡張子である"f08"を追加しました.
AtCoderではFortran 2008が使用されておりFortranの中でもメジャーなバージョンだと認識しています.

言語 コンパイル・インタプリタ 実行コマンド
Fortran (GNU Fortran 9.2.1) gfortran -O2 -o ./a.out ./Main.f08 ./a.out

https://atcoder.jp/contests/practice/rules

@koba-e964
Copy link
Member

私が PR を放置している間に AtCoder で使われているのが Fortran 2018 になってしまいましたね…。
https://fortran-lang.discourse.group/t/is-there-a-standard-file-suffix-for-modern-fortran-code/3550/2 を読む限り、以下の 2 種類のオプションがありそうです

  • .f18 にも対応する
  • .f90 のみに対応する

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants