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 listJan 5, 2024 22:01Alexander FrolovAlexander FrolovScore: 5,257Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 5, 2024 22:015,058583,074,495288,317,8120266,813,440
2Jan 5, 2024 22:015,094596,087,480290,339,5840265,613,312
3Jan 5, 2024 22:015,198627,545,695296,266,8500266,776,576
4Jan 5, 2024 22:015,202528,765,734219,926,00076,581,000267,792,384
5Jan 5, 2024 22:015,205534,362,069238,189,00058,520,000267,825,152
6Jan 5, 2024 22:015,218529,619,675219,890,00077,550,000267,902,976
7Jan 5, 2024 22:015,257542,418,553223,038,00076,638,000267,927,552
8Jan 5, 2024 22:015,269542,677,773219,499,00080,815,000267,747,328
9Jan 5, 2024 22:015,274544,147,429221,300,00079,315,000267,935,744
10Jan 5, 2024 22:015,276550,403,860226,044,00074,675,000267,137,024
11Jan 5, 2024 22:015,281553,093,795230,590,00070,401,000267,935,744
12Jan 5, 2024 22:015,295550,179,988226,856,00074,943,000267,800,576