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 11:34Vadim AlekseevVadim AlekseevScore: 7,049Success
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 11:346,846678,652,139390,208,9760262,135,808
2Dec 30, 2023 11:346,887721,508,748392,585,8620263,135,232
3Dec 30, 2023 11:346,962724,784,774396,814,4880264,105,984
4Dec 30, 2023 11:346,967658,152,290308,981,00088,132,000264,462,336
5Dec 30, 2023 11:347,009662,209,323310,399,00089,135,000264,585,216
6Dec 30, 2023 11:347,038669,603,170315,506,00085,667,000264,380,416
7Dec 30, 2023 11:347,049664,431,903304,149,00097,653,000264,572,928
8Dec 30, 2023 11:347,050675,324,880306,057,00095,773,000264,503,296
9Dec 30, 2023 11:347,072677,536,570294,058,000109,021,000264,425,472
10Dec 30, 2023 11:347,118681,425,563296,630,000109,070,000264,568,832
11Dec 30, 2023 11:347,154668,197,640307,604,000100,150,000264,589,312
12Dec 30, 2023 11:347,239696,303,086300,004,000112,629,000264,404,992