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 04:57matsuoka-601matsuoka-601Score: 5,443Success
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 04:575,387545,330,020207,933,00099,153,000266,928,128
2Jun 20, 2024 04:575,408552,769,350209,408,00098,832,000266,813,440
3Jun 20, 2024 04:575,422552,289,286217,436,00091,605,000266,981,376
4Jun 20, 2024 04:575,424544,985,547226,739,00082,450,000266,948,608
5Jun 20, 2024 04:575,424563,295,649219,135,00090,055,000266,842,112
6Jun 20, 2024 04:575,441554,878,471224,113,00086,043,000266,854,400
7Jun 20, 2024 04:575,443552,964,044224,790,00085,440,000266,903,552
8Jun 20, 2024 04:575,460558,538,404211,516,00099,714,000266,985,472
9Jun 20, 2024 04:575,484740,354,314217,368,00095,228,000266,792,960
10Jun 20, 2024 04:575,588668,729,756318,505,6060266,805,248
11Jun 20, 2024 04:575,669696,948,942323,122,3940266,235,904
12Jun 20, 2024 04:575,913773,043,201337,050,9740266,444,800