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:33Yuriy LyfenkoYuriy LyfenkoScore: 4,689Success
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:334,5761,154,363,746260,844,2460266,145,792
2Jan 21, 2024 20:334,6131,160,726,094262,915,3260265,134,080
3Jan 21, 2024 20:334,6311,167,841,941263,988,7430266,665,984
4Jan 21, 2024 20:334,6691,114,733,701198,314,00067,817,000264,155,136
5Jan 21, 2024 20:334,6871,127,412,496202,656,00064,481,000265,486,336
6Jan 21, 2024 20:334,6881,120,131,867204,707,00062,521,000266,194,944
7Jan 21, 2024 20:334,6891,132,588,680200,438,00066,812,000265,691,136
8Jan 21, 2024 20:334,6941,101,602,714198,444,00069,109,000264,146,944
9Jan 21, 2024 20:334,6971,123,030,469202,808,00064,898,000264,134,656
10Jan 21, 2024 20:334,7001,115,138,868203,735,00064,176,000263,593,984
11Jan 21, 2024 20:334,7131,126,598,902199,725,00068,905,000264,060,928
12Jan 21, 2024 20:334,7621,136,715,468199,097,00072,309,000262,791,168