You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The question number part in the nameOfFile variable in evaluate_user method is defined as nameAsList[0][0] + "_" + nameAsList[1][0] + "_" + **question[-1]** + ".cpp". This'll pose issues if Question No. is > 9 ie there are > 9 Questions.
Let's make it generic to read the numeric characters at the last of string for Question No.
Incentivising O(n) runtime over O(n^2) etc.
remove the temp_executable file after the code run is complete.
Likewise, in java files, cleanup the class files for each user after the run. @Darshan-Padia
nameAsList[0][0] + "_" + nameAsList[1][0] + "_" + **question[-1]** + ".cpp". This'll pose issues if Question No. is > 9 ie there are > 9 Questions.Let's make it generic to read the numeric characters at the last of string for Question No.
Likewise, in java files, cleanup the class files for each user after the run.
@Darshan-Padia