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 28, 2022 06:56Yuriy LyfenkoYuriy LyfenkoScore: 5,337Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Nov 28, 2022 06:565,295537,974,054217,636,00084,179,000266,801,152
2Nov 28, 2022 06:565,303552,680,054211,098,00091,178,000266,952,704
3Nov 28, 2022 06:565,318553,643,606208,399,00094,726,000266,887,168
4Nov 28, 2022 06:565,324541,160,730216,770,00086,708,000266,743,808
5Nov 28, 2022 06:565,334556,696,981210,725,00093,321,000266,981,376
6Nov 28, 2022 06:565,336550,154,232214,918,00089,211,000266,907,648
7Nov 28, 2022 06:565,337554,408,854214,164,00090,068,000266,915,840
8Nov 28, 2022 06:565,377568,440,141215,147,00091,336,000266,551,296
9Nov 28, 2022 06:565,378573,984,732215,904,00090,639,000265,949,184
10Nov 28, 2022 06:565,5121,044,431,345314,159,1550266,240,000
11Nov 28, 2022 06:565,5591,078,022,349316,858,1760265,605,120
12Nov 28, 2022 06:565,5921,152,495,152318,719,7270265,461,760