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 25, 2021 22:37Egor SergeevEgor SergeevScore: 5,502Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 25, 2021 22:375,44834,176,78416,407,0001,025,0002,289,664
2May 25, 2021 22:375,46538,139,90016,461,0001,028,0002,289,664
3May 25, 2021 22:375,46942,283,37816,473,0001,029,0002,273,280
4May 25, 2021 22:375,48740,204,69516,527,0001,032,0002,289,664
5May 25, 2021 22:375,49038,801,56316,536,0001,033,0002,277,376
6May 25, 2021 22:375,49033,932,37716,536,0001,033,0002,289,664
7May 25, 2021 22:375,50251,546,85216,570,0001,035,0002,281,472
8May 25, 2021 22:375,50348,171,18416,575,0001,035,0002,289,664
9May 25, 2021 22:375,50532,382,26116,579,0001,036,0002,289,664
10May 25, 2021 22:375,68644,030,97018,196,11402,293,760
11May 25, 2021 22:375,68852,569,35618,202,45902,297,856
12May 25, 2021 22:375,69896,484,64918,232,97102,293,760