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 20:50Yuriy LyfenkoYuriy LyfenkoScore: 4,697Success
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 20:504,6311,152,113,079263,952,1650268,034,048
2Jan 21, 2024 20:504,6461,141,516,918264,850,2300267,325,440
3Jan 21, 2024 20:504,6751,116,856,186195,079,00071,395,000267,857,920
4Jan 21, 2024 20:504,6821,113,761,244197,867,00068,999,000267,780,096
5Jan 21, 2024 20:504,6871,114,289,349201,363,00065,792,000267,902,976
6Jan 21, 2024 20:504,6931,114,531,831198,857,00068,641,000267,862,016
7Jan 21, 2024 20:504,6971,180,576,876267,735,9050267,210,752
8Jan 21, 2024 20:504,7081,122,960,972198,468,00069,869,000267,853,824
9Jan 21, 2024 20:504,7101,117,768,989203,145,00065,333,000267,927,552
10Jan 21, 2024 20:504,7111,120,438,223202,946,00065,599,000267,837,440
11Jan 21, 2024 20:504,7211,114,650,617201,576,00067,533,000267,841,536
12Jan 21, 2024 20:504,7351,119,978,779194,305,00075,563,000267,833,344