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:19Huy Duc LeHuy Duc LeScore: 4,892Success
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:194,83935,385,84214,454,0001,032,0002,289,664
2Feb 22, 2024 13:194,86144,626,09914,519,0001,037,0002,289,664
3Feb 22, 2024 13:194,86440,000,72715,566,00002,277,376
4Feb 22, 2024 13:194,86734,785,62314,535,0001,038,0002,277,376
5Feb 22, 2024 13:194,86933,575,80815,581,00002,289,664
6Feb 22, 2024 13:194,87233,092,57514,551,0001,039,0002,273,280
7Feb 22, 2024 13:194,89244,616,27014,610,0001,043,0002,289,664
8Feb 22, 2024 13:194,89741,484,47214,627,0001,044,0002,277,376
9Feb 22, 2024 13:194,89835,048,20214,630,0001,045,0002,269,184
10Feb 22, 2024 13:195,05363,838,37316,170,03502,306,048
11Feb 22, 2024 13:195,05885,278,16716,184,50102,183,168
12Feb 22, 2024 13:195,06869,948,05916,217,33102,174,976