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 3, 2021 16:07Yuriy LyfenkoYuriy LyfenkoScore: 5,091Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 3, 2021 16:075,039538,140,27915,119,0001,007,0002,281,472
2Jun 3, 2021 16:075,046538,527,48915,139,0001,009,0002,273,280
3Jun 3, 2021 16:075,063540,501,62114,177,0002,025,0002,281,472
4Jun 3, 2021 16:075,076543,324,48714,212,0002,030,0002,273,280
5Jun 3, 2021 16:075,081539,682,51815,242,0001,016,0002,281,472
6Jun 3, 2021 16:075,084539,673,05316,270,00002,273,280
7Jun 3, 2021 16:075,091543,061,26016,292,00002,281,472
8Jun 3, 2021 16:075,101543,429,80016,322,00002,281,472
9Jun 3, 2021 16:075,112539,574,76216,359,00002,519,040
10Jun 3, 2021 16:075,190585,980,39916,608,79702,252,800
11Jun 3, 2021 16:075,194579,494,75316,620,50102,285,568
12Jun 3, 2021 16:075,249587,071,22316,795,32202,256,896