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 listApr 18, 2024 17:21Robert BurkeRobert BurkeScore: 4,507Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 18, 2024 17:214,48832,787,67514,361,00002,441,216
2Apr 18, 2024 17:254,49031,477,90814,369,00002,281,472
3Apr 18, 2024 17:254,49129,974,90614,370,00002,281,472
4Apr 18, 2024 17:254,49231,269,93514,373,00002,281,472
5Apr 18, 2024 17:254,49739,654,32913,362,0001,027,0002,437,120
6Apr 18, 2024 17:214,49732,422,83414,390,00002,445,312
7Apr 18, 2024 17:254,50138,621,53914,402,00002,437,120
8Apr 18, 2024 17:214,50146,288,78314,402,00002,437,120
9Apr 18, 2024 17:254,50433,372,33814,413,00002,437,120
10Apr 18, 2024 17:254,50429,188,10013,385,0001,029,0002,510,848
11Apr 18, 2024 17:214,50530,357,81714,415,00002,281,472
12Apr 18, 2024 17:214,50526,666,63713,386,0001,029,0002,281,472
13Apr 18, 2024 17:214,50734,376,50413,392,0001,030,0002,281,472
14Apr 18, 2024 17:214,50835,186,62314,425,00002,281,472
15Apr 18, 2024 17:214,51037,041,93214,433,00002,437,120
16Apr 18, 2024 17:214,51837,674,09013,426,0001,032,0002,277,376
17Apr 18, 2024 17:254,51829,404,28714,458,00002,281,472
18Apr 18, 2024 17:254,55734,107,75014,583,00002,441,216
19Apr 18, 2024 17:214,75274,925,15515,207,57102,187,264
20Apr 18, 2024 17:254,75761,877,65315,223,12602,187,264
21Apr 18, 2024 17:254,76278,387,41915,238,94702,183,168
22Apr 18, 2024 17:214,76693,618,62915,252,34102,183,168
23Apr 18, 2024 17:254,77876,252,62215,290,20202,183,168
24Apr 18, 2024 17:214,79072,344,14915,327,54502,191,360