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 listMay 17, 2023 00:02Martin StensgårdMartin StensgårdScore: 5,428Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 17, 2023 00:025,37241,802,79916,178,0001,011,0002,273,280
2May 17, 2023 00:025,37738,222,03416,195,0001,012,0002,433,024
3May 17, 2023 00:025,38840,373,38916,226,0001,014,0002,535,424
4May 17, 2023 00:025,38938,398,69616,232,0001,014,0002,428,928
5May 17, 2023 00:025,40343,290,32117,289,00002,273,280
6May 17, 2023 00:025,40340,704,80815,256,0002,034,0002,433,024
7May 17, 2023 00:025,40640,034,37717,300,00002,535,424
8May 17, 2023 00:025,40738,675,66116,286,0001,017,0002,535,424
9May 17, 2023 00:025,41244,126,18717,317,00002,273,280
10May 17, 2023 00:025,41831,590,53615,299,0002,039,0002,428,928
11May 17, 2023 00:025,42242,505,38416,329,0001,020,0002,433,024
12May 17, 2023 00:025,42636,038,74317,362,00002,420,736
13May 17, 2023 00:025,42842,394,59016,349,0001,021,0002,535,424
14May 17, 2023 00:025,42845,402,49215,327,0002,043,0002,535,424
15May 17, 2023 00:025,43133,471,96616,358,0001,022,0002,535,424
16May 17, 2023 00:025,43633,200,52316,372,0001,023,0002,535,424
17May 17, 2023 00:025,45838,994,59816,439,0001,027,0002,433,024
18May 17, 2023 00:025,46438,655,06516,458,0001,028,0002,273,280
19May 17, 2023 00:025,57076,888,44117,822,86902,183,168
20May 17, 2023 00:025,57681,599,63317,842,66702,187,264
21May 17, 2023 00:025,597106,060,01517,910,13702,183,168
22May 17, 2023 00:025,59984,512,89217,917,00202,187,264
23May 17, 2023 00:025,61173,934,73617,956,60202,179,072
24May 17, 2023 00:025,61280,153,84617,958,94602,187,264