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 16, 2021 17:55Yuriy LyfenkoYuriy LyfenkoScore: 5,435Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 16, 2021 17:555,3854,333,991,87817,233,00002,260,992
2May 16, 2021 17:555,3924,333,207,94715,225,0002,030,0002,260,992
3May 16, 2021 17:555,3944,335,714,54117,260,00002,523,136
4May 16, 2021 17:555,3984,335,745,47914,395,0002,879,0002,519,040
5May 16, 2021 17:555,4214,339,439,72316,385,000963,0002,523,136
6May 16, 2021 17:555,4224,332,861,69016,386,000963,0002,519,040
7May 16, 2021 17:555,4304,336,285,02815,445,0001,930,0002,523,136
8May 16, 2021 17:555,4304,333,214,98215,447,0001,930,0002,269,184
9May 16, 2021 17:555,4324,334,209,11116,416,000965,0002,519,040
10May 16, 2021 17:555,4334,336,875,11115,454,0001,931,0002,269,184
11May 16, 2021 17:555,4334,331,324,97916,421,000965,0002,519,040
12May 16, 2021 17:555,4344,340,775,36415,456,0001,932,0002,523,136
13May 16, 2021 17:555,4354,331,448,39116,427,000966,0002,519,040
14May 16, 2021 17:555,4364,334,132,42914,496,0002,899,0002,523,136
15May 16, 2021 17:555,4364,334,197,27815,462,0001,932,0002,260,992
16May 16, 2021 17:555,4364,334,926,79515,463,0001,932,0002,506,752
17May 16, 2021 17:555,4454,331,438,45717,424,00002,523,136
18May 16, 2021 17:555,4504,332,230,31015,502,0001,937,0002,523,136
19May 16, 2021 17:555,6284,365,783,20818,010,19302,285,568
20May 16, 2021 17:555,6344,371,172,79518,027,99702,281,472
21May 16, 2021 17:555,6454,364,005,15518,062,99202,277,376
22May 16, 2021 17:555,6534,360,895,45218,090,12502,277,376
23May 16, 2021 17:555,6544,362,308,15918,091,43002,277,376
24May 16, 2021 17:555,6774,378,358,38418,167,97302,281,472