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 listFeb 27, 2023 17:15DarkclainerDarkclainerScore: 4,672Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Feb 27, 2023 17:154,64443,123,52013,870,000990,0002,531,328
2Feb 27, 2023 17:154,64834,806,66112,890,0001,983,0002,269,184
3Feb 27, 2023 17:154,65130,621,59214,883,00002,375,680
4Feb 27, 2023 17:154,65339,770,02412,904,0001,985,0002,269,184
5Feb 27, 2023 17:154,65338,277,06112,906,0001,985,0002,269,184
6Feb 27, 2023 17:154,65833,727,95712,917,0001,987,0002,379,776
7Feb 27, 2023 17:154,67232,033,56912,956,0001,993,0002,375,680
8Feb 27, 2023 17:154,67337,636,58212,959,0001,993,0002,375,680
9Feb 27, 2023 17:154,69832,462,61113,029,0002,004,0002,387,968
10Feb 27, 2023 17:154,87368,368,77115,594,62802,240,512
11Feb 27, 2023 17:154,90165,122,58415,683,76202,232,320
12Feb 27, 2023 17:154,90280,264,41715,686,03402,236,416