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 listDec 30, 2022 20:23Hal FHal FScore: 5,606Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Dec 30, 2022 20:235,57737,292,41515,864,0001,983,0002,269,184
2Dec 30, 2022 20:235,58249,966,52213,892,0003,969,0002,277,376
3Dec 30, 2022 20:235,58735,720,58014,898,0002,979,0002,277,376
4Dec 30, 2022 20:235,58940,434,56714,904,0002,980,0002,277,376
5Dec 30, 2022 20:235,59531,832,48215,916,0001,989,0002,277,376
6Dec 30, 2022 20:235,60145,222,67016,870,0001,054,0002,265,088
7Dec 30, 2022 20:235,60644,005,12714,950,0002,990,0002,523,136
8Dec 30, 2022 20:235,60833,662,22716,949,000997,0002,269,184
9Dec 30, 2022 20:235,61541,269,38415,972,0001,996,0002,277,376
10Dec 30, 2022 20:235,87193,773,92418,786,22102,297,856
11Dec 30, 2022 20:235,87686,563,37018,803,37402,293,760
12Dec 30, 2022 20:235,88485,770,17618,829,44902,174,976