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 listDec 6, 2023 11:41Viktor IarmolaViktor IarmolaScore: 5,585Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Dec 6, 2023 11:415,53343,708,47917,707,00002,281,472
2Dec 6, 2023 11:415,53745,104,32416,677,0001,042,0002,281,472
3Dec 6, 2023 11:415,57235,075,04616,840,000990,0002,281,472
4Dec 6, 2023 11:415,57642,167,27116,853,000991,0002,400,256
5Dec 6, 2023 11:415,58240,859,33316,870,000992,0002,281,472
6Dec 6, 2023 11:415,58344,138,54016,872,000992,0002,281,472
7Dec 6, 2023 11:415,58541,455,35317,872,00002,510,848
8Dec 6, 2023 11:415,58645,624,59516,883,000993,0002,400,256
9Dec 6, 2023 11:415,59135,822,81815,904,0001,988,0002,400,256
10Dec 6, 2023 11:415,93296,490,95418,981,28602,293,760
11Dec 6, 2023 11:415,93785,709,21618,998,82702,297,856
12Dec 6, 2023 11:415,96067,066,22119,072,97302,306,048