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, 2024 01:27Joad NacerJoad NacerScore: 3,483Success
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, 2024 01:273,478230,656,783175,203,00023,026,000250,220,544
2Dec 31, 2024 01:273,480227,683,978173,294,00025,042,000250,142,720
3Dec 31, 2024 01:273,482230,067,032172,537,00025,930,000250,208,256
4Dec 31, 2024 01:273,482228,378,018174,436,00024,060,000250,179,584
5Dec 31, 2024 01:273,483223,295,625172,574,00025,936,000250,269,696
6Dec 31, 2024 01:273,484227,938,338174,656,00023,952,000250,195,968
7Dec 31, 2024 01:273,487225,192,724173,766,00024,966,000250,335,232
8Dec 31, 2024 01:273,501227,254,612174,590,00024,941,000250,212,352
9Dec 31, 2024 01:273,501227,156,284172,620,00026,940,000250,322,944