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 17:46Yuriy LyfenkoYuriy LyfenkoScore: 5,599Success
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 17:465,51824,727,031,578314,499,1300264,073,216
2Dec 22, 2023 17:465,53424,938,081,346315,441,2500264,327,168
3Dec 22, 2023 17:465,56224,592,651,709214,558,000102,489,000266,964,992
4Dec 22, 2023 17:465,56324,603,298,396214,464,000102,614,000266,752,000
5Dec 22, 2023 17:465,56424,589,558,049214,067,000103,069,000266,960,896
6Dec 22, 2023 17:465,59424,599,267,675208,472,000110,368,000266,924,032
7Dec 22, 2023 17:465,59924,789,367,934319,126,1930263,188,480
8Dec 22, 2023 17:465,61124,600,808,605205,552,000114,302,000266,878,976
9Dec 22, 2023 17:465,61424,610,671,265221,543,00098,463,000266,981,376
10Dec 22, 2023 17:465,61724,601,817,105222,137,00098,060,000266,833,920
11Dec 22, 2023 17:465,64624,617,387,391212,141,000109,657,000266,956,800
12Dec 22, 2023 17:465,65524,614,010,759222,552,00099,764,000266,878,976