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 16, 2023 19:30Ulyanov AlekseyUlyanov AlekseyScore: 5,694Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 16, 2023 19:415,63834,114,52116,039,0002,004,0002,281,472
2Jun 16, 2023 19:415,65841,918,75516,094,0002,011,0002,269,184
3Jun 16, 2023 19:415,66440,301,61716,111,0002,013,0002,273,280
4Jun 16, 2023 19:415,66641,114,91916,116,0002,014,0002,289,664
5Jun 16, 2023 19:415,66946,686,14116,126,0002,015,0002,289,664
6Jun 16, 2023 19:305,67342,843,16316,137,0002,017,0002,289,664
7Jun 16, 2023 19:415,67741,560,69516,147,0002,018,0002,273,280
8Jun 16, 2023 19:305,68145,519,16316,160,0002,020,0002,289,664
9Jun 16, 2023 19:305,68141,050,71016,160,0002,020,0002,273,280
10Jun 16, 2023 19:305,68143,347,04216,160,0002,020,0002,289,664
11Jun 16, 2023 19:305,68440,457,96716,168,0002,021,0002,289,664
12Jun 16, 2023 19:305,69141,255,30416,188,0002,023,0002,289,664
13Jun 16, 2023 19:305,69441,969,14416,196,0002,024,0002,289,664
14Jun 16, 2023 19:305,69942,151,19916,211,0002,026,0002,289,664
15Jun 16, 2023 19:415,70040,936,68216,215,0002,026,0002,265,088
16Jun 16, 2023 19:305,70340,214,63016,222,0002,027,0002,273,280
17Jun 16, 2023 19:415,71746,370,74216,262,0002,032,0002,289,664
18Jun 16, 2023 19:415,72048,959,80016,271,0002,033,0002,289,664
19Jun 16, 2023 19:305,86283,638,58218,758,97302,297,856
20Jun 16, 2023 19:415,86380,203,69818,761,65002,293,760
21Jun 16, 2023 19:305,87088,010,75618,785,52102,297,856
22Jun 16, 2023 19:415,89084,996,92518,849,04802,293,760
23Jun 16, 2023 19:415,905111,292,68618,896,31602,301,952
24Jun 16, 2023 19:305,92682,160,17618,964,22502,297,856