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 listNov 25, 2024 00:13Joad NacerJoad NacerScore: 4,556Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Dec 12, 2024 21:064,508282,268,857231,962,00024,995,000250,216,448
2Dec 12, 2024 21:064,511278,668,649232,095,00025,010,000250,281,984
3Dec 12, 2024 21:064,525280,870,660231,920,00025,991,000250,183,680
4Dec 12, 2024 21:064,528283,539,705233,065,00025,006,000250,204,160
5Dec 12, 2024 21:064,536283,278,982230,625,00027,954,000250,183,680
6Dec 12, 2024 21:064,548290,379,196233,324,00025,924,000250,310,656
7Dec 12, 2024 21:064,556281,859,314233,698,00025,966,000250,204,160
8Dec 12, 2024 21:064,648289,018,262238,928,00025,992,000250,212,352
9Dec 12, 2024 21:064,652293,112,300240,145,00025,015,000250,261,504
10Nov 25, 2024 00:135,717641,342,061250,806,00075,044,000266,448,896
11Nov 25, 2024 00:135,718641,061,256249,710,00076,216,000266,530,816
12Nov 25, 2024 00:135,746649,507,126257,614,00069,895,000266,530,816