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 26, 2022 11:56Keichi TakahashiKeichi TakahashiScore: 5,330Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 26, 2022 11:565,30241,223,59614,970,0001,996,0002,387,968
2May 26, 2022 11:565,30939,408,72015,991,000999,0002,387,968
3May 26, 2022 11:565,31550,268,34715,008,0002,001,0002,265,088
4May 26, 2022 11:565,31649,162,48316,010,0001,000,0002,392,064
5May 26, 2022 11:565,32542,880,38016,039,0001,002,0002,387,968
6May 26, 2022 11:565,32841,243,06315,044,0002,005,0002,396,160
7May 26, 2022 11:565,33039,217,49915,051,0002,006,0002,379,776
8May 26, 2022 11:565,33638,670,66415,067,0002,008,0002,392,064
9May 26, 2022 11:565,33733,331,98716,074,0001,004,0002,265,088
10May 26, 2022 11:565,51083,217,98817,630,49802,289,664
11May 26, 2022 11:565,52594,068,52717,681,02902,281,472
12May 26, 2022 11:565,53068,682,25217,695,31802,277,376