Skip to content

MeghanaVoladri/VampireNumber

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Team

Bhasanth Lakkaraju UFID: 41602287 Meghana Reddy Voladri UFID: 43614999

Output

There's only one worker module which gets the range of numbers and returns the vampire numbers along with the fangs. Number of workers to be created depends on the size of the input range given by the user. We have defined the range as 5000 by default. Depending on the input values, workers get created accordingly.

largest range we got output for, before the laptop froze, is 100000 to 1000000

Output for mix run proj1.exs 100000 200000 :

126027 201 627 117067 167 701 108135 135 801 146137 317 461 192150 210 915 156240 240 651 105210 210 501 180225 225 801 131242 311 422 182250 225 810 133245 315 423 156289 269 581 125248 152 824 173250 231 750 193257 327 591 190260 210 906 104260 260 401 105264 204 516 180297 201 897 145314 351 414 175329 231 759 123354 231 534 140350 350 401 174370 371 470 118440 141 840 132430 323 410 125433 231 543 153436 356 431 125460 246 510 204 615 136525 215 635 124483 281 443 102510 201 510 152608 251 608 186624 216 864 129640 140 926 182650 281 650 116725 161 725 197725 275 719 115672 152 761 152685 261 585 110758 158 701 134725 317 425 105750 150 705 129775 179 725 135828 231 588 135837 351 387 172822 221 782 126846 261 486 156915 165 951 163944 396 414 136948 146 938 193945 395 491 146952 156 942 162976 176 926

CPU time = 5719 ms, Real time = 859 ms, Ratio time = 6.657741559953434

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages