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 listOct 18, 2024 19:27Yuriy LyfenkoYuriy LyfenkoScore: 401,046Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Oct 18, 2024 19:27398,64923,572,938,53110,494,610,00012,228,380,000264,634,368
2Oct 18, 2024 19:27401,04623,715,619,27310,585,279,00012,274,367,000264,835,072
3Oct 18, 2024 19:27404,78223,936,273,92310,411,938,00012,660,629,000262,148,096