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 2, 2024 15:52Joad NacerJoad NacerScore: 13,393Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 2, 2024 15:525,447419,405,745310,453,1600268,173,312
2Jun 2, 2024 15:525,747497,134,527327,602,2370267,866,112
3Jun 2, 2024 15:525,873516,051,888334,758,1740268,034,048
4Jun 2, 2024 15:5210,1912,014,701,055273,545,000307,365,000267,661,312
5Jun 2, 2024 15:5212,9842,943,511,370294,578,000445,536,000267,440,128
6Jun 2, 2024 15:5213,2062,644,267,577304,577,000448,148,000267,505,664
7Jun 2, 2024 15:5213,3932,796,396,154288,449,000474,973,000267,571,200
8Jun 2, 2024 15:5213,4052,721,209,930282,215,000481,857,000267,427,840
9Jun 2, 2024 15:5213,5412,873,082,768283,376,000488,437,000267,448,320
10Jun 2, 2024 15:5213,5542,842,176,135254,127,000518,459,000267,358,208
11Jun 2, 2024 15:5213,6362,918,733,527282,535,000494,692,000267,522,048
12Jun 2, 2024 15:5213,6533,099,522,917270,779,000507,453,000267,317,248