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 listNov 5, 2024 05:50Lucas Sta MariaLucas Sta MariaScore: 33,016Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Nov 5, 2024 05:5032,7212,120,551,5231,749,427,000115,689,000267,886,592
2Nov 5, 2024 05:5033,0162,145,518,1581,775,622,000106,294,000267,931,648
3Nov 5, 2024 05:5033,0852,139,090,6741,779,620,000106,230,000267,960,320