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 listJun 20, 2024 05:43matsuoka-601matsuoka-601Score: 5,445Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 20, 2024 05:435,347554,244,874216,834,00087,932,000266,784,768
2Jun 20, 2024 05:435,354533,353,671215,830,00089,343,000266,870,784
3Jun 20, 2024 05:435,372540,896,309209,349,00096,848,000266,895,360
4Jun 20, 2024 05:435,396561,828,993220,673,00086,871,000266,948,608
5Jun 20, 2024 05:435,410546,968,581223,040,00085,310,000266,829,824
6Jun 20, 2024 05:435,444563,473,553210,201,000100,095,000266,858,496
7Jun 20, 2024 05:435,445558,627,733220,693,00089,688,000266,891,264
8Jun 20, 2024 05:435,446566,059,763207,935,000102,461,000266,579,968
9Jun 20, 2024 05:435,446563,653,123216,215,00094,222,000266,797,056
10Jun 20, 2024 05:435,597706,794,245319,023,3650266,244,096
11Jun 20, 2024 05:435,630693,097,893320,915,9360266,252,288
12Jun 20, 2024 05:435,842770,056,327333,008,0080266,436,608