brestprog
brestprog copied to clipboard
Website dedicated to programming olympiads in Belarus
Bumps [nokogiri](https://github.com/sparklemotion/nokogiri) from 1.13.6 to 1.13.9. Release notes Sourced from nokogiri's releases. 1.13.9 / 2022-10-18 Security [CRuby] Vendored libxml2 is updated to address CVE-2022-2309, CVE-2022-40304, and CVE-2022-40303. See GHSA-2qc6-mcvw-92cw for...
Bumps [tzinfo](https://github.com/tzinfo/tzinfo) from 1.2.8 to 2.0.5. Release notes Sourced from tzinfo's releases. v2.0.5 Changed DateTime results to always use the proleptic Gregorian calendar. This affects DateTime results prior to 1582-10-15...
Bumps [nokogiri](https://github.com/sparklemotion/nokogiri) from 1.13.7 to 1.14.3. Release notes Sourced from nokogiri's releases. 1.14.3 / 2023-04-11 Security [CRuby] Vendored libxml2 is updated to address CVE-2023-29469, CVE-2023-28484, and one other security-related issue....
Bumps [activesupport](https://github.com/rails/rails) from 7.0.3.1 to 7.0.4.3. Release notes Sourced from activesupport's releases. v7.0.4.3 Active Support Implement SafeBuffer#bytesplice [CVE-2023-28120] Active Model No changes. Active Record No changes. Action View Ignore certain...
Optimized the algorithm. This optimization is acceptable since we cross out the numbers starting from i^2, hence iterating beyond sqrt(n) in the first loop is unnecessary