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 9, 2024 18:27matsuoka-601matsuoka-601Score: 4,777Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 9, 2024 18:284,60144,120,71813,673,0001,051,0002,285,568
2Jun 9, 2024 18:284,60544,728,18214,735,00002,285,568
3Jun 9, 2024 18:284,64140,971,08612,870,0001,980,0002,396,160
4Jun 9, 2024 18:284,64330,998,79813,869,000990,0002,285,568
5Jun 9, 2024 18:284,64830,988,04612,890,0001,983,0002,281,472
6Jun 9, 2024 18:284,64835,202,61814,875,00002,285,568
7Jun 9, 2024 18:284,64938,963,08712,894,0001,983,0002,523,136
8Jun 9, 2024 18:284,65030,386,96813,888,000992,0002,400,256
9Jun 9, 2024 18:284,65243,084,66513,895,000992,0002,285,568
10Jun 9, 2024 18:274,76332,239,87114,226,0001,016,0002,269,184
11Jun 9, 2024 18:274,76631,667,94613,217,0002,033,0002,293,760
12Jun 9, 2024 18:274,77332,588,85913,239,0002,036,0002,277,376
13Jun 9, 2024 18:274,77731,753,29713,248,0002,038,0002,293,760
14Jun 9, 2024 18:274,78931,006,71214,305,0001,021,0002,293,760
15Jun 9, 2024 18:274,79933,368,28813,309,0002,047,0002,293,760
16Jun 9, 2024 18:274,80031,210,09413,313,0002,048,0002,273,280
17Jun 9, 2024 18:274,81835,464,94613,361,0002,055,0002,293,760
18Jun 9, 2024 18:274,82243,598,53214,403,0001,028,0002,281,472
19Jun 9, 2024 18:284,895103,334,78415,662,72302,306,048
20Jun 9, 2024 18:284,91264,441,47615,718,03902,306,048
21Jun 9, 2024 18:284,91286,233,16415,718,05502,293,760
22Jun 9, 2024 18:275,04593,230,35016,142,91602,183,168
23Jun 9, 2024 18:275,05461,267,25716,174,33102,306,048
24Jun 9, 2024 18:275,08090,878,37716,255,87402,183,168