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:52Yuriy LyfenkoYuriy LyfenkoScore: 4,752Success
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:524,5841,155,161,776261,312,7180266,088,448
2Jan 21, 2024 20:524,6281,169,096,951263,791,5690266,244,096
3Jan 21, 2024 20:524,6641,170,007,006265,834,2540267,055,104
4Jan 21, 2024 20:524,7461,102,833,424206,675,00063,826,000267,821,056
5Jan 21, 2024 20:524,7481,117,370,872207,536,00063,074,000267,788,288
6Jan 21, 2024 20:524,7501,100,148,538209,463,00061,306,000267,829,248
7Jan 21, 2024 20:524,7521,116,081,496204,662,00066,184,000267,939,840
8Jan 21, 2024 20:524,7681,115,136,857206,378,00065,387,000267,927,552
9Jan 21, 2024 20:524,8051,120,973,943210,602,00063,284,000267,821,056
10Jan 21, 2024 20:524,8051,109,905,556211,096,00062,814,000267,862,016
11Jan 21, 2024 20:524,8121,122,875,121203,656,00070,614,000267,890,688
12Jan 21, 2024 20:524,8271,130,173,320204,563,00070,574,000267,771,904