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:55Alexander 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:555,21245,755,55515,636,0001,042,0002,281,472
2Mar 16, 2023 00:555,21743,222,99015,650,0001,043,0002,453,504
3Mar 16, 2023 00:555,21846,144,64715,654,0001,043,0002,449,408
4Mar 16, 2023 00:555,21841,197,54415,654,0001,043,0002,457,600
5Mar 16, 2023 00:555,22246,194,84715,666,0001,044,0002,281,472
6Mar 16, 2023 00:555,26940,924,86814,879,0001,983,0002,281,472
7Mar 16, 2023 00:555,27347,616,40215,883,000992,0002,449,408
8Mar 16, 2023 00:555,27443,204,48515,884,000992,0002,281,472
9Mar 16, 2023 00:555,27731,225,32114,901,0001,986,0002,457,600
10Mar 16, 2023 00:555,39988,700,30917,275,30102,191,360
11Mar 16, 2023 00:555,40480,503,43117,292,02202,207,744
12Mar 16, 2023 00:555,41680,662,57717,330,41902,203,648