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 listJun 2, 2024 16:12Joad NacerJoad NacerScore: 13,323Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 2, 2024 16:125,189381,467,722295,754,8170268,201,984
2Jun 2, 2024 16:125,251394,702,794299,321,0490268,169,216
3Jun 2, 2024 16:125,305385,208,804302,358,8740268,214,272
4Jun 2, 2024 16:1210,5652,192,804,948277,161,000325,053,000267,673,600
5Jun 2, 2024 16:1213,3092,708,498,077289,047,000469,575,000262,373,376
6Jun 2, 2024 16:1213,3103,071,330,192284,499,000474,165,000267,427,840
7Jun 2, 2024 16:1213,3232,789,123,540295,101,000464,335,000267,493,376
8Jun 2, 2024 16:1213,4062,775,066,958258,248,000505,913,000267,530,240
9Jun 2, 2024 16:1213,4152,726,081,635263,204,000501,441,000264,396,800
10Jun 2, 2024 16:1213,4352,835,627,060270,410,000495,408,000267,395,072
11Jun 2, 2024 16:1213,5112,820,079,918291,110,000478,990,000264,568,832
12Jun 2, 2024 16:1213,5362,827,298,996273,383,000498,142,000264,740,864