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 listJun 6, 2021 22:58Yuriy LyfenkoYuriy LyfenkoScore: 5,047Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 6, 2021 22:584,990545,156,10313,973,0001,996,0002,273,280
2Jun 6, 2021 22:584,997543,975,31714,992,000999,0002,281,472
3Jun 6, 2021 22:585,007540,512,50814,019,0002,002,0002,273,280
4Jun 6, 2021 22:585,008537,531,01815,023,0001,001,0002,281,472
5Jun 6, 2021 22:585,014541,632,96714,040,0002,005,0002,281,472
6Jun 6, 2021 22:585,042545,192,44614,117,0002,016,0002,273,280
7Jun 6, 2021 22:585,047539,010,93915,142,0001,009,0002,404,352
8Jun 6, 2021 22:585,048544,319,61215,144,0001,009,0002,281,472
9Jun 6, 2021 22:585,056539,238,57415,169,0001,011,0002,281,472
10Jun 6, 2021 22:585,153567,593,66616,489,11402,252,800
11Jun 6, 2021 22:585,155591,894,63416,497,22502,252,800
12Jun 6, 2021 22:585,185574,154,51016,592,25602,256,896