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 listSep 6, 2024 09:05Joseph KuoJoseph KuoScore: 12,137Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Sep 6, 2024 09:0011,95661,796,9896,041,00032,219,0002,293,760
2Sep 6, 2024 09:0011,98561,319,3695,046,00033,305,0002,527,232
3Sep 6, 2024 09:0311,98963,009,3727,067,00031,297,0002,506,752
4Sep 6, 2024 09:0011,99159,448,6977,068,00031,303,0002,502,656
5Sep 6, 2024 09:0311,99461,195,8376,060,00032,321,0002,293,760
6Sep 6, 2024 09:0311,99765,005,5648,082,00030,309,0002,523,136
7Sep 6, 2024 09:0311,99757,822,3148,082,00030,308,0002,510,848
8Sep 6, 2024 09:0012,02267,039,8137,086,00031,383,0002,293,760
9Sep 6, 2024 09:0312,02665,978,1608,101,00030,382,0002,293,760
10Sep 6, 2024 09:0212,06159,741,6098,125,00030,471,0002,510,848
11Sep 6, 2024 09:0012,07166,346,2936,099,00032,529,0002,519,040
12Sep 6, 2024 09:0312,07665,883,5057,118,00031,525,0002,519,040
13Sep 6, 2024 09:0012,13667,252,0135,974,00032,862,0002,506,752
14Sep 6, 2024 09:0012,13761,124,5902,987,00035,851,0002,293,760
15Sep 6, 2024 09:0212,13766,361,2905,975,00032,864,0002,293,760
16Sep 6, 2024 09:0312,15072,802,3965,981,00032,898,0002,506,752
17Sep 6, 2024 09:0312,16765,316,2896,988,00031,946,0002,510,848
18Sep 6, 2024 09:0012,19064,592,0395,001,00034,007,0002,351,104
19Sep 6, 2024 09:0012,21364,147,9675,010,00034,071,0002,359,296
20Sep 6, 2024 09:0512,24162,793,4546,026,00033,146,0002,519,040
21Sep 6, 2024 09:0212,24365,520,1196,027,00033,150,0002,506,752
22Sep 6, 2024 09:0512,25461,052,5488,043,00031,170,0002,293,760
23Sep 6, 2024 09:0512,26163,661,0969,054,00030,181,0002,293,760
24Sep 6, 2024 09:0512,29668,308,3858,071,00031,275,0002,293,760
25Sep 6, 2024 09:0512,30060,715,4557,064,00032,295,0002,519,040
26Sep 6, 2024 09:0312,33763,738,9468,882,00030,596,0002,510,848
27Sep 6, 2024 09:0512,41468,186,8347,130,00032,595,0002,506,752