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 22, 2024 22:33Yuriy LyfenkoYuriy LyfenkoScore: 4,825Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 22, 2024 22:334,7801,119,122,283211,016,00061,461,000266,227,712
2Jan 22, 2024 22:334,8011,122,456,537202,829,00070,844,000264,552,448
3Jan 22, 2024 22:334,8011,122,208,045211,006,00062,675,000265,613,312
4Jan 22, 2024 22:334,8101,126,605,216206,884,00067,311,000265,064,448
5Jan 22, 2024 22:334,8141,125,192,612206,794,00067,605,000264,232,960
6Jan 22, 2024 22:334,8181,131,393,325211,545,00063,056,000265,551,872
7Jan 22, 2024 22:334,8251,133,605,743205,237,00069,760,000265,256,960
8Jan 22, 2024 22:334,8691,144,742,729205,659,00071,880,000264,482,816
9Jan 22, 2024 22:334,9011,152,035,468199,543,00079,817,000261,758,976
10Jan 22, 2024 22:334,9981,184,233,534284,860,2740266,764,288
11Jan 22, 2024 22:335,0051,181,748,371285,275,4100265,342,976
12Jan 22, 2024 22:335,0251,174,122,501286,443,9300267,210,752