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 19, 2023 17:34Ulyanov AlekseyUlyanov AlekseyScore: 5,725Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 19, 2023 17:345,67246,113,36916,133,0002,016,0002,281,472
2Jun 17, 2023 22:115,67643,202,48516,145,0002,018,0002,289,664
3Jun 19, 2023 17:345,68344,317,02816,164,0002,020,0002,289,664
4Jun 17, 2023 22:115,68746,331,01316,177,0002,022,0002,273,280
5Jun 19, 2023 17:345,69041,692,46616,186,0002,023,0002,269,184
6Jun 17, 2023 22:115,70141,280,97517,230,0001,013,0002,277,376
7Jun 19, 2023 17:345,70842,885,98216,237,0002,029,0002,289,664
8Jun 17, 2023 22:115,71034,127,16816,243,0002,030,0002,289,664
9Jun 17, 2023 22:115,71140,600,46716,246,0002,030,0002,383,872
10Jun 17, 2023 22:115,71547,119,53516,362,0001,925,0002,289,664
11Jun 19, 2023 17:345,72046,559,87916,270,0002,033,0002,269,184
12Jun 19, 2023 17:345,72541,592,50016,284,0002,035,0002,289,664
13Jun 17, 2023 22:115,72535,333,25516,285,0002,035,0002,269,184
14Jun 19, 2023 17:345,73151,612,44417,321,0001,018,0002,289,664
15Jun 17, 2023 22:115,73442,361,46416,311,0002,038,0002,269,184
16Jun 19, 2023 17:345,73550,996,74116,314,0002,039,0002,273,280
17Jun 19, 2023 17:345,74337,532,34417,358,0001,021,0002,289,664
18Jun 17, 2023 22:115,74436,131,12616,338,0002,042,0002,269,184
19Jun 17, 2023 22:115,87892,153,06618,810,29602,293,760
20Jun 19, 2023 17:345,89684,547,49218,867,09702,289,664
21Jun 19, 2023 17:345,90484,171,77318,891,87802,293,760
22Jun 17, 2023 22:115,92090,549,89818,944,55002,297,856
23Jun 17, 2023 22:115,92581,361,22818,959,29202,297,856
24Jun 19, 2023 17:345,92992,653,43118,971,55102,301,952