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 13, 2024 19:59Brian WardBrian WardScore: 5,699Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 13, 2024 19:595,64143,839,06516,045,0002,005,0002,289,664
2Apr 13, 2024 19:595,65751,659,25817,098,0001,005,0002,289,664
3Apr 13, 2024 19:595,67140,382,15116,132,0002,016,0002,355,200
4Apr 13, 2024 19:595,67348,575,15216,138,0002,017,0002,355,200
5Apr 13, 2024 19:595,67541,633,81016,142,0002,017,0002,359,296
6Apr 13, 2024 19:595,69744,244,55017,218,0001,012,0002,289,664
7Apr 13, 2024 19:595,69940,211,41417,223,0001,013,0002,355,200
8Apr 13, 2024 19:595,69945,219,62117,224,0001,013,0002,289,664
9Apr 13, 2024 19:595,72438,733,22216,283,0002,035,0002,289,664
10Apr 13, 2024 19:595,85384,692,04818,729,95402,256,896
11Apr 13, 2024 19:595,89180,346,67318,849,68702,236,416
12Apr 13, 2024 19:595,92999,414,62518,973,60402,232,320