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 08:50matsuoka-601matsuoka-601Score: 4,356Success
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 08:504,168570,365,917237,568,6840265,203,712
2Jun 23, 2024 08:504,176562,150,991238,033,2090267,341,824
3Jun 23, 2024 08:504,190563,131,304238,812,5350267,284,480
4Jun 23, 2024 08:504,342483,282,940164,651,00082,824,000265,781,248
5Jun 23, 2024 08:504,344495,650,586164,756,00082,865,000265,850,880
6Jun 23, 2024 08:504,351501,969,688172,016,00076,007,000265,736,192
7Jun 23, 2024 08:504,356485,942,569168,180,00080,085,000265,703,424
8Jun 23, 2024 08:504,393504,374,673171,395,00079,026,000265,883,648
9Jun 23, 2024 08:504,395503,864,504172,106,00078,415,000265,801,728
10Jun 23, 2024 08:504,401500,761,790165,572,00085,264,000265,695,232
11Jun 23, 2024 08:504,406501,556,381173,166,00077,975,000265,809,920
12Jun 23, 2024 08:504,414507,130,724172,183,00079,390,000265,744,384