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 listMar 16, 2023 00:57Alexander MonakovAlexander MonakovScore: 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
1Mar 16, 2023 00:575,22642,874,12215,677,0001,045,0002,281,472
2Mar 16, 2023 00:575,26641,134,82714,869,0001,982,0002,457,600
3Mar 16, 2023 00:575,27138,525,00915,874,000992,0002,281,472
4Mar 16, 2023 00:575,27142,874,70115,875,000992,0002,281,472
5Mar 16, 2023 00:575,27243,234,90915,877,000992,0002,281,472
6Mar 16, 2023 00:575,27241,522,35214,885,0001,984,0002,453,504
7Mar 16, 2023 00:575,27334,616,62115,880,000992,0002,281,472
8Mar 16, 2023 00:575,27337,391,92914,887,0001,985,0002,281,472
9Mar 16, 2023 00:575,27531,032,03214,895,0001,986,0002,453,504
10Mar 16, 2023 00:575,41969,167,85917,341,91102,207,744
11Mar 16, 2023 00:575,43986,861,54017,406,01202,207,744
12Mar 16, 2023 00:575,46776,589,50217,495,30002,215,936