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 7, 2022 04:17Yuriy LyfenkoYuriy LyfenkoScore: 4,634Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Sep 7, 2022 04:164,394541,351,43112,052,0002,008,0002,260,992
2Sep 7, 2022 04:164,405539,112,43613,090,0001,006,0002,523,136
3Sep 7, 2022 04:164,409541,160,90212,094,0002,015,0002,527,232
4Sep 7, 2022 04:164,414545,531,99012,108,0002,018,0002,523,136
5Sep 7, 2022 04:164,423540,882,60112,133,0002,022,0002,396,160
6Sep 7, 2022 04:164,434542,715,15012,163,0002,027,0002,260,992
7Sep 7, 2022 04:164,442541,599,03812,183,0002,030,0002,523,136
8Sep 7, 2022 04:164,449542,131,07513,220,0001,016,0002,260,992
9Sep 7, 2022 04:164,471539,667,11812,264,0002,044,0002,265,088
10Sep 7, 2022 04:164,612576,134,94914,757,31402,277,376
11Sep 7, 2022 04:164,614571,015,87114,764,05802,244,608
12Sep 7, 2022 04:164,628578,632,55514,809,73502,277,376
13Sep 7, 2022 04:174,634543,133,14113,842,000988,0002,527,232
14Sep 7, 2022 04:174,647541,301,75113,880,000991,0002,523,136
15Sep 7, 2022 04:174,651540,146,54913,891,000992,0002,523,136
16Sep 7, 2022 04:174,653541,083,87812,903,0001,985,0002,265,088
17Sep 7, 2022 04:174,653545,852,23913,896,000992,0002,523,136
18Sep 7, 2022 04:174,665540,972,17813,934,000995,0002,514,944
19Sep 7, 2022 04:174,666543,361,75613,935,000995,0002,392,064
20Sep 7, 2022 04:174,667541,557,90012,944,0001,991,0002,260,992
21Sep 7, 2022 04:174,814572,224,30015,404,93902,277,376
22Sep 7, 2022 04:174,824583,847,78615,438,38202,269,184
23Sep 7, 2022 04:174,828542,348,66315,451,00002,523,136
24Sep 7, 2022 04:174,832592,857,46115,463,98502,277,376