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:14Yuriy LyfenkoYuriy LyfenkoScore: 5,739Success
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:145,679562,307,368236,417,00087,261,000266,559,488
2Nov 27, 2022 19:145,706572,830,632229,514,00095,712,000266,858,496
3Nov 27, 2022 19:145,710568,857,922235,804,00089,686,000266,928,128
4Nov 27, 2022 19:145,711578,121,437231,539,00094,001,000266,964,992
5Nov 27, 2022 19:145,712582,582,524236,060,00089,540,000266,792,960
6Nov 27, 2022 19:145,735565,017,682230,534,00096,387,000266,907,648
7Nov 27, 2022 19:145,739584,605,258234,515,00092,598,000266,948,608
8Nov 27, 2022 19:145,748584,109,263234,882,00092,743,000266,940,416
9Nov 27, 2022 19:145,764577,678,601242,778,00085,747,000266,903,552
10Nov 27, 2022 19:145,8231,099,171,677331,884,9160266,260,480
11Nov 27, 2022 19:145,9021,174,736,348336,406,4920266,878,976
12Nov 27, 2022 19:145,9051,348,438,836336,564,0170265,822,208