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 15:18matsuoka-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 15:185,253598,033,972299,399,5760267,653,120
2Jun 20, 2024 15:185,273616,656,888300,536,7690267,153,408
3Jun 20, 2024 15:185,275617,088,564300,663,9260265,342,976
4Jun 20, 2024 15:185,393546,029,862237,577,00069,814,000267,976,704
5Jun 20, 2024 15:185,423541,331,237235,860,00073,267,000267,825,152
6Jun 20, 2024 15:185,436557,413,860236,669,00073,207,000267,829,248
7Jun 20, 2024 15:185,443558,257,106245,743,00064,507,000267,857,920
8Jun 20, 2024 15:185,457552,810,798239,670,00071,391,000267,952,128
9Jun 20, 2024 15:185,460565,467,960234,677,00076,568,000267,837,440
10Jun 20, 2024 15:185,464566,514,285234,819,00076,614,000267,755,520
11Jun 20, 2024 15:185,481563,002,192235,078,00077,367,000267,763,712
12Jun 20, 2024 15:185,484565,271,391231,162,00081,409,000267,800,576