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 listJun 2, 2021 19:14Yuriy LyfenkoYuriy LyfenkoScore: 5,031Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 2, 2021 19:144,991539,060,85815,971,00002,273,280
2Jun 2, 2021 19:144,993542,377,33613,982,0001,997,0002,273,280
3Jun 2, 2021 19:145,006547,089,16914,016,0002,002,0002,273,280
4Jun 2, 2021 19:145,013540,680,84215,040,0001,002,0002,273,280
5Jun 2, 2021 19:145,018540,125,77415,056,0001,003,0002,273,280
6Jun 2, 2021 19:145,020543,551,69914,056,0002,008,0002,273,280
7Jun 2, 2021 19:145,031538,559,81614,088,0002,012,0002,273,280
8Jun 2, 2021 19:145,032541,461,04315,096,0001,006,0002,281,472
9Jun 2, 2021 19:145,033542,920,65115,101,0001,006,0002,281,472
10Jun 2, 2021 19:145,136578,548,30016,433,64102,285,568
11Jun 2, 2021 19:145,158575,332,57116,506,50102,293,760
12Jun 2, 2021 19:145,166581,659,39416,531,90602,289,664