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 1, 2022 03:25Yuriy LyfenkoYuriy LyfenkoScore: 5,342Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Dec 1, 2022 03:255,2781,035,992,278217,493,00083,338,000266,788,864
2Dec 1, 2022 03:255,2991,044,477,562207,885,00094,136,000266,858,496
3Dec 1, 2022 03:255,3011,035,058,026219,182,00082,961,000266,977,280
4Dec 1, 2022 03:255,3011,051,539,832212,924,00089,225,000266,964,992
5Dec 1, 2022 03:255,3021,046,599,871210,940,00091,272,000266,846,208
6Dec 1, 2022 03:255,3081,054,655,143211,194,00091,382,000266,997,760
7Dec 1, 2022 03:255,3421,054,385,977211,725,00092,755,000266,805,248
8Dec 1, 2022 03:255,3451,072,385,905212,552,00092,106,000266,936,320
9Dec 1, 2022 03:255,3471,401,477,989304,804,1780264,761,344
10Dec 1, 2022 03:255,3601,062,310,323213,880,00091,663,000266,964,992
11Dec 1, 2022 03:255,4421,499,754,102310,212,2380265,297,920
12Dec 1, 2022 03:255,4441,432,632,167310,311,9470265,347,072