Count uint8 Sergey Svistunov

Count the number of bytes equal to 127 in a binary stream as fast as possible.

Input: 250 000 000 uint8 values in binary on STDIN.

Output: The count of elements equal to 127, printed as a decimal string.

Back to listJan 11, 2023 17:55Victor MuñozVictor MuñozScore: 5,342Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 11, 2023 03:365,30445,165,78315,975,000998,0002,265,088
2Jan 11, 2023 03:365,30742,076,46114,985,0001,998,0002,265,088
3Jan 11, 2023 17:555,31148,138,11516,996,00002,265,088
4Jan 11, 2023 03:365,31342,695,19915,003,0002,000,0002,392,064
5Jan 11, 2023 17:555,31642,575,77016,012,0001,000,0002,392,064
6Jan 11, 2023 03:365,31936,209,39216,020,0001,001,0002,400,256
7Jan 11, 2023 03:365,32242,884,81615,027,0002,003,0002,265,088
8Jan 11, 2023 17:555,32648,655,64815,039,0002,005,0002,265,088
9Jan 11, 2023 03:365,32734,559,63615,042,0002,005,0002,383,872
10Jan 11, 2023 17:555,32942,430,19116,050,0001,003,0002,265,088
11Jan 11, 2023 03:365,33643,718,45116,072,0001,004,0002,265,088
12Jan 11, 2023 03:365,34146,006,68316,087,0001,005,0002,392,064
13Jan 11, 2023 17:555,34246,666,05016,089,0001,005,0002,387,968
14Jan 11, 2023 17:555,34234,428,81516,089,0001,005,0002,265,088
15Jan 11, 2023 17:555,34340,184,90915,088,0002,011,0002,383,872
16Jan 11, 2023 17:555,34348,339,14216,094,0001,005,0002,383,872
17Jan 11, 2023 03:365,34442,672,59116,095,0001,005,0002,392,064
18Jan 11, 2023 17:555,34638,013,70115,095,0002,012,0002,469,888
19Jan 11, 2023 17:555,51688,675,75217,649,86302,244,608
20Jan 11, 2023 03:365,53859,340,42617,721,65602,281,472
21Jan 11, 2023 17:555,54460,339,66817,741,15702,277,376
22Jan 11, 2023 03:365,54456,209,08017,740,21702,285,568
23Jan 11, 2023 17:555,55764,896,16817,781,37102,277,376
24Jan 11, 2023 03:365,55861,198,10517,787,08602,281,472