Fizz Buzz Sergey Svistunov

Perform FizzBuzz on a stream of binary integers as fast as possible.

Input: 30 000 000 uint32 values in little-endian binary on STDIN (4 bytes each).

Output: For each number n, print one line:

  • FizzBuzz if n is divisible by both 3 and 5
  • Fizz if n is divisible by 3
  • Buzz if n is divisible by 5
  • n as a decimal string otherwise
Back to listNov 29, 2024 21:41E SequeiraE SequeiraScore: 9,209Success
Source Code

Source code access is restricted. Log in to request access.

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Nov 29, 2024 21:419,163781,303,477436,420,00085,885,000266,498,048
2Nov 29, 2024 21:419,173758,328,337428,427,00094,416,000266,346,496
3Nov 29, 2024 21:419,174767,595,642419,135,000103,785,000266,489,856
4Nov 29, 2024 21:419,188750,437,622444,066,00079,653,000266,289,152
5Nov 29, 2024 21:419,209764,209,856421,761,000103,164,000266,498,048
6Nov 29, 2024 21:419,216759,336,402441,793,00083,528,000266,280,960
7Nov 29, 2024 21:419,222761,412,008409,951,000115,703,000266,412,032
8Nov 29, 2024 21:419,261773,596,032444,637,00083,242,000266,506,240
9Nov 29, 2024 21:419,311768,315,677423,798,000106,949,000266,469,376