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:42Yuriy LyfenkoYuriy LyfenkoScore: 4,653Success
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:424,618540,991,65113,793,000985,0002,281,472
2Sep 7, 2022 04:424,621539,159,24413,803,000985,0002,281,472
3Sep 7, 2022 04:424,637540,537,85812,860,0001,978,0002,281,472
4Sep 7, 2022 04:424,642538,835,85112,875,0001,980,0002,281,472
5Sep 7, 2022 04:424,643541,877,35512,877,0001,981,0002,281,472
6Sep 7, 2022 04:424,652547,761,54513,894,000992,0002,281,472
7Sep 7, 2022 04:424,653537,982,30512,906,0001,985,0002,281,472
8Sep 7, 2022 04:424,665538,995,91113,932,000995,0002,269,184
9Sep 7, 2022 04:424,693538,543,84513,017,0002,002,0002,289,664
10Sep 7, 2022 04:424,821584,021,04715,426,19502,297,856
11Sep 7, 2022 04:424,830594,841,79015,457,20902,256,896
12Sep 7, 2022 04:424,847583,905,06115,509,76902,297,856