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 14, 2021 21:05alex3dalex3dScore: 4,616Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 14, 2021 21:054,5865,877,087,76813,628,0001,048,0002,514,944
2May 14, 2021 21:054,5937,577,082,00414,697,00002,514,944
3May 14, 2021 21:054,5961,628,316,40913,656,0001,050,0002,523,136
4May 14, 2021 21:054,5974,536,214,32414,710,00002,523,136
5May 14, 2021 21:054,6006,499,414,14414,719,00002,523,136
6May 14, 2021 21:054,6034,490,097,89513,679,0001,052,0002,514,944
7May 14, 2021 21:054,6039,884,077,00813,676,0001,052,0002,519,040
8May 14, 2021 21:054,6069,864,784,09714,740,00002,519,040
9May 14, 2021 21:054,610336,277,48213,699,0001,053,0002,523,136
10May 14, 2021 21:054,6107,724,161,68213,700,0001,053,0002,523,136
11May 14, 2021 21:054,6149,496,379,71313,710,0001,054,0002,514,944
12May 14, 2021 21:054,6162,568,621,23613,716,0001,055,0002,523,136
13May 14, 2021 21:054,6167,990,389,47013,715,0001,055,0002,523,136
14May 14, 2021 21:054,6245,418,178,60313,740,0001,056,0002,514,944
15May 14, 2021 21:054,6328,210,118,96213,835,000988,0002,523,136
16May 14, 2021 21:054,6334,989,923,51814,825,00002,449,408
17May 14, 2021 21:054,6383,572,013,15713,780,0001,060,0002,527,232
18May 14, 2021 21:054,6413,811,216,66313,792,0001,060,0002,519,040
19May 14, 2021 21:054,807350,388,10315,382,90402,281,472
20May 14, 2021 21:054,8103,055,477,48815,391,98402,281,472
21May 14, 2021 21:054,8237,677,024,27315,432,57802,277,376
22May 14, 2021 21:054,8251,405,111,04115,440,79202,281,472
23May 14, 2021 21:054,8433,760,260,25915,497,83502,277,376
24May 14, 2021 21:054,8538,217,879,44815,530,63102,277,376