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 12:49Huy Duc LeHuy Duc LeScore: 5,281Success
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 12:495,21248,024,81215,637,0001,042,0002,273,280
2Feb 22, 2024 12:495,22047,066,97515,660,0001,044,0002,293,760
3Feb 22, 2024 12:495,23849,256,58715,716,0001,047,0002,293,760
4Feb 22, 2024 12:495,27146,610,63114,883,0001,984,0002,293,760
5Feb 22, 2024 12:495,27348,087,51516,874,00002,269,184
6Feb 22, 2024 12:495,27340,462,92015,883,000992,0002,269,184
7Feb 22, 2024 12:495,28144,737,39414,912,0001,988,0002,531,328
8Feb 22, 2024 12:495,28345,386,95916,904,00002,293,760
9Feb 22, 2024 12:495,29542,757,97115,948,000996,0002,269,184
10Feb 22, 2024 12:495,411109,623,82617,316,25602,260,992
11Feb 22, 2024 12:495,44478,184,89117,419,42602,297,856
12Feb 22, 2024 12:495,46791,663,57417,495,04102,183,168