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
a) Currently, for each user, the code fetches the testcases again and again. That not only brings repetition in code, but a significant time of file reading. Let's switch that part to reading the files once and storing them in nested maps.
Further in this, input is again being read while logging it in failed testcases.
b) Basically, extending pt.1a : Wherever we're reading the data from any file, ensure it's read only once. If it's being read again, store it in appropriate data types.
Currently, the program runtime is high. See if we can make it faster.
Optional:
Just in case, college asks us to conduct the test on canvas itself, after all the other tasks are done, let's write the code to orient the submissions to match our directory structure, as well. @Darshan-Padia
Further in this, input is again being read while logging it in failed testcases.
b) Basically, extending pt.1a : Wherever we're reading the data from any file, ensure it's read only once. If it's being read again, store it in appropriate data types.
Optional:
@Darshan-Padia