Made the setup script compatible with arch linux and also fixed a bug with 0 length url_prefix

Test Plan: Try to install on arch linux

Reviewers: bogdan2412

Reviewed By: bogdan2412

CC: echipa-infoarena

Differential Revision: https://hackers.infoarena.ro/D20
ACM rounds on Infoarena

Summary: Mostly hacks

Test Plan: Manual testing

Reviewers: bogdan2412

CC: echipa-infoarena, dumitran.marius1

Differential Revision: https://hackers.infoarena.ro/D25
Fixes from live
Added cumulative rankings for acm type rounds
Uncommittable hacks from live.
Fixes from live