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 listAug 10, 2023 10:07parsersmailparsersmailScore: 5,779Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Aug 10, 2023 10:075,69948,321,95417,224,0001,013,0002,293,760
2Aug 10, 2023 10:075,70539,940,60117,242,0001,014,0002,347,008
3Aug 10, 2023 10:075,72439,276,56515,264,0003,052,0002,412,544
4Aug 10, 2023 10:075,73032,637,33816,298,0002,037,0002,347,008
5Aug 10, 2023 10:075,74839,405,51917,371,0001,021,0002,347,008
6Aug 10, 2023 10:075,75975,975,70518,428,98102,248,704
7Aug 10, 2023 10:075,77935,832,78415,412,0003,082,0002,289,664
8Aug 10, 2023 10:075,79537,011,46717,514,0001,030,0002,285,568
9Aug 10, 2023 10:075,79539,078,55617,515,0001,030,0002,301,952
10Aug 10, 2023 10:075,80894,907,28518,585,48502,252,800
11Aug 10, 2023 10:075,80846,450,34218,586,00002,523,136
12Aug 10, 2023 10:075,84584,276,85218,704,44602,256,896