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 listFeb 22, 2024 13:18Huy Duc LeHuy Duc LeScore: 4,948Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Feb 22, 2024 13:184,87237,359,58114,550,0001,039,0002,289,664
2Feb 22, 2024 13:184,88045,856,20115,616,00002,289,664
3Feb 22, 2024 13:184,88329,485,47014,584,0001,041,0002,289,664
4Feb 22, 2024 13:184,89136,298,73314,608,0001,043,0002,289,664
5Feb 22, 2024 13:184,89943,928,91514,632,0001,045,0002,289,664
6Feb 22, 2024 13:184,91650,021,54514,749,000983,0002,289,664
7Feb 22, 2024 13:184,94832,195,05813,853,0001,979,0002,371,584
8Feb 22, 2024 13:184,95649,055,13813,877,0001,982,0002,363,392
9Feb 22, 2024 13:184,95832,130,79413,881,0001,983,0002,289,664
10Feb 22, 2024 13:185,07676,582,11216,243,60002,174,976
11Feb 22, 2024 13:185,09880,279,26216,312,35802,297,856
12Feb 22, 2024 13:185,11084,830,46316,352,60202,183,168