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:21джулисджулисScore: 5,402Success
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:215,34943,766,34815,103,0002,013,0002,293,760
2Jun 9, 2024 21:215,35945,591,37615,133,0002,017,0002,293,760
3Jun 9, 2024 21:215,36743,588,98315,154,0002,020,0002,363,392
4Jun 9, 2024 21:215,36738,573,21316,165,0001,010,0002,293,760
5Jun 9, 2024 21:215,37244,252,22815,168,0002,022,0002,293,760
6Jun 9, 2024 21:215,37338,432,23216,183,0001,011,0002,293,760
7Jun 9, 2024 21:215,40242,737,21115,252,0002,033,0002,293,760
8Jun 9, 2024 21:215,40834,959,38415,270,0002,036,0002,293,760
9Jun 9, 2024 21:215,42435,109,25415,316,0002,042,0002,465,792
10Jun 9, 2024 21:215,59687,053,75817,907,50002,256,896
11Jun 9, 2024 21:215,60279,806,73517,927,85602,248,704
12Jun 9, 2024 21:215,64794,826,83718,071,96902,248,704