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 listNov 27, 2022 19:17Yuriy LyfenkoYuriy LyfenkoScore: 5,347Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Nov 27, 2022 19:175,313552,207,517214,306,00088,539,000266,797,056
2Nov 27, 2022 19:175,314532,700,774216,959,00085,965,000266,924,032
3Nov 27, 2022 19:175,320655,533,194207,096,00096,116,000266,993,664
4Nov 27, 2022 19:175,326547,288,812218,309,00085,293,000266,973,184
5Nov 27, 2022 19:175,329548,287,914213,640,00090,113,000266,891,264
6Nov 27, 2022 19:175,331556,876,602218,483,00085,360,000266,878,976
7Nov 27, 2022 19:175,347682,694,633218,150,00086,648,000266,805,248
8Nov 27, 2022 19:175,368557,247,465212,372,00093,604,000266,764,288
9Nov 27, 2022 19:175,374555,219,206215,128,00091,173,000266,895,360
10Nov 27, 2022 19:175,9421,316,331,369338,683,8570266,424,320
11Nov 27, 2022 19:175,9541,410,976,309339,385,2920266,432,512
12Nov 27, 2022 19:176,0261,522,978,774343,482,6810266,428,416