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:25Joad NacerJoad NacerScore: 13,330Success
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:255,159380,860,668294,082,7960268,115,968
2Jun 2, 2024 16:285,171370,306,951294,763,2660268,173,312
3Jun 2, 2024 16:285,177392,916,840295,075,2090268,005,376
4Jun 2, 2024 16:285,184377,188,338295,461,6170268,161,024
5Jun 2, 2024 16:255,192394,079,135295,924,6840268,181,504
6Jun 2, 2024 16:285,192388,108,599295,966,3750268,189,696
7Jun 2, 2024 16:285,225385,645,853297,840,0910267,984,896
8Jun 2, 2024 16:285,276376,168,255300,752,4090268,144,640
9Jun 2, 2024 16:255,309392,842,287302,609,3640268,005,376
10Jun 2, 2024 16:2810,6442,171,595,084275,870,000330,841,000267,427,840
11Jun 2, 2024 16:2810,7412,385,462,685274,636,000337,617,000267,702,272
12Jun 2, 2024 16:2510,9602,228,387,285273,913,000350,781,000255,307,776
13Jun 2, 2024 16:2812,8002,569,064,567275,204,000454,384,000267,591,680
14Jun 2, 2024 16:2812,8392,549,160,720270,003,000461,847,000267,595,776
15Jun 2, 2024 16:2513,1232,584,735,092256,039,000491,976,000267,366,400
16Jun 2, 2024 16:2813,1762,663,702,585307,562,000443,462,000260,427,776
17Jun 2, 2024 16:2813,3152,706,550,195273,429,000485,519,000267,509,760
18Jun 2, 2024 16:2513,3262,703,734,580301,218,000458,376,000262,553,600
19Jun 2, 2024 16:2813,3302,677,475,428279,004,000480,793,000262,090,752
20Jun 2, 2024 16:2813,3772,940,400,254287,351,000475,116,000263,876,608
21Jun 2, 2024 16:2813,4062,745,463,749290,710,000473,442,000264,499,200
22Jun 2, 2024 16:2813,4062,712,841,914294,459,000469,709,000264,069,120
23Jun 2, 2024 16:2813,4142,747,701,472279,193,000485,416,000267,546,624
24Jun 2, 2024 16:2813,5152,747,790,421286,671,000483,693,000267,472,896
25Jun 2, 2024 16:2813,5312,946,908,446293,127,000478,150,000267,468,800
26Jun 2, 2024 16:2813,5412,793,024,735280,488,000491,367,000264,974,336
27Jun 2, 2024 16:2513,5522,765,842,387252,568,000519,870,000265,142,272
28Jun 2, 2024 16:2813,5802,838,281,874288,093,000485,964,000267,501,568
29Jun 2, 2024 16:2513,5802,844,863,897285,230,000488,818,000267,550,720
30Jun 2, 2024 16:2513,5892,761,047,394301,449,000473,136,000264,859,648
31Jun 2, 2024 16:2513,5932,807,904,195301,367,000473,435,000267,571,200
32Jun 2, 2024 16:2513,6362,841,219,260276,923,000500,350,000264,323,072
33Jun 2, 2024 16:2513,6582,869,622,243292,196,000486,312,000264,720,384
34Jun 2, 2024 16:2813,7162,879,139,945293,938,000487,878,000267,419,648
35Jun 2, 2024 16:2813,7493,045,837,828278,636,000505,029,000267,251,712
36Jun 2, 2024 16:2813,7593,571,120,017293,854,000490,433,000267,563,008