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 21:57Alexander FrolovAlexander FrolovScore: 5,697Success
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 21:575,178604,224,836295,131,8480267,624,448
2Dec 30, 2023 21:575,182587,604,640295,390,6500265,551,872
3Dec 30, 2023 21:575,208599,172,250296,835,9380267,436,032
4Dec 30, 2023 21:575,340537,707,316244,944,00059,411,000267,980,800
5Dec 30, 2023 21:575,395557,309,396232,367,00075,148,000267,988,992
6Dec 30, 2023 21:575,491542,606,514236,001,00076,978,000267,747,328
7Dec 30, 2023 21:575,697561,254,054227,910,00096,811,000267,821,056
8Dec 30, 2023 21:576,012587,331,173235,958,000106,719,000267,276,288
9Dec 30, 2023 21:576,245591,282,784245,733,000110,226,000267,689,984
10Dec 30, 2023 21:576,784625,710,748242,538,000144,131,000267,493,376
11Dec 30, 2023 21:576,862646,853,718250,435,000140,682,000267,567,104
12Dec 30, 2023 21:576,969643,622,620247,271,000149,984,000267,468,800