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 listJan 3, 2024 22:39Alexander FrolovAlexander FrolovScore: 5,441Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 3, 2024 22:395,286584,977,174301,297,2480265,383,936
2Jan 3, 2024 22:395,311588,163,999302,710,1650264,646,656
3Jan 3, 2024 22:395,339591,758,632304,331,3230266,211,328
4Jan 3, 2024 22:395,422548,576,598238,269,00070,783,000267,935,744
5Jan 3, 2024 22:395,424549,236,928237,655,00071,498,000267,902,976
6Jan 3, 2024 22:395,424542,542,009240,566,00068,591,000267,976,704
7Jan 3, 2024 22:395,441548,256,728234,581,00075,543,000267,804,672
8Jan 3, 2024 22:395,477558,209,745239,668,00072,504,000267,747,328
9Jan 3, 2024 22:395,483552,904,889230,218,00082,290,000267,780,096
10Jan 3, 2024 22:395,487556,804,290237,901,00074,856,000267,837,440
11Jan 3, 2024 22:395,494561,641,376243,348,00069,813,000267,833,344
12Jan 3, 2024 22:395,496579,651,793246,440,00066,831,000267,960,320