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:22AnSaAnSaScore: 5,203Success
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:225,15641,906,32015,469,0001,031,0002,392,064
2Jan 23, 2024 19:225,17438,790,25915,524,0001,034,0002,400,256
3Jan 23, 2024 19:225,18037,399,53416,577,00002,281,472
4Jan 23, 2024 19:225,19136,643,54616,610,00002,281,472
5Jan 23, 2024 19:225,19231,814,89615,577,0001,038,0002,281,472
6Jan 23, 2024 19:225,20350,035,08316,648,00002,281,472
7Jan 23, 2024 19:225,20342,870,03416,649,00002,281,472
8Jan 23, 2024 19:225,20831,226,12015,626,0001,041,0002,392,064
9Jan 23, 2024 19:225,22734,705,16515,680,0001,045,0002,469,888
10Jan 23, 2024 19:225,37897,546,67217,210,76102,293,760
11Jan 23, 2024 19:225,39295,368,66817,252,97302,285,568
12Jan 23, 2024 19:225,41469,762,03017,326,20202,285,568