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 listOct 27, 2021 08:56Ilya AniskovetsIlya AniskovetsScore: 5,481Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Oct 27, 2021 08:565,45342,727,56116,423,0001,026,0002,281,472
2Oct 27, 2021 08:565,45933,432,15317,468,00002,289,664
3Oct 27, 2021 08:565,46139,975,91716,448,0001,028,0002,281,472
4Oct 27, 2021 08:565,46840,493,15816,469,0001,029,0002,289,664
5Oct 27, 2021 08:565,47035,613,15117,505,00002,289,664
6Oct 27, 2021 08:565,47939,882,27716,503,0001,031,0002,281,472
7Oct 27, 2021 08:565,48139,803,57016,509,0001,031,0002,375,680
8Oct 27, 2021 08:565,49653,368,46417,588,00002,269,184
9Oct 27, 2021 08:565,51838,484,99416,619,0001,038,0002,273,280
10Oct 27, 2021 08:565,60984,625,77017,949,68202,301,952
11Oct 27, 2021 08:565,62379,184,59417,992,21702,306,048
12Oct 27, 2021 08:565,63291,770,18818,021,74802,306,048