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 13, 2024 16:13Dan StolyarovDan StolyarovScore: 16,055Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Nov 13, 2024 16:1316,0181,154,742,900808,554,000104,459,000262,889,472
2Nov 13, 2024 16:1316,0361,159,373,694804,582,000109,487,000263,036,928
3Nov 13, 2024 16:1316,0451,156,150,482819,760,00094,823,000262,930,432
4Nov 13, 2024 16:1316,0491,168,363,734810,456,000104,346,000263,053,312
5Nov 13, 2024 16:1316,0551,167,927,191801,894,000113,267,000263,053,312
6Nov 13, 2024 16:1316,0831,172,835,857807,817,000108,919,000263,094,272
7Nov 13, 2024 16:1316,0851,175,622,154806,646,000110,181,000263,020,544
8Nov 13, 2024 16:1316,0941,176,785,246793,642,000123,723,000263,065,600
9Nov 13, 2024 16:1316,1021,177,261,426806,336,000111,461,000263,053,312