1 / 4
Apr 2008

Hi,

I sent an e-mail to contact@spoj.pl, but I'm not sure that is read, so just in case I post it here again.

I'm planning to try some of the problems in Fortran, but the compiler you have is for Fortran 77, but that is 30 years old! smile Can you upgrade it to something newer? gfortran (supporting Fortran 90 gcc.gnu.org/fortran/), would be perfect.

Thanks,
Ã

  • created

    Apr '08
  • last reply

    Sep '16
  • 3

    replies

  • 698

    views

  • 2

    users

  • 1

    like

  • 2

    links

9 months later

Hi,

no news for this yet? frowning

We are starting a local programming competition at our company, and I would like to be able to try some of the many problems you have at SPOJ, but I wouldn't like to learn a new language to try them. Is it possible to add gfortran to the language set?

Thanks,
Angel

9 months later

Hi,

came back to SPOJ after I saw that the Fotran compiler had been updated to gfortran 4.3.2, but I see that Fortran 95 is still not accepted. I think the problem is just that the submitted file is copied as having .f extension, in which case gfortran will treat it as a Fortran 77 file. I guess the solution is just to keep the extension of the submitted file, so those programmers writing F77 code can submit a .f file, and those of us using Fortran90/95 can submit a .f90 file and not get compilation errors.

Cheers,
Ángel

6 years later

Also, it seems that recursive functions included in Fortran 90 are not suported yet