Skip to content

feat(Scripts): accept mutiple solutions from the same problem and user

Odair M. requested to merge speedup-multiple-versions into main

Accept multiple solutions from the same problem and user. Modify the script Speedup.sh to accept multiples solution from the same problem. The Speedup now runs the command: find {${problem} -name "time* and catch all files that starts with time and cute with the delimiter dot and get the second field. This field is the postfix, and after getting the postfix, the script searches for 'answer.md5.postfix> to check if the solution matches the serial answer. Example:

  • time.ramfs
  • answer.md5.ramfs
  • time
  • answer.md5

Will generate the table:

Problema Participante Speedup Detalhe
smooth odair 14.9959 ramfs
smooth odair 1.8755 -

BREAKING CHANGE: Modify the script Speedup.sh to accept multiples solution from the same problem. The Speedup now runs the command: find {${problem} -name "time* and catch all files that starts with time and cute with the delimiter dot and get the second field. This field is the postfix, and after getting the postfix, the script searches for 'answer.md5.postfix> to check if the solution matches the serial answer.

docs(README): update readme.md to include how to submite multiples solutions

feat(Speedup): add usage function

Merge request reports

Loading