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 29, 2024 21:32E SequeiraE SequeiraScore: 9,515Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Nov 29, 2024 21:329,463800,845,745435,337,000104,080,000262,938,624
2Nov 29, 2024 21:329,464769,461,073440,543,00098,918,000262,971,392
3Nov 29, 2024 21:329,481791,166,779442,881,00097,515,000263,147,520
4Nov 29, 2024 21:329,482792,686,154439,467,000101,027,000263,176,192
5Nov 29, 2024 21:329,515806,468,607440,706,000101,624,000262,955,008
6Nov 29, 2024 21:329,516797,346,292435,113,000107,288,000263,073,792
7Nov 29, 2024 21:329,530767,214,639441,176,000102,040,000263,077,888
8Nov 29, 2024 21:329,536794,629,057435,628,000107,907,000263,184,384
9Nov 29, 2024 21:329,592814,522,633442,632,000104,089,000263,069,696