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 listJul 13, 2021 19:51Yuriy LyfenkoYuriy LyfenkoScore: 5,676Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 13, 2021 19:515,636544,181,74516,032,0002,004,0002,330,624
2Jul 13, 2021 19:515,653543,877,21216,079,0002,009,0002,330,624
3Jul 13, 2021 19:515,665542,812,27416,113,0002,014,0002,330,624
4Jul 13, 2021 19:515,674576,532,86418,156,31102,252,800
5Jul 13, 2021 19:515,674541,021,26415,130,0003,026,0002,334,720
6Jul 13, 2021 19:515,676540,301,51514,127,0004,036,0002,342,912
7Jul 13, 2021 19:515,676546,830,75916,146,0002,018,0002,334,720
8Jul 13, 2021 19:515,684540,636,25516,168,0002,021,0002,334,720
9Jul 13, 2021 19:515,697539,970,81016,204,0002,025,0002,334,720
10Jul 13, 2021 19:515,708596,645,64718,264,02102,228,224
11Jul 13, 2021 19:515,709537,465,35515,224,0003,044,0002,330,624
12Jul 13, 2021 19:515,827590,601,10518,647,74502,252,800