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 listJan 1, 2023 18:24Hal FHal FScore: 5,576Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 1, 2023 18:245,13133,645,26215,393,0001,026,0002,265,088
2Jan 1, 2023 18:215,14533,839,46115,436,0001,029,0002,269,184
3Jan 1, 2023 18:245,14638,086,11316,467,00002,387,968
4Jan 1, 2023 18:215,15440,188,42816,493,00002,289,664
5Jan 1, 2023 18:245,15537,920,19115,465,0001,031,0002,289,664
6Jan 1, 2023 18:215,15931,834,44516,510,00002,265,088
7Jan 1, 2023 18:215,15936,492,60715,477,0001,031,0002,273,280
8Jan 1, 2023 18:245,16145,146,44815,484,0001,032,0002,277,376
9Jan 1, 2023 18:215,16240,061,84316,518,00002,289,664
10Jan 1, 2023 18:215,16839,851,72015,506,0001,033,0002,281,472
11Jan 1, 2023 18:245,17636,411,68015,528,0001,035,0002,265,088
12Jan 1, 2023 18:245,17839,932,47615,533,0001,035,0002,289,664
13Jan 1, 2023 18:215,57646,141,51815,860,0001,982,0002,289,664
14Jan 1, 2023 18:245,68539,315,77517,183,0001,010,0002,269,184
15Jan 1, 2023 18:245,76088,102,20318,430,66202,289,664
16Jan 1, 2023 18:245,76440,823,45717,421,0001,024,0002,523,136
17Jan 1, 2023 18:215,76849,049,07617,433,0001,025,0002,269,184
18Jan 1, 2023 18:245,82094,064,46518,622,73702,301,952
19Jan 1, 2023 18:215,831108,824,07118,658,88902,306,048
20Jan 1, 2023 18:215,86376,922,24118,761,04202,297,856
21Jan 1, 2023 18:215,86991,626,08118,779,84602,252,800
22Jan 1, 2023 18:245,87783,146,50918,805,40402,301,952
23Jan 1, 2023 18:245,89346,094,37216,872,0001,984,0002,289,664
24Jan 1, 2023 18:215,93836,209,92617,001,0002,000,0002,289,664