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 listSep 26, 2023 00:42IhebIhebScore: 5,789Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Sep 26, 2023 00:425,72038,661,69317,287,0001,016,0002,273,280
2Sep 26, 2023 00:425,73040,643,42616,299,0002,037,0002,289,664
3Sep 26, 2023 00:425,74241,347,23618,375,00002,289,664
4Sep 26, 2023 00:425,74635,568,27517,366,0001,021,0002,289,664
5Sep 26, 2023 00:425,76345,208,62517,416,0001,024,0002,273,280
6Sep 26, 2023 00:425,76349,324,05817,416,0001,024,0002,289,664
7Sep 26, 2023 00:425,78939,136,43417,495,0001,029,0002,289,664
8Sep 26, 2023 00:425,79844,997,73117,522,0001,030,0002,289,664
9Sep 26, 2023 00:425,80244,440,63718,566,00002,289,664
10Sep 26, 2023 00:425,94989,957,09419,036,30902,297,856
11Sep 26, 2023 00:425,97286,685,71519,110,63502,293,760
12Sep 26, 2023 00:426,05581,462,08819,374,47902,297,856