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 24, 2021 18:50Yuriy LyfenkoYuriy LyfenkoScore: 5,442Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 24, 2021 18:505,40439,498,96315,258,0002,034,0002,392,064
2May 24, 2021 18:505,42038,833,42216,324,0001,020,0002,392,064
3May 24, 2021 18:505,42540,643,47817,361,00002,396,160
4May 24, 2021 18:505,43252,831,36717,383,00002,396,160
5May 24, 2021 18:505,43442,573,90217,388,00002,400,256
6May 24, 2021 18:505,43933,007,78317,406,00002,387,968
7May 24, 2021 18:505,44246,036,94017,415,00002,506,752
8May 24, 2021 18:505,44437,790,03917,420,00002,265,088
9May 24, 2021 18:505,44839,604,06516,408,0001,025,0002,396,160
10May 24, 2021 18:505,60443,987,47817,932,59302,269,184
11May 24, 2021 18:505,62191,015,65117,988,01102,273,280
12May 24, 2021 18:505,63052,026,80618,016,36602,281,472