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:43Yuriy LyfenkoYuriy LyfenkoScore: 5,365Success
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:435,282631,335,430211,867,00089,207,000266,858,496
2Nov 27, 2022 19:435,289537,175,112208,332,00093,148,000266,985,472
3Nov 27, 2022 19:435,315534,412,828215,510,00087,424,000266,973,184
4Nov 27, 2022 19:435,321543,682,041209,534,00093,791,000266,891,264
5Nov 27, 2022 19:435,337561,445,736217,310,00086,924,000266,862,592
6Nov 27, 2022 19:435,358565,925,060214,097,00091,321,000266,801,152
7Nov 27, 2022 19:435,365562,843,324208,471,00097,352,000266,969,088
8Nov 27, 2022 19:435,368552,617,155210,968,00094,985,000266,846,208
9Nov 27, 2022 19:435,382565,401,993215,225,00091,521,000266,530,816
10Nov 27, 2022 19:435,6021,005,171,105319,287,7060266,256,384
11Nov 27, 2022 19:435,6421,114,106,293321,575,2340266,055,680
12Nov 27, 2022 19:435,6871,146,537,653324,174,1790265,822,208