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 listAug 3, 2024 21:46джулисджулисScore: 5,404Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Aug 3, 2024 21:465,35338,677,12215,116,0002,015,0002,527,232
2Aug 3, 2024 21:465,35449,921,56115,117,0002,015,0002,289,664
3Aug 3, 2024 21:465,35541,859,54015,121,0002,016,0002,531,328
4Aug 3, 2024 21:465,38343,876,36816,212,0001,013,0002,387,968
5Aug 3, 2024 21:465,38833,805,53215,212,0002,028,0002,392,064
6Aug 3, 2024 21:465,39649,353,86515,236,0002,031,0002,265,088
7Aug 3, 2024 21:465,40444,648,27615,258,0002,034,0002,289,664
8Aug 3, 2024 21:465,40946,107,10816,291,0001,018,0002,351,104
9Aug 3, 2024 21:465,41943,268,54915,302,0002,040,0002,273,280
10Aug 3, 2024 21:465,61290,665,63817,958,44502,318,336
11Aug 3, 2024 21:465,65387,080,24318,090,64102,301,952
12Aug 3, 2024 21:465,65992,192,49318,108,10202,179,072