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 16:40Yurkov AlekseyYurkov AlekseyScore: 5,276Success
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 16:405,021595,556,068286,169,9530267,096,064
2Jan 21, 2024 16:405,044590,319,438287,499,3400267,669,504
3Jan 21, 2024 16:405,057580,622,570288,275,7870267,079,680
4Jan 21, 2024 16:405,226534,334,037220,530,00077,379,000267,956,224
5Jan 21, 2024 16:405,257526,564,737230,026,00069,613,000267,866,112
6Jan 21, 2024 16:405,257520,188,652235,364,00064,284,000267,911,168
7Jan 21, 2024 16:405,276531,990,506233,326,00067,405,000267,821,056
8Jan 21, 2024 16:405,283543,431,319232,637,00068,482,000267,427,840
9Jan 21, 2024 16:405,297546,352,283230,751,00071,156,000267,984,896
10Jan 21, 2024 16:405,301555,060,957235,581,00066,577,000267,939,840
11Jan 21, 2024 16:405,324558,827,539230,648,00072,836,000267,968,512
12Jan 21, 2024 16:405,363561,194,497238,352,00067,337,000267,812,864