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 listJun 2, 2024 09:46matsuoka-601matsuoka-601Score: 5,068Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 2, 2024 09:465,03832,399,78414,106,0002,015,0002,293,760
2Jun 2, 2024 09:465,04133,182,14214,115,0002,016,0002,293,760
3Jun 2, 2024 09:465,04636,408,98014,128,0002,018,0002,293,760
4Jun 2, 2024 09:465,05337,278,52214,148,0002,021,0002,293,760
5Jun 2, 2024 09:465,06533,015,77214,183,0002,026,0002,293,760
6Jun 2, 2024 09:465,06638,770,11514,185,0002,026,0002,293,760
7Jun 2, 2024 09:465,06832,899,93914,192,0002,027,0002,289,664
8Jun 2, 2024 09:465,06940,008,21814,194,0002,027,0002,277,376
9Jun 2, 2024 09:465,07249,169,62914,202,0002,028,0002,293,760
10Jun 2, 2024 09:465,17187,106,73716,547,79902,183,168
11Jun 2, 2024 09:465,17981,398,48016,571,76702,179,072
12Jun 2, 2024 09:465,193118,728,73816,617,09102,191,360