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 22, 2023 18:18Yuriy LyfenkoYuriy LyfenkoScore: 5,080Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Dec 22, 2023 18:185,0161,187,065,222198,947,00086,977,000266,829,824
2Dec 22, 2023 18:185,0261,588,189,694286,461,3870265,412,608
3Dec 22, 2023 18:185,0411,187,403,972185,910,000101,405,000266,792,960
4Dec 22, 2023 18:185,0431,480,457,642287,422,6360265,596,928
5Dec 22, 2023 18:185,0511,184,506,610198,681,00089,203,000266,833,920
6Dec 22, 2023 18:185,0621,189,974,926215,127,00073,384,000266,747,904
7Dec 22, 2023 18:185,0801,193,896,617217,674,00071,892,000266,944,512
8Dec 22, 2023 18:185,0891,194,402,422152,124,000137,926,000266,801,152
9Dec 22, 2023 18:185,0911,588,980,158290,163,4390267,014,144
10Dec 22, 2023 18:185,1931,189,179,380194,265,000101,709,000266,821,632
11Dec 22, 2023 18:185,2191,209,069,822188,665,000108,845,000266,981,376
12Dec 22, 2023 18:185,2281,199,547,359204,567,00093,457,000266,924,032