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 29, 2021 17:13Yuriy LyfenkoYuriy LyfenkoScore: 5,091Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 29, 2021 17:135,03032,838,67314,085,0002,012,0002,281,472
2May 29, 2021 17:145,05334,311,39914,148,0002,021,0002,396,160
3May 29, 2021 17:145,05332,206,38714,150,0002,021,0002,281,472
4May 29, 2021 17:135,05338,867,40014,147,0002,021,0002,404,352
5May 29, 2021 17:145,05537,494,42015,166,0001,011,0002,281,472
6May 29, 2021 17:135,05937,310,93214,166,0002,023,0002,281,472
7May 29, 2021 17:135,06143,448,56114,172,0002,024,0002,404,352
8May 29, 2021 17:145,06234,727,07614,174,0002,024,0002,281,472
9May 29, 2021 17:145,06938,725,11715,207,0001,013,0002,281,472
10May 29, 2021 17:145,07032,872,71115,211,0001,014,0002,281,472
11May 29, 2021 17:135,07439,596,01415,222,0001,014,0002,281,472
12May 29, 2021 17:135,07539,854,42114,210,0002,030,0002,281,472
13May 29, 2021 17:135,09136,975,42515,274,0001,018,0002,281,472
14May 29, 2021 17:135,10534,269,45416,335,00002,281,472
15May 29, 2021 17:145,10933,410,93015,329,0001,021,0002,412,544
16May 29, 2021 17:135,11035,626,90716,351,00002,281,472
17May 29, 2021 17:145,11235,282,01515,337,0001,022,0002,265,088
18May 29, 2021 17:145,12348,010,88715,369,0001,024,0002,281,472
19May 29, 2021 17:145,23289,068,66716,742,66202,281,472
20May 29, 2021 17:135,23491,437,87616,747,38202,273,280
21May 29, 2021 17:135,23680,106,27116,755,89302,293,760
22May 29, 2021 17:145,24480,635,11416,779,50002,289,664
23May 29, 2021 17:145,26790,244,16716,855,27502,293,760
24May 29, 2021 17:135,27681,666,77216,883,70902,285,568