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 29, 2023 15:45Alexander FrolovAlexander FrolovScore: 6,664Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Dec 29, 2023 15:456,566839,606,606374,269,5460267,161,600
2Dec 29, 2023 15:456,632708,075,075378,024,2710264,978,432
3Dec 29, 2023 15:456,644608,884,879305,348,00073,362,000267,886,592
4Dec 29, 2023 15:456,6461,064,625,593378,802,6850265,719,808
5Dec 29, 2023 15:456,646611,927,047310,026,00068,784,000267,845,632
6Dec 29, 2023 15:456,649608,045,900311,267,00067,710,000268,005,376
7Dec 29, 2023 15:456,664611,505,431309,262,00070,603,000267,993,088
8Dec 29, 2023 15:456,675620,657,938307,831,00072,668,000267,853,824
9Dec 29, 2023 15:457,060649,187,457319,714,00082,702,000267,911,168
10Dec 29, 2023 15:457,617673,784,966315,571,000118,584,000267,706,368
11Dec 29, 2023 15:457,844699,581,952322,323,000124,802,000267,567,104
12Dec 29, 2023 15:458,216719,416,667339,575,000128,734,000267,563,008