ThomaFM / ucfjv

Hackpack for UCF Junior Varsity/Developmental Team
5 stars 0 forks source link

Expo and Sieve #31

Closed azurerazor closed 1 month ago

azurerazor commented 1 month ago

Summary

Code for Binary Expo and Sieve of Eratosthenes

Submission Link/Screenshots

https://vjudge.net/solution/54668344/2rrhUh1ih24habscIrab https://codeforces.com/gym/102953/submission/284095772

note that the second submission link was done on gym and therefore is not visible unless you have solved the problem It tests the sieve on 10^7 and it runs in less than 2 seconds at least

Also would like to know whether the const mod should be swapped to a function parameter

Checklist