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 listMar 16, 2023 00:25Alexander MonakovAlexander MonakovScore: 5,184Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Mar 16, 2023 00:255,15830,189,39615,475,0001,031,0002,281,472
2Mar 16, 2023 00:255,16131,906,13815,482,0001,032,0002,449,408
3Mar 16, 2023 00:255,16230,885,04815,485,0001,032,0002,281,472
4Mar 16, 2023 00:255,16842,404,95715,505,0001,033,0002,457,600
5Mar 16, 2023 00:255,16832,192,23715,506,0001,033,0002,453,504
6Mar 16, 2023 00:255,17937,294,20315,539,0001,035,0002,281,472
7Mar 16, 2023 00:255,18439,251,14815,553,0001,036,0002,285,568
8Mar 16, 2023 00:255,18640,244,14315,559,0001,037,0002,285,568
9Mar 16, 2023 00:255,18642,939,57015,559,0001,037,0002,281,472
10Mar 16, 2023 00:255,32470,703,57117,038,01102,207,744
11Mar 16, 2023 00:255,32887,418,25317,049,37202,203,648
12Mar 16, 2023 00:255,34595,148,50217,102,81602,203,648