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 listJan 24, 2024 05:17Yuriy LyfenkoYuriy LyfenkoScore: 8,525Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 24, 2024 05:174,5511,156,135,440259,432,0770266,641,408
2Jan 24, 2024 05:174,5841,184,060,386261,264,8710266,366,976
3Jan 24, 2024 05:174,5961,159,806,800261,976,3800265,637,888
4Jan 24, 2024 05:178,3282,406,838,596208,861,000265,824,000266,240,000
5Jan 24, 2024 05:178,4402,480,194,729218,082,000262,982,000266,063,872
6Jan 24, 2024 05:178,4682,779,379,582212,203,000270,456,000266,223,616
7Jan 24, 2024 05:178,5252,497,515,968226,913,000259,033,000266,293,248
8Jan 24, 2024 05:178,6182,489,597,956218,220,000273,033,000265,707,520
9Jan 24, 2024 05:178,6322,490,614,578220,843,000271,175,000266,289,152
10Jan 24, 2024 05:178,6712,664,113,875229,407,000264,852,000266,264,576
11Jan 24, 2024 05:178,6722,513,743,793208,662,000285,644,000266,285,056
12Jan 24, 2024 05:178,7002,511,334,808197,302,000298,619,000266,366,976