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 6, 2024 19:51Alexander FrolovAlexander FrolovScore: 6,299Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 6, 2024 19:516,076639,665,403346,328,8790266,780,672
2Jan 6, 2024 19:516,129656,917,061349,349,6600267,472,896
3Jan 6, 2024 19:516,171667,052,936351,742,4330265,236,480
4Jan 6, 2024 19:516,245584,863,430291,428,00064,537,000267,931,648
5Jan 6, 2024 19:516,248594,313,501281,548,00074,615,000267,673,600
6Jan 6, 2024 19:516,249592,781,444289,662,00066,530,000267,665,408
7Jan 6, 2024 19:516,299598,615,086287,237,00071,809,000267,718,656
8Jan 6, 2024 19:516,311600,005,310284,754,00074,988,000267,804,672
9Jan 6, 2024 19:516,315593,619,487282,614,00077,347,000267,747,328
10Jan 6, 2024 19:516,319600,481,390291,824,00068,364,000267,747,328
11Jan 6, 2024 19:516,325609,527,964288,201,00072,305,000267,751,424
12Jan 6, 2024 19:516,325614,470,822288,846,00071,699,000267,624,448