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 5, 2021 01:13evgenikwtevgenikwtScore: 5,349Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 5, 2021 01:135,30050,765,18314,965,0001,995,0002,265,088
2Jun 5, 2021 01:135,31034,002,27515,994,000999,0002,383,872
3Jun 5, 2021 01:135,31639,496,36815,009,0002,001,0002,265,088
4Jun 5, 2021 01:135,33148,436,25515,052,0002,007,0002,392,064
5Jun 5, 2021 01:135,33840,238,37515,073,0002,009,0002,392,064
6Jun 5, 2021 01:135,34541,553,01115,092,0002,012,0002,527,232
7Jun 5, 2021 01:135,34937,532,64516,111,0001,006,0002,265,088
8Jun 5, 2021 01:135,35041,736,34016,113,0001,007,0002,523,136
9Jun 5, 2021 01:135,38144,863,53215,193,0002,025,0002,387,968
10Jun 5, 2021 01:135,50286,434,60717,607,85802,269,184
11Jun 5, 2021 01:135,52566,768,82217,681,14402,281,472
12Jun 5, 2021 01:135,53577,205,79417,713,29502,273,280