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 22, 2021 18:06Andrey TsvetkovAndrey TsvetkovScore: 6,013Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 22, 2021 18:065,98644,334,36316,132,0003,024,0002,523,136
2May 22, 2021 18:065,99085,675,69819,167,56302,224,128
3May 22, 2021 18:065,99043,135,58916,141,0003,026,0002,523,136
4May 22, 2021 18:066,00043,704,60916,170,0003,031,0002,334,720
5May 22, 2021 18:066,00584,208,32119,216,70902,228,224
6May 22, 2021 18:066,00841,509,92517,202,0002,023,0002,531,328
7May 22, 2021 18:066,01041,832,15716,196,0003,036,0002,527,232
8May 22, 2021 18:066,01345,303,96316,203,0003,038,0002,334,720
9May 22, 2021 18:066,01842,840,20116,217,0003,040,0002,334,720
10May 22, 2021 18:066,02575,884,01219,280,86602,236,416
11May 22, 2021 18:066,02539,469,10016,237,0003,044,0002,527,232
12May 22, 2021 18:066,02842,380,89517,260,0002,030,0002,519,040
13May 22, 2021 18:066,08291,250,12719,461,24402,236,416
14May 22, 2021 18:066,10686,162,74419,537,69902,228,224
15May 22, 2021 18:066,26291,122,90720,038,54202,228,224