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 listJan 23, 2024 19:05AnSaAnSaScore: 5,198Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 23, 2024 19:055,15937,723,44716,510,00002,392,064
2Jan 23, 2024 19:055,16934,070,07915,509,0001,033,0002,281,472
3Jan 23, 2024 19:055,17537,898,41815,525,0001,035,0002,396,160
4Jan 23, 2024 19:055,17638,832,84116,563,00002,400,256
5Jan 23, 2024 19:055,17837,139,09815,534,0001,035,0002,281,472
6Jan 23, 2024 19:055,18236,442,34315,545,0001,036,0002,396,160
7Jan 23, 2024 19:055,19848,595,52015,595,0001,039,0002,396,160
8Jan 23, 2024 19:055,20246,876,21415,605,0001,040,0002,396,160
9Jan 23, 2024 19:055,20334,145,75715,610,0001,040,0002,281,472
10Jan 23, 2024 19:055,36392,628,25417,162,87202,289,664
11Jan 23, 2024 19:055,38682,378,08017,236,71802,281,472
12Jan 23, 2024 19:055,39179,664,61717,251,81502,293,760