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 22, 2024 23:28Yuriy LyfenkoYuriy LyfenkoScore: 4,556Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 22, 2024 23:284,4231,136,757,218252,099,0820266,424,320
2Jan 22, 2024 23:284,4661,173,520,940254,542,4740267,255,808
3Jan 22, 2024 23:284,4841,152,466,669255,590,6890265,609,216
4Jan 22, 2024 23:284,5361,109,184,114185,251,00073,328,000265,785,344
5Jan 22, 2024 23:284,5401,104,279,296194,597,00064,175,000265,945,088
6Jan 22, 2024 23:284,5471,104,084,055195,932,00063,270,000265,195,520
7Jan 22, 2024 23:284,5561,115,613,098193,747,00065,934,000265,338,880
8Jan 22, 2024 23:284,5851,125,311,643185,706,00075,658,000265,560,064
9Jan 22, 2024 23:284,5881,128,985,333190,735,00070,788,000262,283,264
10Jan 22, 2024 23:284,5901,107,285,535197,229,00064,380,000263,380,992
11Jan 22, 2024 23:284,5981,122,232,786191,778,00070,285,000266,088,448
12Jan 22, 2024 23:284,6151,151,918,027198,337,00064,742,000264,294,400