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 19, 2023 04:44Kenneth MaplesKenneth MaplesScore: 5,582Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Dec 19, 2023 04:445,52432,937,58816,637,0001,039,0002,387,968
2Dec 19, 2023 04:445,53442,682,43717,710,00002,392,064
3Dec 19, 2023 04:445,53746,674,21216,675,0001,042,0002,387,968
4Dec 19, 2023 04:445,54543,809,14616,702,0001,043,0002,265,088
5Dec 19, 2023 04:445,57343,993,26917,835,00002,387,968
6Dec 19, 2023 04:445,57635,105,98615,861,0001,982,0002,265,088
7Dec 19, 2023 04:445,58236,557,15916,870,000992,0002,392,064
8Dec 19, 2023 04:445,60040,572,11715,930,0001,991,0002,506,752
9Dec 19, 2023 04:445,60334,948,52115,937,0001,992,0002,265,088
10Dec 19, 2023 04:445,73865,666,62418,361,21702,269,184
11Dec 19, 2023 04:445,74489,524,70718,380,88602,256,896
12Dec 19, 2023 04:445,76672,599,82318,451,72002,273,280