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 listJun 2, 2021 20:30Yuriy LyfenkoYuriy LyfenkoScore: 5,984Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 2, 2021 20:305,9531,047,002,61716,042,0003,007,0002,330,624
2Jun 2, 2021 20:305,9621,041,000,49317,069,0002,008,0002,330,624
3Jun 2, 2021 20:305,9681,043,224,16216,083,0003,015,0002,330,624
4Jun 2, 2021 20:305,9701,043,709,30116,088,0003,016,0002,334,720
5Jun 2, 2021 20:305,9741,044,992,54416,099,0003,018,0002,527,232
6Jun 2, 2021 20:305,9751,041,073,89517,108,0002,012,0002,330,624
7Jun 2, 2021 20:305,9841,045,255,26617,134,0002,015,0002,330,624
8Jun 2, 2021 20:305,9851,042,036,46216,129,0003,024,0002,523,136
9Jun 2, 2021 20:306,0131,042,399,65415,192,0004,051,0002,330,624
10Jun 2, 2021 20:306,0411,091,639,29119,329,60202,256,896
11Jun 2, 2021 20:306,0461,086,968,61319,347,00002,256,896
12Jun 2, 2021 20:306,0801,089,815,32919,457,55902,252,800