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 3, 2023 21:16Hal FHal FScore: 4,695Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 3, 2023 21:164,64633,407,99012,885,0001,982,0002,285,568
2Jan 3, 2023 21:164,65244,178,21312,901,0001,984,0002,289,664
3Jan 3, 2023 21:164,67238,506,64212,956,0001,993,0002,265,088
4Jan 3, 2023 21:164,67932,142,13812,977,0001,996,0002,273,280
5Jan 3, 2023 21:164,67931,124,96113,975,000998,0002,371,584
6Jan 3, 2023 21:164,69039,372,96813,006,0002,001,0002,289,664
7Jan 3, 2023 21:164,69531,200,91713,022,0002,003,0002,277,376
8Jan 3, 2023 21:164,69740,313,67114,029,0001,002,0002,269,184
9Jan 3, 2023 21:164,70840,295,15813,056,0002,008,0002,273,280
10Jan 3, 2023 21:164,89976,680,73915,677,38102,297,856
11Jan 3, 2023 21:164,90960,838,42515,709,70902,293,760
12Jan 3, 2023 21:164,92483,595,39815,758,25502,301,952