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:23Alexander FrolovAlexander FrolovScore: 5,411Success
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:235,239578,132,141298,611,2460265,781,248
2Jan 5, 2024 19:235,267587,138,284300,231,7140264,904,704
3Jan 5, 2024 19:235,342613,971,542304,478,3700266,145,792
4Jan 5, 2024 19:235,393535,474,039236,685,00070,710,000267,788,288
5Jan 5, 2024 19:235,395544,763,252234,394,00073,123,000267,812,864
6Jan 5, 2024 19:235,408551,487,833236,827,00071,456,000267,923,456
7Jan 5, 2024 19:235,411550,961,428235,857,00072,571,000267,796,480
8Jan 5, 2024 19:235,419545,604,709246,673,00062,186,000267,931,648
9Jan 5, 2024 19:235,432551,556,311236,412,00073,198,000267,866,112
10Jan 5, 2024 19:235,436559,440,976240,644,00069,198,000267,964,416
11Jan 5, 2024 19:235,485563,627,581245,204,00067,431,000267,984,896
12Jan 5, 2024 19:235,495560,699,443243,607,00069,602,000267,845,632