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 listSep 7, 2022 04:26Yuriy LyfenkoYuriy LyfenkoScore: 4,465Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Sep 7, 2022 04:264,437535,358,95412,169,0002,028,0002,265,088
2Sep 7, 2022 04:264,441538,379,10013,197,0001,015,0002,260,992
3Sep 7, 2022 04:264,446542,797,15513,210,0001,016,0002,265,088
4Sep 7, 2022 04:264,446534,527,98513,210,0001,016,0002,523,136
5Sep 7, 2022 04:264,456541,900,00613,240,0001,018,0002,265,088
6Sep 7, 2022 04:264,461539,806,80214,276,00002,392,064
7Sep 7, 2022 04:264,465536,411,66613,269,0001,020,0002,527,232
8Sep 7, 2022 04:264,487536,904,11413,332,0001,025,0002,523,136
9Sep 7, 2022 04:264,539534,602,23414,526,00002,260,992
10Sep 7, 2022 04:264,617599,758,22014,772,81002,240,512
11Sep 7, 2022 04:264,619573,454,50514,781,88902,277,376
12Sep 7, 2022 04:264,624579,857,39814,798,09002,293,760