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 listApr 11, 2024 17:23Drew GarciaDrew GarciaScore: 5,207Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 11, 2024 17:235,17740,449,68313,459,0003,106,0002,396,160
2Apr 11, 2024 17:235,18233,435,81515,546,0001,036,0002,396,160
3Apr 11, 2024 17:235,18346,595,10915,548,0001,036,0002,269,184
4Apr 11, 2024 17:235,18334,572,76415,548,0001,036,0002,408,448
5Apr 11, 2024 17:235,19434,525,66813,504,0003,116,0002,269,184
6Apr 11, 2024 17:235,20147,795,73215,602,0001,040,0002,269,184
7Apr 11, 2024 17:235,20739,692,65515,620,0001,041,0002,269,184
8Apr 11, 2024 17:235,21342,047,28814,598,0002,085,0002,269,184
9Apr 11, 2024 17:235,27443,074,01114,891,0001,985,0002,396,160
10Apr 11, 2024 17:235,51577,770,26017,648,88402,297,856
11Apr 11, 2024 17:235,54378,242,19817,736,95702,289,664
12Apr 11, 2024 17:235,57366,097,84417,832,47302,174,976