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 00:53Joad NacerJoad NacerScore: 3,489Success
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 00:533,477220,214,886173,155,00025,022,000250,298,368
2Dec 31, 2024 00:533,482232,127,145174,517,00023,933,000250,023,936
3Dec 31, 2024 00:533,482230,604,191174,523,00023,934,000250,163,200
4Dec 31, 2024 00:533,482225,881,393173,541,00024,934,000250,208,256
5Dec 31, 2024 00:533,489224,376,218173,905,00024,986,000250,269,696
6Dec 31, 2024 00:533,493223,624,103175,081,00024,011,000250,290,176
7Dec 31, 2024 00:533,494222,169,447174,155,00025,022,000250,306,560
8Dec 31, 2024 00:533,499224,226,566173,503,00025,925,000250,335,232
9Dec 31, 2024 00:533,500225,079,598171,577,00027,931,000250,032,128