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 7, 2022 20:53Egor SergeevEgor SergeevScore: 5,148Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 7, 2022 20:535,11439,114,37916,364,00002,502,656
2Apr 7, 2022 20:535,11429,927,21416,364,00002,506,752
3Apr 7, 2022 20:535,13139,304,15716,418,00002,277,376
4Apr 7, 2022 20:535,13539,500,87016,432,00002,490,368
5Apr 7, 2022 20:535,13839,454,79016,442,00002,498,560
6Apr 7, 2022 20:535,14044,305,85516,447,00002,498,560
7Apr 7, 2022 20:535,14833,001,28716,474,00002,494,464
8Apr 7, 2022 20:535,15235,818,17816,486,00002,494,464
9Apr 7, 2022 20:535,15928,311,46016,508,00002,494,464
10Apr 7, 2022 20:535,34782,876,55217,110,23702,256,896
11Apr 7, 2022 20:535,375107,150,59117,199,19002,256,896
12Apr 7, 2022 20:535,39079,292,40617,247,12902,248,704