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 listJan 2, 2023 23:00Hal FHal FScore: 4,892Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 2, 2023 23:004,86331,905,54915,560,00002,281,472
2Jan 2, 2023 23:004,86638,895,90315,572,00002,289,664
3Jan 2, 2023 23:004,87941,841,33415,613,00002,273,280
4Jan 2, 2023 23:004,88735,203,72714,597,0001,042,0002,269,184
5Jan 2, 2023 23:004,89141,770,40914,607,0001,043,0002,289,664
6Jan 2, 2023 23:004,89238,608,64815,653,00002,277,376
7Jan 2, 2023 23:004,89232,355,12314,611,0001,043,0002,273,280
8Jan 2, 2023 23:004,90042,333,21014,635,0001,045,0002,289,664
9Jan 2, 2023 23:005,11893,570,11216,377,31202,179,072
10Jan 2, 2023 23:005,11994,379,57316,380,11002,293,760
11Jan 2, 2023 23:005,13195,275,21316,420,22102,301,952
12Jan 2, 2023 23:005,41838,366,89816,317,0001,019,0002,289,664