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 listFeb 27, 2023 13:41Yuriy LyfenkoYuriy LyfenkoScore: 4,723Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Feb 27, 2023 13:414,705541,241,54413,049,0002,007,0002,281,472
2Feb 27, 2023 13:414,710538,265,16113,063,0002,009,0002,285,568
3Feb 27, 2023 13:414,713537,585,68313,070,0002,010,0002,289,664
4Feb 27, 2023 13:414,717540,586,57113,081,0002,012,0002,281,472
5Feb 27, 2023 13:414,717537,656,02913,081,0002,012,0002,289,664
6Feb 27, 2023 13:414,721538,170,36913,093,0002,014,0002,281,472
7Feb 27, 2023 13:414,723541,806,47914,106,0001,007,0002,289,664
8Feb 27, 2023 13:414,725536,330,11913,104,0002,016,0002,281,472
9Feb 27, 2023 13:414,752537,166,07213,178,0002,027,0002,281,472
10Feb 27, 2023 13:414,874568,597,27015,596,78602,256,896
11Feb 27, 2023 13:414,877588,415,54115,607,11502,256,896
12Feb 27, 2023 13:414,895582,815,11815,663,15902,297,856