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, 2021 19:45Yuriy LyfenkoYuriy LyfenkoScore: 5,456Success
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, 2021 19:455,415110,472,86916,310,0001,019,0002,269,184
2May 17, 2021 19:455,4291,787,886,91916,352,0001,022,0002,523,136
3May 17, 2021 19:455,4311,367,798,90716,413,000965,0002,265,088
4May 17, 2021 19:455,438973,067,42216,436,000966,0002,269,184
5May 17, 2021 19:455,440710,346,66716,385,0001,024,0002,265,088
6May 17, 2021 19:455,449447,979,91317,436,00002,269,184
7May 17, 2021 19:455,4561,939,339,88114,550,0002,910,0002,396,160
8May 17, 2021 19:455,4742,209,098,78115,571,0001,946,0002,265,088
9May 17, 2021 19:455,4981,219,520,36415,639,0001,954,0002,269,184
10May 17, 2021 19:455,5241,486,249,69217,676,66802,273,280
11May 17, 2021 19:455,5361,615,300,24817,715,57902,277,376
12May 17, 2021 19:455,5691,663,928,84217,820,18202,281,472