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 listDec 30, 2023 21:33Alexander FrolovAlexander FrolovScore: 5,751Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Dec 30, 2023 21:335,101567,713,962290,757,6730267,382,784
2Dec 30, 2023 21:335,119598,647,914291,767,6220267,522,048
3Dec 30, 2023 21:335,136597,701,808292,741,2390267,145,216
4Dec 30, 2023 21:335,248529,694,515233,539,00065,589,000267,632,640
5Dec 30, 2023 21:335,258543,075,569234,317,00065,367,000267,919,360
6Dec 30, 2023 21:335,293543,033,518231,305,00070,397,000267,984,896
7Dec 30, 2023 21:335,751565,253,245238,568,00089,212,000267,702,272
8Dec 30, 2023 21:336,186601,588,435240,258,000112,316,000267,624,448
9Dec 30, 2023 21:336,232602,007,231268,999,00086,204,000267,624,448
10Dec 30, 2023 21:336,232612,847,021236,807,000118,403,000267,653,120
11Dec 30, 2023 21:336,536616,753,495255,449,000117,122,000267,501,568
12Dec 30, 2023 21:336,685631,639,633245,624,000135,447,000267,599,872