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 30, 2023 16:56Alexander FrolovAlexander FrolovScore: 7,357Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Dec 30, 2023 16:566,060641,321,626345,398,3400267,661,312
2Dec 30, 2023 16:566,080643,108,223346,568,0090264,409,088
3Dec 30, 2023 16:566,095632,820,892347,425,8620267,087,872
4Dec 30, 2023 16:566,279601,113,152282,943,00074,985,000267,894,784
5Dec 30, 2023 16:566,280609,110,482294,193,00063,776,000267,862,016
6Dec 30, 2023 16:566,600626,882,860281,910,00094,301,000267,898,880
7Dec 30, 2023 16:567,357656,101,976315,010,000104,340,000267,653,120
8Dec 30, 2023 16:567,556667,743,863305,312,000125,359,000267,436,032
9Dec 30, 2023 16:567,622667,670,697300,711,000133,761,000266,854,400
10Dec 30, 2023 16:567,665683,352,541322,051,000114,871,000267,628,544
11Dec 30, 2023 16:567,752691,455,153310,903,000130,959,000267,411,456
12Dec 30, 2023 16:567,785676,260,524306,136,000137,612,000267,489,280