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 22, 2024 11:40matsuoka-601matsuoka-601Score: 4,817Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 22, 2024 11:404,78940,678,04113,282,0002,043,0002,293,760
2Jan 22, 2024 11:404,79337,752,22213,292,0002,045,0002,269,184
3Jan 22, 2024 11:404,80439,074,20113,324,0002,049,0002,293,760
4Jan 22, 2024 11:404,80942,107,73013,338,0002,052,0002,293,760
5Jan 22, 2024 11:404,81240,400,37815,398,00002,293,760
6Jan 22, 2024 11:404,81230,234,52214,372,0001,026,0002,535,424
7Jan 22, 2024 11:404,81734,139,64915,413,00002,293,760
8Jan 22, 2024 11:404,81835,698,91515,419,00002,293,760
9Jan 22, 2024 11:404,82234,540,26214,403,0001,028,0002,273,280
10Jan 22, 2024 11:405,05160,603,99916,162,36202,301,952
11Jan 22, 2024 11:405,06382,242,17516,200,64602,310,144
12Jan 22, 2024 11:405,08369,053,08016,266,53102,293,760