
v0.39: Grademe is back in your terminal.
Try the CLI betaPrint the infected host count doubling each interval, from 1, capped at 75000.
January 25, 2003. The SQL Slammer worm fits inside a single 376 byte packet, needs no disk, and just sprays copies of itself as fast as the wire allows. It doubles the count of infected machines about every 8.5 seconds and saturates most of the vulnerable internet in around ten minutes, taking out ATMs, airline check-in, even a nuclear plant's monitoring network. Replay the spread: print the count as it doubles, until it hits the ceiling of hosts left to infect.
./main 3Expected result
1
2
4
8For your own tracking. Tests grade your code.
./main 0Expected result
1Expected files
main.cAllowed functions
printfatoi