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 listJun 20, 2024 06:12matsuoka-601matsuoka-601Score: 5,327Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 20, 2024 06:125,301547,505,652232,743,00069,414,000266,854,400
2Jun 20, 2024 06:125,312542,727,721234,586,00068,205,000266,964,992
3Jun 20, 2024 06:125,314539,955,888224,212,00078,671,000266,944,512
4Jun 20, 2024 06:125,315541,963,657229,983,00072,946,000266,817,536
5Jun 20, 2024 06:125,316553,538,740232,306,00070,701,000266,977,280
6Jun 20, 2024 06:125,318558,785,977227,835,00075,284,000266,977,280
7Jun 20, 2024 06:125,327544,911,605225,484,00078,167,000266,915,840
8Jun 20, 2024 06:125,365550,690,436230,908,00074,916,000266,899,456
9Jun 20, 2024 06:125,371548,470,723229,352,00076,783,000266,752,000
10Jun 20, 2024 06:125,447629,176,915310,474,9160264,331,264
11Jun 20, 2024 06:125,480640,376,062312,369,2190264,499,200
12Jun 20, 2024 06:125,506642,746,222313,829,9600265,551,872