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 21, 2024 22:26Yuriy LyfenkoYuriy LyfenkoScore: 5,191Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 21, 2024 22:264,9481,182,622,430282,024,4180267,395,072
2Jan 21, 2024 22:264,9601,191,315,258282,709,2670265,768,960
3Jan 21, 2024 22:264,9641,200,391,138282,940,3740265,879,552
4Jan 21, 2024 22:265,1571,136,857,561227,193,00066,762,000264,450,048
5Jan 21, 2024 22:265,1571,140,807,235233,139,00060,819,000264,318,976
6Jan 21, 2024 22:265,1671,146,382,107225,619,00068,883,000264,929,280
7Jan 21, 2024 22:265,1911,161,965,344229,485,00066,429,000264,609,792
8Jan 21, 2024 22:265,2301,154,308,617230,942,00067,146,000264,118,272
9Jan 21, 2024 22:265,2511,162,121,183234,744,00064,580,000262,782,976
10Jan 21, 2024 22:265,2621,172,777,182228,243,00071,704,000262,705,152
11Jan 21, 2024 22:265,2631,161,777,879234,836,00065,174,000263,487,488
12Jan 21, 2024 22:265,2751,170,830,485238,267,00062,428,000261,033,984