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 listMay 17, 2021 03:24Yuriy LyfenkoYuriy LyfenkoScore: 5,405Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 17, 2021 03:245,3863,546,482,36616,222,0001,013,0002,527,232
2May 17, 2021 03:245,3881,999,911,36914,198,0003,042,0002,265,088
3May 17, 2021 03:245,396708,947,16916,307,000959,0002,265,088
4May 17, 2021 03:245,3972,955,968,51116,312,000959,0002,260,992
5May 17, 2021 03:245,4012,714,070,60617,284,00002,265,088
6May 17, 2021 03:245,403191,570,61316,274,0001,017,0002,269,184
7May 17, 2021 03:245,4052,103,612,19716,336,000960,0002,265,088
8May 17, 2021 03:245,4111,213,335,61417,315,00002,527,232
9May 17, 2021 03:245,4152,400,873,34815,402,0001,925,0002,265,088
10May 17, 2021 03:245,5652,290,784,68617,807,53002,281,472
11May 17, 2021 03:245,575169,636,32417,839,65502,277,376
12May 17, 2021 03:245,6034,728,670,25217,929,89802,273,280