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 5, 2024 21:14Alexander FrolovAlexander FrolovScore: 5,201Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 5, 2024 21:144,984576,251,060284,075,9780266,915,840
2Jan 5, 2024 21:144,995577,803,673284,721,0600267,403,264
3Jan 5, 2024 21:145,093588,292,586290,329,0240263,712,768
4Jan 5, 2024 21:145,140532,380,611214,733,00078,267,000267,886,592
5Jan 5, 2024 21:145,143522,837,685225,282,00067,879,000267,943,936
6Jan 5, 2024 21:145,155531,224,578227,110,00066,738,000267,894,784
7Jan 5, 2024 21:145,201554,115,618217,123,00079,314,000267,968,512
8Jan 5, 2024 21:145,210550,869,641185,858,000111,121,000267,948,032
9Jan 5, 2024 21:145,211544,011,055227,296,00069,704,000267,739,136
10Jan 5, 2024 21:145,216539,240,947225,769,00071,560,000267,939,840
11Jan 5, 2024 21:145,228548,475,893231,780,00066,222,000267,468,800
12Jan 5, 2024 21:145,240545,146,564231,840,00066,818,000267,919,360