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 8, 2024 20:47джулисджулисScore: 5,582Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 8, 2024 20:475,50242,559,50317,607,00002,363,392
2Jun 8, 2024 20:485,50838,015,23417,627,00002,379,776
3Jun 8, 2024 20:475,51335,660,83216,605,0001,037,0002,371,584
4Jun 8, 2024 20:485,52245,870,67917,669,00002,371,584
5Jun 8, 2024 20:485,52743,746,81817,685,00002,367,488
6Jun 8, 2024 20:475,52941,640,53816,652,0001,040,0002,371,584
7Jun 8, 2024 20:485,53031,780,19216,655,0001,040,0002,293,760
8Jun 8, 2024 20:475,53642,411,84017,715,00002,375,680
9Jun 8, 2024 20:485,53642,546,76117,714,00002,371,584
10Jun 8, 2024 20:485,57634,620,15316,853,000991,0002,293,760
11Jun 8, 2024 20:475,57843,975,17016,860,000991,0002,293,760
12Jun 8, 2024 20:485,58145,531,15416,867,000992,0002,375,680
13Jun 8, 2024 20:485,58245,524,54317,862,00002,293,760
14Jun 8, 2024 20:475,58343,333,05516,875,000992,0002,367,488
15Jun 8, 2024 20:475,58437,403,40215,884,0001,985,0002,293,760
16Jun 8, 2024 20:485,58545,771,54716,880,000992,0002,293,760
17Jun 8, 2024 20:475,58536,547,17915,887,0001,985,0002,293,760
18Jun 8, 2024 20:475,58850,305,81717,883,00002,375,680
19Jun 8, 2024 20:485,73383,315,07418,344,29902,240,512
20Jun 8, 2024 20:475,75786,816,13818,423,70002,244,608
21Jun 8, 2024 20:475,76766,557,69618,455,18602,248,704
22Jun 8, 2024 20:485,774110,393,07718,476,61002,371,584
23Jun 8, 2024 20:485,77457,013,40218,475,94802,244,608
24Jun 8, 2024 20:475,78793,101,21218,519,50402,240,512