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 22, 2023 18:08Yuriy LyfenkoYuriy LyfenkoScore: 5,085Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Dec 22, 2023 18:085,0071,038,371,069194,283,00091,132,000266,887,168
2Dec 22, 2023 18:035,0241,023,935,364196,878,00089,490,000266,809,344
3Dec 22, 2023 18:035,0301,034,455,419194,698,00092,021,000266,964,992
4Dec 22, 2023 18:085,0361,038,412,799194,169,00092,908,000266,969,088
5Dec 22, 2023 18:035,0401,328,515,681287,271,5840266,899,456
6Dec 22, 2023 18:035,0551,380,434,565288,111,5680266,047,488
7Dec 22, 2023 18:035,0561,039,493,034198,909,00089,306,000266,756,096
8Dec 22, 2023 18:035,0711,038,764,727190,334,00098,691,000266,797,056
9Dec 22, 2023 18:085,0761,049,026,083201,638,00087,712,000266,956,800
10Dec 22, 2023 18:085,0811,044,851,927219,289,00070,338,000266,883,072
11Dec 22, 2023 18:085,0811,445,723,925289,617,3120266,960,896
12Dec 22, 2023 18:035,0831,038,434,929187,607,000102,152,000266,915,840
13Dec 22, 2023 18:035,0851,050,982,248211,678,00078,142,000266,784,768
14Dec 22, 2023 18:085,0881,039,462,145218,798,00071,236,000266,821,632
15Dec 22, 2023 18:085,0881,416,729,712290,008,6120266,244,096
16Dec 22, 2023 18:085,0981,044,447,332203,690,00086,868,000266,858,496
17Dec 22, 2023 18:035,0981,426,327,681290,579,1420265,850,880
18Dec 22, 2023 18:085,1481,492,875,200293,448,1450265,793,536
19Dec 22, 2023 18:085,1931,041,644,215192,353,000103,651,000266,936,320
20Dec 22, 2023 18:035,2311,057,059,568185,876,000112,300,000266,936,320
21Dec 22, 2023 18:085,2481,056,746,661200,792,00098,347,000266,883,072
22Dec 22, 2023 18:035,2531,066,014,361189,212,000110,211,000266,948,608
23Dec 22, 2023 18:035,2821,168,124,758196,012,000105,078,000265,945,088
24Dec 22, 2023 18:085,2891,068,640,085191,116,000110,377,000266,944,512