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 23, 2021 10:29Andrey TsvetkovAndrey TsvetkovScore: 5,732Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 23, 2021 10:295,67940,457,07015,144,0003,028,0002,523,136
2May 23, 2021 10:295,69043,465,05116,184,0002,023,0002,334,720
3May 23, 2021 10:295,69042,373,51516,186,0002,023,0002,330,624
4May 23, 2021 10:295,69547,622,90416,199,0002,024,0002,334,720
5May 23, 2021 10:295,69844,093,01916,209,0002,026,0002,334,720
6May 23, 2021 10:295,70435,254,76316,224,0002,028,0002,531,328
7May 23, 2021 10:295,72241,284,08115,258,0003,051,0002,535,424
8May 23, 2021 10:295,73236,617,52116,305,0002,038,0002,527,232
9May 23, 2021 10:295,73384,652,00818,345,43902,244,608
10May 23, 2021 10:295,74648,148,59515,324,0003,064,0002,318,336
11May 23, 2021 10:295,75985,354,71918,428,61302,248,704
12May 23, 2021 10:295,76070,150,10018,431,18602,236,416
13May 23, 2021 10:295,77983,157,76018,492,52102,228,224
14May 23, 2021 10:295,80655,050,90418,578,33002,236,416
15May 23, 2021 10:295,87583,195,20318,800,68202,236,416