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 27, 2022 16:41Sergey StreminSergey StreminScore: 5,503Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Nov 27, 2022 16:415,450552,334,050221,333,00089,345,000267,378,688
2Nov 27, 2022 16:415,456544,317,835222,132,00088,852,000267,292,672
3Nov 27, 2022 16:415,462556,915,659228,930,00082,415,000267,288,576
4Nov 27, 2022 16:415,465549,564,862230,324,00081,171,000267,313,152
5Nov 27, 2022 16:415,480554,083,600227,189,00085,196,000267,419,648
6Nov 27, 2022 16:415,492554,555,402230,169,00082,861,000267,317,248
7Nov 27, 2022 16:415,503573,470,517223,228,00090,471,000267,476,992
8Nov 27, 2022 16:415,507573,735,451235,678,00078,220,000267,345,920
9Nov 27, 2022 16:415,522568,040,868220,938,00093,823,000267,304,960
10Nov 27, 2022 16:416,3611,593,955,391362,550,7740263,999,488
11Nov 27, 2022 16:416,3801,585,297,039363,647,1530264,093,696
12Nov 27, 2022 16:416,3921,634,213,483364,327,6900264,032,256