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 19:36Hal FHal FScore: 5,911Success
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 19:365,88945,371,07716,861,0001,983,0002,277,376
2Dec 30, 2022 19:365,89549,770,14114,892,0003,971,0002,531,328
3Dec 30, 2022 19:365,89652,263,28217,874,000993,0002,277,376
4Dec 30, 2022 19:365,89745,302,80816,883,0001,986,0002,277,376
5Dec 30, 2022 19:365,90449,770,23617,898,000994,0002,277,376
6Dec 30, 2022 19:365,90541,696,26018,895,00002,277,376
7Dec 30, 2022 19:365,91142,720,40117,864,0001,050,0002,269,184
8Dec 30, 2022 19:365,91743,184,01917,939,000996,0002,277,376
9Dec 30, 2022 19:365,93042,898,29216,980,0001,997,0002,277,376
10Dec 30, 2022 19:366,14571,758,54519,665,33502,301,952
11Dec 30, 2022 19:366,14797,046,12119,670,88302,297,856
12Dec 30, 2022 19:366,19693,254,90319,826,42502,293,760