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 listMay 15, 2023 20:53AmirAmirScore: 5,742Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 15, 2023 20:535,68643,539,30716,175,0002,021,0002,269,184
2May 15, 2023 20:535,70240,809,45416,220,0002,027,0002,269,184
3May 15, 2023 20:535,70546,787,99816,229,0002,028,0002,523,136
4May 15, 2023 20:535,71142,143,36116,245,0002,030,0002,289,664
5May 15, 2023 20:535,71242,518,05216,248,0002,031,0002,289,664
6May 15, 2023 20:535,72743,046,81017,307,0001,018,0002,289,664
7May 15, 2023 20:535,74242,018,30616,332,0002,041,0002,289,664
8May 15, 2023 20:535,76040,182,48716,385,0002,048,0002,289,664
9May 15, 2023 20:535,77038,060,76317,438,0001,025,0002,273,280
10May 15, 2023 20:535,86696,119,99818,771,21602,301,952
11May 15, 2023 20:535,86790,106,59818,774,75302,293,760
12May 15, 2023 20:535,91292,856,79918,918,52002,293,760