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 listDec 21, 2023 23:39Kenneth MaplesKenneth MaplesScore: 5,326Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Dec 21, 2023 23:395,168523,967,373208,393,00086,162,000268,050,432
2Dec 21, 2023 23:395,175536,800,384231,677,00063,277,000268,009,472
3Dec 21, 2023 23:395,198536,313,920207,809,00088,492,000267,988,992
4Dec 21, 2023 23:395,216567,130,197240,739,00056,584,000268,038,144
5Dec 21, 2023 23:395,224542,226,139229,354,00068,404,000268,070,912
6Dec 21, 2023 23:395,251547,787,106232,689,00066,624,000267,337,728
7Dec 21, 2023 23:395,3261,134,201,871303,607,8850266,469,376
8Dec 21, 2023 23:395,3381,166,486,588304,247,4710266,461,184
9Dec 21, 2023 23:395,3761,141,739,856306,459,1050266,461,184
10Dec 21, 2023 23:395,909589,264,256244,879,00091,959,000267,907,072
11Dec 21, 2023 23:395,959585,463,797248,481,00091,176,000267,730,944
12Dec 21, 2023 23:396,267610,237,613245,588,000111,631,000267,935,744