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 listSep 9, 2024 04:18matsuoka-601matsuoka-601Score: 5,457Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Sep 9, 2024 04:185,291537,447,411217,765,00083,834,000267,030,528
2Sep 9, 2024 04:185,319538,326,284211,138,00092,060,000267,149,312
3Sep 9, 2024 04:185,337557,873,527207,327,00096,882,000267,116,544
4Sep 9, 2024 04:185,347540,577,309214,429,00090,338,000267,051,008
5Sep 9, 2024 04:185,359554,759,983210,558,00094,899,000267,116,544
6Sep 9, 2024 04:185,366551,010,168213,497,00092,349,000267,149,312
7Sep 9, 2024 04:185,457545,716,924213,723,00097,329,000267,051,008
8Sep 9, 2024 04:185,480574,750,940218,151,00094,225,000267,104,256
9Sep 9, 2024 04:185,481562,881,515207,942,000104,468,000267,083,776
10Sep 9, 2024 04:185,482551,699,515214,018,00098,468,000266,989,568
11Sep 9, 2024 04:185,563561,584,826218,275,00098,841,000267,124,736
12Sep 9, 2024 04:185,567579,924,364212,219,000105,079,000266,903,552