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 26, 2024 15:19Joad NacerJoad NacerScore: 4,130Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Dec 26, 2024 15:174,101256,608,429208,760,00024,971,000250,208,256
2Dec 26, 2024 15:174,113260,877,562209,513,00024,942,000250,064,896
3Dec 26, 2024 15:174,116262,968,484210,647,00023,959,000250,302,464
4Dec 26, 2024 15:194,116265,524,254209,652,00024,958,000250,048,512
5Dec 26, 2024 15:174,119258,470,899210,805,00023,977,000250,322,944
6Dec 26, 2024 15:174,126267,527,357210,151,00025,018,000250,290,176
7Dec 26, 2024 15:174,130261,549,153212,446,00022,940,000250,294,272
8Dec 26, 2024 15:194,136256,827,037208,758,00026,968,000250,302,464
9Dec 26, 2024 15:174,137256,666,823209,826,00025,978,000250,023,936
10Dec 26, 2024 15:194,139259,282,746210,910,00024,989,000250,314,752
11Dec 26, 2024 15:174,143260,206,432210,236,00025,905,000250,294,272
12Dec 26, 2024 15:174,145260,821,597212,362,00023,928,000250,281,984