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:40Yuriy LyfenkoYuriy LyfenkoScore: 4,530Success
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:404,51135,032,78113,403,0001,031,0002,527,232
2Feb 27, 2023 13:404,51330,742,44013,411,0001,031,0002,527,232
3Feb 27, 2023 13:404,51534,947,97413,416,0001,032,0002,387,968
4Feb 27, 2023 13:404,51835,768,88313,427,0001,032,0002,392,064
5Feb 27, 2023 13:404,52336,171,14714,475,00002,396,160
6Feb 27, 2023 13:404,52835,385,58413,455,0001,035,0002,510,848
7Feb 27, 2023 13:404,53035,906,96914,497,00002,400,256
8Feb 27, 2023 13:404,53035,781,11113,462,0001,035,0002,392,064
9Feb 27, 2023 13:404,53332,202,68013,471,0001,036,0002,506,752
10Feb 27, 2023 13:404,69782,885,16715,029,80602,273,280
11Feb 27, 2023 13:404,70681,247,66415,059,60302,281,472
12Feb 27, 2023 13:404,72779,656,17415,125,07302,273,280