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 listDec 31, 2023 13:42Alexander FrolovAlexander FrolovScore: 6,119Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Dec 31, 2023 13:425,243582,367,793298,835,0370263,921,664
2Dec 31, 2023 13:425,266585,359,954300,168,0240265,359,360
3Dec 31, 2023 13:425,287613,645,300301,362,1260265,711,616
4Dec 31, 2023 13:425,368546,479,360232,956,00073,045,000267,988,992
5Dec 31, 2023 13:425,395544,475,356235,688,00071,819,000267,829,248
6Dec 31, 2023 13:425,434559,007,963237,870,00071,867,000267,898,880
7Dec 31, 2023 13:426,119591,902,812260,318,00088,447,000267,726,848
8Dec 31, 2023 13:426,351603,449,317249,388,000112,626,000267,558,912
9Dec 31, 2023 13:426,504612,669,294259,419,000111,325,000267,599,872
10Dec 31, 2023 13:426,577624,752,433257,500,000117,404,000267,681,792
11Dec 31, 2023 13:426,699626,346,838266,576,000115,249,000267,411,456
12Dec 31, 2023 13:426,893639,669,048260,921,000131,960,000267,186,176