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 listMay 8, 2024 21:30Joad NacerJoad NacerScore: 5,005Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 8, 2024 21:304,95935,425,74213,887,0001,983,0002,277,376
2May 8, 2024 21:304,97633,565,13013,932,0001,990,0002,269,184
3May 8, 2024 21:304,97931,596,04813,943,0001,991,0002,269,184
4May 8, 2024 21:304,98437,405,57514,952,000996,0002,379,776
5May 8, 2024 21:304,99531,326,72913,986,0001,998,0002,273,280
6May 8, 2024 21:305,00336,305,18314,008,0002,001,0002,289,664
7May 8, 2024 21:305,00543,587,84915,015,0001,001,0002,269,184
8May 8, 2024 21:305,02038,431,80414,056,0002,008,0002,265,088
9May 8, 2024 21:305,03038,829,55914,084,0002,012,0002,289,664
10May 8, 2024 21:305,13781,888,40716,438,68902,301,952
11May 8, 2024 21:305,14581,250,94516,465,31402,179,072
12May 8, 2024 21:305,17089,094,26316,543,79102,293,760