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 listApr 22, 2024 03:59Yuriy LyfenkoYuriy LyfenkoScore: 7,143Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 22, 2024 03:595,80772,271,37818,582,98502,277,376
2Apr 22, 2024 03:595,81485,652,04618,606,38402,293,760
3Apr 22, 2024 03:596,92149,578,45921,140,0001,006,0002,539,520
4Apr 22, 2024 03:597,08048,765,19721,628,0001,029,0002,560,000
5Apr 22, 2024 03:597,08754,116,35720,616,0002,061,0002,547,712
6Apr 22, 2024 03:597,14048,404,58619,869,0002,980,0002,547,712
7Apr 22, 2024 03:597,14351,343,78619,875,0002,981,0002,297,856
8Apr 22, 2024 03:597,14354,720,33120,870,0001,987,0002,539,520
9Apr 22, 2024 03:597,18356,371,29120,988,0001,998,0002,543,616
10Apr 22, 2024 03:597,19851,106,25320,028,0003,004,0002,461,696
11Apr 22, 2024 03:597,19855,860,17420,030,0003,004,0002,297,856
12Apr 22, 2024 03:597,44785,811,10023,829,56702,293,760