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 listJul 9, 2023 00:08Andrew MoonAndrew MoonScore: 5,273Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 9, 2023 00:085,21843,903,89315,654,0001,043,0002,265,088
2Jul 9, 2023 00:085,22242,262,62515,665,0001,044,0002,396,160
3Jul 9, 2023 00:085,22946,694,08915,689,0001,045,0002,387,968
4Jul 9, 2023 00:085,24335,570,43616,778,00002,265,088
5Jul 9, 2023 00:085,27041,245,12214,880,0001,984,0002,506,752
6Jul 9, 2023 00:085,27047,984,37215,873,000992,0002,527,232
7Jul 9, 2023 00:085,27346,916,50315,882,000992,0002,392,064
8Jul 9, 2023 00:085,27434,270,21515,885,000992,0002,265,088
9Jul 9, 2023 00:085,27636,223,73116,884,00002,265,088
10Jul 9, 2023 00:085,45487,044,78217,452,12002,281,472
11Jul 9, 2023 00:085,45690,072,56017,457,89302,248,704
12Jul 9, 2023 00:085,47078,420,33117,502,67102,277,376