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 listJun 3, 2021 04:17Yuriy LyfenkoYuriy LyfenkoScore: 5,068Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 3, 2021 03:554,996542,375,74813,989,0001,998,0002,281,472
2Jun 3, 2021 03:554,998535,624,45013,993,0001,999,0002,273,280
3Jun 3, 2021 03:554,999539,308,11114,997,000999,0002,273,280
4Jun 3, 2021 03:555,001544,047,23914,003,0002,000,0002,273,280
5Jun 3, 2021 03:555,016537,300,66315,047,0001,003,0002,281,472
6Jun 3, 2021 03:555,019537,075,82614,055,0002,007,0002,273,280
7Jun 3, 2021 04:175,021549,166,05115,062,0001,004,0002,273,280
8Jun 3, 2021 03:555,026537,974,78915,079,0001,005,0002,273,280
9Jun 3, 2021 04:175,031547,259,63214,087,0002,012,0002,273,280
10Jun 3, 2021 04:175,044544,669,80514,125,0002,017,0002,273,280
11Jun 3, 2021 04:175,053537,333,63314,149,0002,021,0002,281,472
12Jun 3, 2021 03:555,054537,791,55614,151,0002,021,0002,281,472
13Jun 3, 2021 04:175,068537,415,66015,205,0001,013,0002,281,472
14Jun 3, 2021 04:175,075540,140,90314,211,0002,030,0002,273,280
15Jun 3, 2021 03:555,076543,789,93115,228,0001,015,0002,281,472
16Jun 3, 2021 04:175,079540,522,30415,238,0001,015,0002,281,472
17Jun 3, 2021 04:175,086544,235,61516,276,00002,273,280
18Jun 3, 2021 04:175,093540,600,89216,296,00002,273,280
19Jun 3, 2021 03:555,159567,951,78516,510,32602,285,568
20Jun 3, 2021 03:555,167576,277,71016,533,02402,252,800
21Jun 3, 2021 04:175,185578,472,44316,592,73202,256,896
22Jun 3, 2021 04:175,191580,462,44516,610,66302,256,896
23Jun 3, 2021 03:555,199571,192,22416,635,86202,252,800
24Jun 3, 2021 04:175,218572,142,52416,699,18502,252,800