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 27, 2023 13:41Yuriy LyfenkoYuriy LyfenkoScore: 4,520Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Feb 27, 2023 13:414,496538,361,17314,387,00002,523,136
2Feb 27, 2023 13:414,497536,347,85213,362,0001,027,0002,260,992
3Feb 27, 2023 13:414,505535,648,87113,387,0001,029,0002,523,136
4Feb 27, 2023 13:414,505536,596,16714,416,00002,265,088
5Feb 27, 2023 13:414,510538,031,93114,432,00002,387,968
6Feb 27, 2023 13:414,516538,191,45613,419,0001,032,0002,523,136
7Feb 27, 2023 13:414,520535,033,63014,464,00002,387,968
8Feb 27, 2023 13:414,523535,787,84314,474,00002,506,752
9Feb 27, 2023 13:414,526536,955,84713,517,000965,0002,400,256
10Feb 27, 2023 13:414,644584,789,58914,860,65902,277,376
11Feb 27, 2023 13:414,649574,628,00014,877,43702,273,280
12Feb 27, 2023 13:414,669599,381,60214,939,36602,277,376