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 listDec 25, 2021 02:08Alexander KimAlexander KimScore: 5,719Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Dec 25, 2021 02:085,68343,314,20216,164,0002,020,0002,334,720
2Dec 25, 2021 02:085,68337,377,85216,165,0002,020,0002,334,720
3Dec 25, 2021 02:085,68342,539,79916,165,0002,020,0002,301,952
4Dec 25, 2021 02:085,68837,161,97516,178,0002,022,0002,301,952
5Dec 25, 2021 02:085,69134,872,92617,199,0001,011,0002,342,912
6Dec 25, 2021 02:085,71641,614,86815,243,0003,048,0002,334,720
7Dec 25, 2021 02:085,71935,824,49217,286,0001,016,0002,334,720
8Dec 25, 2021 02:085,72444,714,45016,283,0002,035,0002,310,144
9Dec 25, 2021 02:085,74184,302,07718,371,00602,281,472
10Dec 25, 2021 02:085,74938,188,97716,353,0002,044,0002,334,720
11Dec 25, 2021 02:085,75281,971,59318,407,81602,273,280
12Dec 25, 2021 02:085,81889,179,37218,616,60302,273,280