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 12:17Yurkov AlekseyYurkov AlekseyScore: 5,726Success
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 12:175,570691,319,484317,464,1890266,350,592
2Dec 30, 2023 12:175,610567,243,881232,186,00087,579,000266,813,440
3Dec 30, 2023 12:175,633563,409,527236,712,00084,393,000266,829,824
4Dec 30, 2023 12:175,636556,897,541231,898,00089,346,000266,866,688
5Dec 30, 2023 12:175,642560,595,056229,136,00092,441,000266,944,512
6Dec 30, 2023 12:175,709570,821,159230,594,00094,833,000266,792,960
7Dec 30, 2023 12:175,726570,302,078229,271,00097,115,000266,813,440
8Dec 30, 2023 12:175,766565,794,403232,294,00096,366,000266,936,320
9Dec 30, 2023 12:175,784760,837,204329,687,8680266,424,320
10Dec 30, 2023 12:175,790754,840,284330,053,2780266,436,608
11Dec 30, 2023 12:175,804580,010,200230,876,00099,977,000266,833,920
12Dec 30, 2023 12:175,842567,349,288232,085,000100,906,000266,764,288