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 21, 2024 21:01Yuriy LyfenkoYuriy LyfenkoScore: 4,809Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 21, 2024 21:014,6351,171,690,420264,222,4380265,617,408
2Jan 21, 2024 21:014,6401,149,341,145264,466,9290265,252,864
3Jan 21, 2024 21:014,7471,197,482,628270,557,3130268,144,640
4Jan 21, 2024 21:014,7881,126,478,032206,476,00066,440,000268,009,472
5Jan 21, 2024 21:014,7991,126,462,309206,948,00066,592,000267,829,248
6Jan 21, 2024 21:014,8061,135,609,352197,899,00076,040,000267,853,824
7Jan 21, 2024 21:014,8091,125,698,344206,629,00067,512,000267,829,248
8Jan 21, 2024 21:014,8101,124,988,894204,088,00070,060,000267,759,616
9Jan 21, 2024 21:014,8161,128,967,072205,606,00068,878,000267,845,632
10Jan 21, 2024 21:014,8171,117,852,591203,164,00071,409,000267,784,192
11Jan 21, 2024 21:014,8231,127,125,695202,352,00072,560,000267,857,920
12Jan 21, 2024 21:014,8291,126,843,702213,621,00061,642,000267,894,784