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 20, 2024 11:07matsuoka-601matsuoka-601Score: 5,747Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 20, 2024 11:075,68835,050,68517,191,0001,011,0002,527,232
2Jan 20, 2024 11:075,71642,950,15816,260,0002,032,0002,285,568
3Jan 20, 2024 11:075,73340,502,48317,327,0001,019,0002,285,568
4Jan 20, 2024 11:075,73442,256,66716,310,0002,038,0002,523,136
5Jan 20, 2024 11:075,74040,508,98916,328,0002,041,0002,355,200
6Jan 20, 2024 11:075,74544,957,86517,363,0001,021,0002,285,568
7Jan 20, 2024 11:075,74750,444,89417,370,0001,021,0002,285,568
8Jan 20, 2024 11:075,78742,491,80317,490,0001,028,0002,527,232
9Jan 20, 2024 11:075,79739,422,54517,520,0001,030,0002,535,424
10Jan 20, 2024 11:075,81582,711,44918,607,76002,310,144
11Jan 20, 2024 11:075,85696,494,71018,739,21902,293,760
12Jan 20, 2024 11:075,94483,498,10119,021,99902,297,856