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 listMay 21, 2021 12:30Dmitry DolgopolovDmitry DolgopolovScore: 6,018Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 21, 2021 12:305,94137,749,39816,009,0003,001,0002,293,760
2May 21, 2021 12:305,95837,197,58316,054,0003,010,0002,510,848
3May 21, 2021 12:305,95841,534,64617,059,0002,006,0002,510,848
4May 21, 2021 12:305,96043,623,19916,061,0003,011,0002,510,848
5May 21, 2021 12:305,97337,666,82916,097,0003,018,0002,506,752
6May 21, 2021 12:306,00343,229,48517,189,0002,022,0002,293,760
7May 21, 2021 12:306,01346,344,06016,205,0003,038,0002,293,760
8May 21, 2021 12:306,01847,056,04517,232,0002,027,0002,506,752
9May 21, 2021 12:306,076101,423,07519,442,41802,297,856
10May 21, 2021 12:306,10689,251,74319,537,70502,170,880
11May 21, 2021 12:306,10749,753,38218,514,0001,028,0002,912,256
12May 21, 2021 12:306,109102,120,91719,549,11102,301,952
13May 21, 2021 12:306,12799,861,45419,605,35002,297,856
14May 21, 2021 12:306,14082,965,18819,649,05202,174,976
15May 21, 2021 12:306,15485,227,46119,693,72002,301,952