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 listJan 5, 2024 19:06Alexander FrolovAlexander FrolovScore: 6,364Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 5, 2024 19:066,218651,060,619354,438,8160266,792,960
2Jan 5, 2024 19:066,282658,103,965358,056,3120267,505,664
3Jan 5, 2024 19:066,306650,923,160359,460,6230266,915,840
4Jan 5, 2024 19:066,354602,776,417296,618,00065,579,000267,812,864
5Jan 5, 2024 19:066,360594,518,247295,978,00066,569,000267,997,184
6Jan 5, 2024 19:066,363592,179,912283,852,00078,847,000267,952,128
7Jan 5, 2024 19:066,364603,693,580308,422,00054,307,000267,755,520
8Jan 5, 2024 19:066,383607,105,192296,951,00066,890,000267,980,800
9Jan 5, 2024 19:066,391601,495,942293,867,00070,447,000267,919,360
10Jan 5, 2024 19:066,399595,356,312286,232,00078,515,000267,816,960
11Jan 5, 2024 19:066,403613,087,040302,118,00062,856,000267,784,192
12Jan 5, 2024 19:066,438611,341,729295,821,00071,159,000267,952,128