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 27, 2021 17:09Yurkov AlekseyYurkov AlekseyScore: 5,934Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 27, 2021 17:095,89838,741,32816,887,0001,986,0002,289,664
2May 27, 2021 17:095,89842,704,60917,881,000993,0002,289,664
3May 27, 2021 17:095,90542,764,09216,907,0001,989,0002,289,664
4May 27, 2021 17:095,90743,932,40316,913,0001,989,0002,289,664
5May 27, 2021 17:095,91635,455,66316,938,0001,992,0002,289,664
6May 27, 2021 17:095,93340,706,00416,986,0001,998,0002,269,184
7May 27, 2021 17:095,93437,053,98817,991,000999,0002,289,664
8May 27, 2021 17:095,93540,645,54116,992,0001,999,0002,289,664
9May 27, 2021 17:095,94745,052,07117,026,0002,003,0002,273,280
10May 27, 2021 17:096,10256,115,79719,527,64302,256,896
11May 27, 2021 17:096,12475,429,93719,597,05302,293,760
12May 27, 2021 17:097,41688,844,63223,729,94102,256,896