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 23, 2024 13:18Franek KortaFranek KortaScore: 4,836Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 23, 2024 13:184,682577,823,181266,870,5310265,674,752
2Jun 23, 2024 13:184,701565,410,177267,960,0860265,031,680
3Jun 23, 2024 13:184,760617,968,912271,336,6390267,223,040
4Jun 23, 2024 13:184,817535,131,803196,715,00077,866,000268,054,528
5Jun 23, 2024 13:184,820538,701,255197,384,00077,366,000268,156,928
6Jun 23, 2024 13:184,825540,752,447210,298,00064,707,000268,173,312
7Jun 23, 2024 13:184,836543,576,300193,668,00082,012,000268,091,392
8Jun 23, 2024 13:184,850552,882,981199,226,00077,251,000268,038,144
9Jun 23, 2024 13:184,860547,030,143197,712,00079,280,000268,095,488
10Jun 23, 2024 13:184,863553,912,898202,594,00074,587,000268,156,928
11Jun 23, 2024 13:184,866552,978,100193,844,00083,502,000268,062,720
12Jun 23, 2024 13:184,882556,164,235200,632,00077,631,000267,870,208