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 listJan 5, 2023 23:02Hal FHal FScore: 5,276Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 5, 2023 23:025,21144,941,28415,633,0001,042,0002,273,280
2Jan 5, 2023 23:025,22043,963,40216,705,00002,289,664
3Jan 5, 2023 23:025,26851,038,83614,873,0001,983,0002,289,664
4Jan 5, 2023 23:025,26847,278,44814,874,0001,983,0002,289,664
5Jan 5, 2023 23:025,26841,817,86015,867,000991,0002,289,664
6Jan 5, 2023 23:025,27146,126,09414,883,0001,984,0002,289,664
7Jan 5, 2023 23:025,27647,173,76715,891,000993,0002,273,280
8Jan 5, 2023 23:025,27638,781,87314,898,0001,986,0002,289,664
9Jan 5, 2023 23:025,28041,044,55614,909,0001,987,0002,289,664
10Jan 5, 2023 23:025,44470,304,71117,419,39602,297,856
11Jan 5, 2023 23:025,44681,170,23517,428,78102,281,472
12Jan 5, 2023 23:025,44958,154,99017,437,91502,293,760