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 3, 2023 09:58Alexander KimAlexander KimScore: 5,770Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 3, 2023 09:585,71834,683,15416,266,0002,033,0002,433,024
2Jan 3, 2023 09:585,72238,771,11316,276,0002,034,0002,433,024
3Jan 3, 2023 09:585,72940,457,03017,314,0001,018,0002,342,912
4Jan 3, 2023 09:585,73841,738,95517,343,0001,020,0002,433,024
5Jan 3, 2023 09:585,76339,914,78818,441,00002,445,312
6Jan 3, 2023 09:585,76739,136,86918,455,00002,338,816
7Jan 3, 2023 09:585,77042,444,92017,438,0001,025,0002,441,216
8Jan 3, 2023 09:585,77042,803,91718,465,00002,342,912
9Jan 3, 2023 09:585,77538,781,88017,454,0001,026,0002,437,120
10Jan 3, 2023 09:585,848110,789,83018,713,99102,265,088
11Jan 3, 2023 09:585,85492,056,16418,733,04202,252,800
12Jan 3, 2023 09:585,95099,364,95419,041,59602,265,088