Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fortran 2008への対応 #919

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

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.

None yet

2 participants