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 listJun 29, 2021 22:41Andrey TsvetkovAndrey TsvetkovScore: 5,701Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 29, 2021 22:415,66043,319,29116,099,0002,012,0002,330,624
2Jun 29, 2021 22:415,67342,079,64016,137,0002,017,0002,334,720
3Jun 29, 2021 22:415,67442,607,77716,139,0002,017,0002,326,528
4Jun 29, 2021 22:415,67950,957,53815,145,0003,029,0002,527,232
5Jun 29, 2021 22:415,69637,327,34716,201,0002,025,0002,367,488
6Jun 29, 2021 22:415,69833,986,61416,209,0002,026,0002,334,720
7Jun 29, 2021 22:415,70143,270,88215,202,0003,040,0002,334,720
8Jun 29, 2021 22:415,71541,691,63314,224,0004,064,0002,334,720
9Jun 29, 2021 22:415,72136,762,91915,255,0003,051,0002,334,720
10Jun 29, 2021 22:415,75478,216,70018,412,48102,236,416
11Jun 29, 2021 22:415,75972,698,86918,427,78702,232,320
12Jun 29, 2021 22:415,78772,842,25218,516,80002,236,416