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 6, 2021 00:45Yuriy LyfenkoYuriy LyfenkoScore: 5,285Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 6, 2021 00:455,2571,044,269,86015,772,0001,051,0002,523,136
2Jul 6, 2021 00:455,2621,043,287,40114,858,0001,981,0002,523,136
3Jul 6, 2021 00:455,2721,045,212,68115,878,000992,0002,260,992
4Jul 6, 2021 00:455,2731,048,315,25815,881,000992,0002,260,992
5Jul 6, 2021 00:455,2841,046,042,99915,915,000994,0002,523,136
6Jul 6, 2021 00:455,2851,046,300,56815,918,000994,0002,265,088
7Jul 6, 2021 00:455,2851,042,762,32115,919,000994,0002,260,992
8Jul 6, 2021 00:455,2861,042,707,42614,926,0001,990,0002,260,992
9Jul 6, 2021 00:455,2981,044,322,82414,959,0001,994,0002,523,136
10Jul 6, 2021 00:455,4181,085,313,75117,337,15202,244,608
11Jul 6, 2021 00:455,4221,077,209,58617,351,84402,240,512
12Jul 6, 2021 00:455,4421,078,112,33717,414,65602,269,184