Codechef has recently updated the compiler versions. A very good news but I noticed that in case of comparatively old problems ( problems dated before the update ), the features introduced by the latest compilers are not working resulting in compile time or run-time errors.
So to test this issue ( to be sure the errors are not due to my silly mistakes ) I experimented on the good old TEST problem for java.
Experiment 1 : I checked the version of java busing
System.getProperty("java.version"); and if it is not java 8 ( 1.8.0_25 as reported by the new codechef IDE ) then throw exception(s).
Experiment 2 : Use any new library or method introduced by Java 8 to check if it shows any compile time error message(s).
Conclusion 1 : The runtime NZEC occured ( as expected ) which indicates that
System.getProperty("java.version"); returned some version number other than java 1.8 which means Java 8 is not used for this problem.
Conclusion 2 : Compile time error orrurred (as expected ) because the new library was not present which means Java 8 is not used.
So my question is that will the compilers be updated for such problems or we should code according to the older version??
Note : This situation does not occur in case of very new problems (dated after the compiler update ), tested SEAND2 in similar manner and it worked.