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 17, 2023 21:55Alexander MonakovAlexander MonakovScore: 4,542Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Mar 17, 2023 21:554,50631,219,49314,420,00002,277,376
2Mar 17, 2023 21:554,52434,176,37514,477,00002,277,376
3Mar 17, 2023 21:554,52930,757,70513,457,0001,035,0002,277,376
4Mar 17, 2023 21:554,53036,961,23014,496,00002,502,656
5Mar 17, 2023 21:554,53435,323,75014,509,00002,494,464
6Mar 17, 2023 21:554,54129,910,71814,531,00002,273,280
7Mar 17, 2023 21:554,54229,806,77214,534,00002,494,464
8Mar 17, 2023 21:554,56229,328,42013,555,0001,042,0002,535,424
9Mar 17, 2023 21:554,56330,033,25013,560,0001,043,0002,277,376
10Mar 17, 2023 21:554,73680,347,85915,155,74202,240,512
11Mar 17, 2023 21:554,79280,620,58315,332,90902,240,512
12Mar 17, 2023 21:554,79378,092,93015,336,18602,244,608