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 22:14Yuriy LyfenkoYuriy LyfenkoScore: 5,845Success
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 22:145,7701,248,989,695328,870,7790265,510,912
2Jan 21, 2024 22:145,7961,178,315,263266,081,00064,294,000264,605,696
3Jan 21, 2024 22:145,8061,229,773,698330,951,1990266,166,272
4Jan 21, 2024 22:145,8201,178,626,109269,210,00062,513,000264,417,280
5Jan 21, 2024 22:145,8221,180,499,028265,696,00066,173,000264,765,440
6Jan 21, 2024 22:145,8331,237,684,391332,473,4290265,347,072
7Jan 21, 2024 22:145,8451,175,285,521269,179,00063,993,000264,265,728
8Jan 21, 2024 22:145,8611,182,585,386266,074,00068,018,000264,359,936
9Jan 21, 2024 22:145,8631,184,931,060273,908,00060,300,000264,335,360
10Jan 21, 2024 22:145,8681,192,655,204269,403,00065,063,000265,793,536
11Jan 21, 2024 22:145,8701,182,003,656270,528,00064,072,000261,885,952
12Jan 21, 2024 22:145,8971,186,588,750265,088,00071,023,000262,569,984