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 9, 2024 21:09джулисджулисScore: 5,387Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 9, 2024 21:095,35535,901,38716,128,0001,008,0002,293,760
2Jun 9, 2024 21:095,35837,861,12516,136,0001,008,0002,375,680
3Jun 9, 2024 21:095,37245,647,54315,169,0002,022,0002,375,680
4Jun 9, 2024 21:095,38243,132,34515,195,0002,026,0002,293,760
5Jun 9, 2024 21:095,38434,184,26916,215,0001,013,0002,293,760
6Jun 9, 2024 21:095,38540,055,80116,218,0001,013,0002,375,680
7Jun 9, 2024 21:095,38748,251,31515,210,0002,028,0002,293,760
8Jun 9, 2024 21:095,40940,976,49116,290,0001,018,0002,293,760
9Jun 9, 2024 21:095,41238,131,58815,281,0002,037,0002,293,760
10Jun 9, 2024 21:095,61178,935,72917,955,97102,252,800
11Jun 9, 2024 21:095,63477,575,20018,028,70102,248,704
12Jun 9, 2024 21:095,66862,605,26718,137,30102,240,512