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 15, 2024 19:41ii14ii14Score: 5,673Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 15, 2024 19:415,64843,522,49916,065,0002,008,0002,383,872
2Dec 23, 2024 23:275,65547,644,05116,085,0002,010,0002,392,064
3Dec 23, 2024 23:275,66244,755,26816,106,0002,013,0002,519,040
4Jun 15, 2024 19:415,66435,742,80416,111,0002,013,0002,383,872
5Jun 15, 2024 19:415,66443,075,99415,105,0003,021,0002,519,040
6Jun 15, 2024 19:415,66641,266,94418,130,00002,519,040
7Jun 15, 2024 19:415,66843,942,10617,131,0001,007,0002,519,040
8Jun 15, 2024 19:415,67340,848,60117,147,0001,008,0002,396,160
9Dec 23, 2024 23:275,68342,629,77016,164,0002,020,0002,519,040
10Jun 15, 2024 19:415,68445,462,16216,169,0002,021,0002,519,040
11Jun 15, 2024 19:415,69549,878,65017,213,0001,012,0002,260,992
12Jun 15, 2024 19:415,69949,762,67417,223,0001,013,0002,506,752
13Jun 15, 2024 19:415,90881,107,04018,905,19502,289,664
14Jun 15, 2024 19:415,92884,200,04118,969,58702,285,568
15Jun 15, 2024 19:415,949107,336,75519,037,83902,297,856